Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Yikun
Copy link
Member

@Yikun Yikun commented Jun 10, 2019

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.

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.
@Yikun
Copy link
Member Author

Yikun commented Jun 10, 2019

recheck

@Yikun
Copy link
Member Author

Yikun commented Jun 10, 2019

You can see the job is running in openlab [1]:
image

Once the job is completed, the OpenLab robot will give a comment in here to tell us the results and job log link.

[1] http://status.openlabtesting.org/status

@srdo
Copy link

srdo commented Jun 10, 2019

@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:
By log files I'm referring to the test logs in target/surefire-reports in each module.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 10, 2019

Build succeeded.

@srdo
Copy link

srdo commented Jun 10, 2019

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.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 11, 2019

Build failed.

@Yikun
Copy link
Member Author

Yikun commented Jun 11, 2019

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.

^ 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:

image

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

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.

The default timeout is 10800 sec (3 hours),we can adjust it for each job in job defination.

@Yikun Yikun changed the title Add OpenLab CI configuration for ARM64 build [Demo][DNM] Add OpenLab CI configuration for ARM64 build Jun 11, 2019
@theopenlab theopenlab deleted a comment from theopenlab-ci bot Jun 11, 2019
@theopenlab theopenlab deleted a comment from theopenlab-ci bot Jun 11, 2019
@theopenlab theopenlab deleted a comment from theopenlab-ci bot Jun 11, 2019
@Yikun Yikun closed this Jun 11, 2019
@Yikun Yikun reopened this Jun 11, 2019
@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 11, 2019

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 12, 2019

Build failed.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 12, 2019

Build succeeded.

@theopenlab-ci
Copy link
Member

recheck

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 20, 2019

Build succeeded.


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
Copy link
Member Author

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
@theopenlab-ci
Copy link

theopenlab-ci bot commented Jul 11, 2019

Build succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants