forked from apache/storm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OpenLab CI configuration for ARM64 build
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.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- project: | ||
name: theopenlab/storm | ||
check: | ||
jobs: | ||
- storm-build-arm64 | ||
|
||
- job: | ||
name: storm-build-arm64 | ||
parent: init-test | ||
description: | | ||
The storm build in openlab cluster. | ||
run: .zuul/playbooks/storm-build/run.yaml | ||
nodeset: ubuntu-xenial-arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
- hosts: all | ||
become: yes | ||
tasks: | ||
- name: Build storm | ||
shell: | ||
cmd: | | ||
wget https://www.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz | ||
tar -xzf apache-maven-3.5.4-bin.tar.gz | ||
export PATH=$PWD/apache-maven-3.5.4/bin:$PATH | ||
command curl -sSL https://rvm.io/mpapis.asc | sudo gpg --import - | ||
command curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg --import - | ||
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled && source ~/.profile | ||
source /etc/profile.d/rvm.sh | ||
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 | ||
pip install mock | ||
pip3 install mock | ||
mvn clean install -DskipTests | ||
chdir: '{{ zuul.project.src_dir }}' | ||
executable: /bin/bash | ||
environment: '{{ global_env }}' |