Skip to content

Commit 089a2eb

Browse files
authored
chore(updatecli): add missing target and relax match pattern in JENKINS_VERSION manifest (#2201)
* fixup: also update short tag in golden files * add missing `updateWarShaInDockerfiles` target * add `skip-changelog` label as this bump is equivalent to a noop with regard to the content of the image
1 parent bf0340c commit 089a2eb

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

updatecli/updatecli.d/jenkins-version.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,22 @@ targets:
6464
files:
6565
- tests/golden/expected_tags.txt
6666
- tests/golden/expected_tags_latest_weekly.txt
67-
matchpattern: :(\d+\.\d+)-
68-
replacepattern: :{{ source "latestVersion" }}-
67+
matchpattern: :(\d+\.\d+)
68+
replacepattern: :{{ source "latestVersion" }}
69+
updateWarShaInDockerfiles:
70+
name: Update default value of WAR_SHA in Dockerfiles
71+
kind: dockerfile
72+
scmid: default
73+
sourceid: latestWarSha
74+
spec:
75+
files:
76+
- alpine/hotspot/Dockerfile
77+
- debian/Dockerfile
78+
- rhel/Dockerfile
79+
- windows/windowsservercore/hotspot/Dockerfile
80+
instruction:
81+
keyword: ARG
82+
matcher: WAR_SHA
6983
updateWarShaInDockerBake:
7084
name: Update default value of WAR_SHA in docker-bake.hcl
7185
kind: hcl
@@ -84,3 +98,4 @@ actions:
8498
labels:
8599
- dependencies
86100
- jenkins-version
101+
- skip-changelog

0 commit comments

Comments
 (0)