Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Increase timeout of libvirt build to 120"
[ci-management.git]
/
jjb
/
iec
/
iec-compass-build.sh
diff --git
a/jjb/iec/iec-compass-build.sh
b/jjb/iec/iec-compass-build.sh
index
e604dfc
..
de560a6
100755
(executable)
--- a/
jjb/iec/iec-compass-build.sh
+++ b/
jjb/iec/iec-compass-build.sh
@@
-22,6
+22,12
@@
check_env(){
fi
}
fi
}
+checkout_arm64(){
+ VERSION="dcc6d07"
+ git checkout ${VERSION}
+ sed -i 's:opnfv/:cyb70289/:' build/build-aarch64.yaml
+}
+
check_env
echo "begin build compass"
check_env
echo "begin build compass"
@@
-29,6
+35,11
@@
git clone https://github.com/opnfv/compass4nfv.git
cd compass4nfv
cd compass4nfv
+if [ "$(uname -m)" = 'aarch64' ]; then
+ echo "Checkout compass4nfv to Arm64 version"
+ checkout_arm64
+fi
+
COMPASS_WORK_DIR=$WORKSPACE/../compass-work
mkdir -p $COMPASS_WORK_DIR
COMPASS_WORK_DIR=$WORKSPACE/../compass-work
mkdir -p $COMPASS_WORK_DIR