-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Demo][DNM] Add OpenLab CI configuration for ARM64 build #2
base: master
Are you sure you want to change the base?
Conversation
This patch adds the CI configuration to enable the support for arm build in OpenLab. After this, each pull request in theopenlab/storm will trigger the storm-arm64-build job which verified the arm build on ARM cluster.
recheck |
@Yikun Looks great. What happens if the build fails on OpenLab? Is there some way to access the files from the build, or publish log files on error? I'm asking because this has been an annoyance on Travis, where if the build fails we don't publish the log files, so it's hard to tell exactly what broke. Edit: |
Build succeeded.
|
Also is there any cap on how long builds are allowed to run on OpenLab? We split the Travis build into modules to ensure that we don't hit the one hour cap on builds there. |
Build failed.
|
^ I add a commit to let the job down. : ) we will see what the failed job looks like. The openlab will collect all log files of build script. But for the project test logs, we provide the mechnism to archive the logs and testresult. A typical directory structure looks like: The logs is somewhere to collect the key log files($LOGS_PATH), and the test_results($RESULTS_PATH) is somewhere to collect the meta or some other archive files. So, if the storm need to collect specific file we could put it into $LOGS_PATH or $RESULTS_PATH
The default timeout is 10800 sec (3 hours),we can adjust it for each job in job defination. |
Build failed.
|
Build failed.
|
Build succeeded.
|
recheck |
Build succeeded.
|
.zuul/playbooks/storm-build/run.yaml
Outdated
|
||
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash && source ~/.bashrc | ||
rvm use 2.4.2 --install | ||
nvm install 8.9.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
Improve nodejs installation
Build succeeded.
|
This patch adds the CI configuration to enable the support for arm
build in OpenLab.
After this, each pull request in theopenlab/storm will trigger the
storm-arm64-build job which verified the arm build on ARM cluster.