diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-05-28 11:31:21 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-05-28 13:51:21 +0000 |
commit | 0189a5d92115b6463b744d245bd0581505a8d312 (patch) | |
tree | 175c6a5823529d24468d6e2a032c8d82224a1cc2 /fai | |
parent | 21cd863c2deb23bc5cb1aac4aff63573caa56ebb (diff) |
fai-test: add GERRIT_CHANGE parameter
This is to easily allow testing a specific Gerrit change request on
the upstream repo.
Change-Id: Id138360a29a3155c2b19772c6cac553f27189930
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'fai')
-rw-r--r-- | fai/builders.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fai/builders.sh b/fai/builders.sh index c56a1879..e620a3c1 100644 --- a/fai/builders.sh +++ b/fai/builders.sh @@ -35,6 +35,10 @@ cd fai git log -1 +if [ -n "${GERRIT_CHANGE}" ]; then + git pull https://review.linaro.org/ci/fai ${GERRIT_CHANGE} +fi + sudo fai-diskimage -v --cspace $(pwd) \ --hostname linaro \ -S ${ROOTFS_SIZE} \ |