Merge lp:~ricardokirkner/ols-jenkaas/remove-image-after-rollout into lp:~ols-jenkaas-admins/ols-jenkaas/trunk

Proposed by Ricardo Kirkner
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: 580
Merged at revision: 582
Proposed branch: lp:~ricardokirkner/ols-jenkaas/remove-image-after-rollout
Merge into: lp:~ols-jenkaas-admins/ols-jenkaas/trunk
Diff against target: 19 lines (+1/-1)
1 file modified
jobs/project-docker.yaml (+1/-1)
To merge this branch: bzr merge lp:~ricardokirkner/ols-jenkaas/remove-image-after-rollout
Reviewer Review Type Date Requested Status
Guillermo Gonzalez Approve
Review via email: mp+343209@code.launchpad.net

Commit message

clean docker image after rollout is done

Keep the docker image in the slave until the rollout is completed.
This is because the tooling inspects the docker image to extract the revision in order to tag the deployment accordingly.

To post a comment you must log in.
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/project-docker.yaml'
2--- jobs/project-docker.yaml 2018-04-13 12:34:22 +0000
3+++ jobs/project-docker.yaml 2018-04-13 14:35:03 +0000
4@@ -104,7 +104,6 @@
5 builders:
6 - shell: annotate-output ~/jenkaas/project/run-in-host {vcs} {trunk} "{docker-setup}" "{docker-push}" {workdir}
7 - shell: echo "IMAGE_TAG=$(cd work && eval echo ${{IMAGE_TAG}})" > build-params.prop
8- - shell: annotate-output ~/jenkaas/project/run-in-host {vcs} {trunk} "/bin/true" "{docker-clean}" {workdir}
9 publishers:
10 - trigger-parameterized-builds:
11 - project:
12@@ -127,6 +126,7 @@
13 builders:
14 - wipe-workspace
15 - shell: annotate-output ~/jenkaas/project/run-in-host {vcs} {trunk} "export PATH=$PATH:/snap/bin; {rollout-setup-command}" "{rollout-command}" {workdir}
16+ - shell: annotate-output ~/jenkaas/project/run-in-host {vcs} {trunk} "/bin/true" "{docker-clean}" {workdir}
17 publishers:
18 - ircbot:
19 strategy: all

Subscribers

People subscribed via source and target branches