Skip to content

Commit 3f61812

Browse files
authored
Tag latest readiness and versionhook when building on master (#57)
# Summary Readiness probe and version hook images are not tagged with "latest" when built on master. It fills the gap after merging repositories. All other images are built with latest allowing to use "latest" tag for most auxiliary images when testing locally. ## Proof of Work If green, then the change is safe. Then we will verify it on master as it's difficult to recreate master merge conditions in patch build. ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [x] Have you checked for release_note changes?
1 parent d767861 commit 3f61812

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

inventories/readiness_probe.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ images:
6060
tags: ["release"]
6161
output:
6262
- dockerfile: $(inputs.params.s3_bucket)/$(inputs.params.version)/ubi/Dockerfile
63+
64+
- name: master-latest
65+
task_type: tag_image
66+
tags: [ "master" ]
67+
source:
68+
registry: $(inputs.params.registry)/mongodb-kubernetes-readinessprobe
69+
tag: $(inputs.params.version_id)
70+
destination:
71+
- registry: $(inputs.params.registry)/mongodb-kubernetes-readinessprobe
72+
tag: latest

inventories/upgrade_hook.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ images:
6060
tags: ["release"]
6161
output:
6262
- dockerfile: $(inputs.params.s3_bucket)/$(inputs.params.version)/ubi/Dockerfile
63+
64+
- name: master-latest
65+
task_type: tag_image
66+
tags: [ "master" ]
67+
source:
68+
registry: $(inputs.params.registry)/mongodb-kubernetes-operator-version-upgrade-post-start-hook
69+
tag: $(inputs.params.version_id)
70+
destination:
71+
- registry: $(inputs.params.registry)/mongodb-kubernetes-operator-version-upgrade-post-start-hook
72+
tag: latest

0 commit comments

Comments
 (0)