Skip to content

Commit

Permalink
Make 2.1 based images 'latest' (#991)
Browse files Browse the repository at this point in the history
[release_2.1] Make 2.1 based container images 'latest'

We should merge PR #992 before merging this one.
Currently conflicting with the container images published from devel branch. 2.1 based images should be named with the latest tagging scheme.

Reviewed-by: Alexander Sowitzki <dev@eqrx.net>
  • Loading branch information
Shrews committed Feb 14, 2022
1 parent 021919d commit 476e636
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 10 additions & 7 deletions .zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
- github.com/ansible/ansible
tags:
# If zuul.tag is defined: [ '3', '3.19', '3.19.0' ]. Only works for 3-component tags.
# Otherwise: ['devel']
"{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['devel']) }}"
# Otherwise: ['latest']
"{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}"
docker_images: *container_images

- job:
Expand Down Expand Up @@ -78,7 +78,9 @@
repository: quay.io/ansible/ansible-runner
siblings:
- github.com/ansible/ansible
tags: ['stable-2.12-devel']
tags:
- stable-2.12-latest
- latest
docker_images: *container_images_stable_2_12

- job:
Expand Down Expand Up @@ -125,8 +127,7 @@
siblings:
- github.com/ansible/ansible
tags:
- stable-2.11-devel
- latest
- stable-2.11-latest
docker_images: *container_images_stable_2_11

- job:
Expand Down Expand Up @@ -172,7 +173,8 @@
repository: quay.io/ansible/ansible-runner
siblings:
- github.com/ansible/ansible
tags: ['stable-2.10-devel']
tags:
- stable-2.10-latest
docker_images: *container_images_stable_2_10

- job:
Expand Down Expand Up @@ -219,7 +221,8 @@
repository: quay.io/ansible/ansible-runner
siblings:
- github.com/ansible/ansible
tags: ['stable-2.9-devel']
tags:
- stable-2.9-latest
docker_images: *container_images_stable_2_9

- job:
Expand Down
4 changes: 0 additions & 4 deletions .zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
check:
jobs: &id001
- ansible-buildset-registry
- ansible-runner-build-container-image
- ansible-runner-build-container-image-stable-2.9
- ansible-runner-build-container-image-stable-2.10
- ansible-runner-build-container-image-stable-2.11
Expand All @@ -13,9 +12,6 @@
post:
jobs: &id002
- ansible-buildset-registry
- ansible-runner-upload-container-image:
vars:
upload_container_image_promote: false
- ansible-runner-upload-container-image-stable-2.9:
vars:
upload_container_image_promote: false
Expand Down

0 comments on commit 476e636

Please sign in to comment.