diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-09-02 11:51:03 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-09-02 11:51:03 +0200 |
commit | cf79c1d74788536b8f7c74d2b159283022ce8c8a (patch) | |
tree | 1d9449f020eddb0ccace3247832e8bad63622658 /leg-kolla/build.sh | |
parent | 863acac0df179849805b325b20e153c8c3e976dc (diff) |
leg-kolla: we cleanup on failure in this job
Change-Id: Ifc27bf2851b9249c2893da7b1cc9208ace48e7b1
Diffstat (limited to 'leg-kolla/build.sh')
-rw-r--r-- | leg-kolla/build.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/leg-kolla/build.sh b/leg-kolla/build.sh index 3bf5660931..8748cc71b5 100644 --- a/leg-kolla/build.sh +++ b/leg-kolla/build.sh @@ -71,7 +71,7 @@ if [ -n ${kolla_ldc} ]; then fi # Apply extra patches to the kolla source code that haven't -# been merged into the stable/queens branch. +# been merged into the branch. if [[ ! -z ${kolla_ldc} && ! -z ${kolla_ldc_extras} ]]; then echo ${kolla_ldc_extras} | sed -n 1'p' | tr ',' '\n' | while read patch; do curl "https://review.opendev.org/gitweb?p=openstack/kolla.git;a=patch;h=${patch}" | git apply -v --directory=kolla/ @@ -87,9 +87,6 @@ pip install -r requirements.txt mkdir -p ${WORKSPACE}/kolla/logs/debian-source -# if job fails then remove-images job will be triggered to do cleanup -echo "kolla_tag=${kolla_tag}" >${WORKSPACE}/remove.parameters - kolla_namespace=linaro ./tools/build.py --base debian \ --format none \ @@ -110,6 +107,3 @@ cat list-of-images wc -l list-of-images echo "kolla_tag=${kolla_tag}" >${WORKSPACE}/push.parameters - -# job succedded so do not remove images yet (push will do it) -rm ${WORKSPACE}/remove.parameters |