aboutsummaryrefslogtreecommitdiff
path: root/tcwg-update-snapshots_ref.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-05-17 17:52:24 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-05-17 16:53:55 +0000
commitaaa96842a7ed4b6a935ff805bcffcaea38466ab6 (patch)
tree8a2adadc94413130fc3fa9a215feef14bc9fe667 /tcwg-update-snapshots_ref.yaml
parent34b0c6c02be28ba3e4af244df984681af2f951fb (diff)
downloadconfigs-aaa96842a7ed4b6a935ff805bcffcaea38466ab6.tar.gz
tcwg-update-snapshots_ref: Distribute Foundation Model to the builders.
Change-Id: I284b242d9990773c07ad6bbe5162f28c64f904df
Diffstat (limited to 'tcwg-update-snapshots_ref.yaml')
-rw-r--r--tcwg-update-snapshots_ref.yaml19
1 files changed, 14 insertions, 5 deletions
diff --git a/tcwg-update-snapshots_ref.yaml b/tcwg-update-snapshots_ref.yaml
index 07b986890..22b9c664f 100644
--- a/tcwg-update-snapshots_ref.yaml
+++ b/tcwg-update-snapshots_ref.yaml
@@ -64,19 +64,28 @@
set -x
if $regenerate; then
- opts=""
+ regenerate_opt=""
else
- opts="-r"
+ regenerate_opt="-r"
fi
case "$label" in
tcwg-x86_64-ex40build-01)
- machines="$(for i in 1 2 4 6 7 8 9; do echo tcwg-ex40-0$i; done) r1-a7.aus-colo r1-a12.aus-colo"
+ master_machine=tcwg-ex40-01
+ machines="$(for i in 2 4 6 7 8 9; do echo tcwg-ex40-0$i; done) r1-a7.aus-colo r1-a12.aus-colo"
;;
tcwg-x86_64-dev-01)
- machines="dev-01.tcwglab dev-02.tcwglab $(for i in `seq 1 6`; do echo build-0$i.tcwglab; done) apm-01.tcwglab apm-02.tcwglab test-armv8-01.tcwglab test-armv8-02.tcwglab"
+ master_machine=dev-01.tcwglab
+ machines="dev-02.tcwglab $(for i in `seq 1 6`; do echo build-0$i.tcwglab; done) apm-01.tcwglab apm-02.tcwglab test-armv8-01.tcwglab test-armv8-02.tcwglab"
;;
*) echo "ERROR: Unknown host: $label"; exit 1 ;;
esac
- ./scripts/update-snapshots-ref.sh -v $opts $machines
+ ./scripts/update-snapshots-ref.sh -v $regenerate_opt $master_machine
+ if $regenerate; then
+ # Distribute Foundation Model to the builders so that containers
+ # running there can access Foundation Model via a bind-mount for
+ # bare-metal testing.
+ tar xzf $HOME/FM000-KT-00035-r9p5-41rel0.tgz -C $HOME/snapshots-ref-new
+ fi
+ ./scripts/update-snapshots-ref.sh -v $machines