Skip to content

Commit

Permalink
Merge pull request #315 from dduportal/chore/updatecli/0.38.0
Browse files Browse the repository at this point in the history
chore(updatecli) cleanup manifests for v0.38.0
  • Loading branch information
dduportal authored Nov 25, 2022
2 parents 0254fae + 3d16ea0 commit 902df23
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions updatecli/updatecli.d/docker-packaging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
title: "Bump jenkinsciinfra/packaging Docker image version"
name: Bump `jenkinsciinfra/packaging` Docker image version

scms:
default:
Expand All @@ -15,21 +14,23 @@ scms:

sources:
lastVersion:
kind: githubRelease
kind: githubrelease
name: Get the last jenkinsciinfra/packaging Docker image version
spec:
owner: "jenkins-infra"
repository: "docker-packaging"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
versionFilter:
versionfilter:
kind: semver
transformers:
- trimprefix: 'v'

conditions:
testDockerImagePublished:
name: "Does the Docker image jenkinsciinfra/packaging with the last discovered tag is published?"
kind: dockerImage
sourceID: lastVersion
kind: dockerimage
sourceid: lastVersion
spec:
image: "jenkinsciinfra/packaging"
## tag come from the input source
Expand All @@ -46,32 +47,31 @@ conditions:
targets:
updateJNLPContainerForPackagingPod:
name: "Update the image of the jnlp container of the pod template manifest for package job"
sourceID: lastVersion
sourceid: lastVersion
transformers:
- addPrefix: "jenkinsciinfra/packaging:"
- addprefix: "jenkinsciinfra/packaging:"
kind: yaml
spec:
file: PodTemplates.d/package-linux.yaml
key: spec.containers[0].image
scmID: default
scmid: default
updateJNLPContainerForReleasePod:
name: "Update the image of the jnlp container of the pod template manifest for release job"
sourceID: lastVersion
sourceid: lastVersion
transformers:
- addPrefix: "jenkinsciinfra/packaging:"
- addprefix: "jenkinsciinfra/packaging:"
kind: yaml
spec:
file: PodTemplates.d/release-linux.yaml
key: spec.containers[0].image
scmID: default
scmid: default

pullrequests:
default:
kind: github
scmID: default
targets:
- updateJNLPContainerForPackagingPod
- updateJNLPContainerForReleasePod
scmid: default
title: Bump `jenkinsciinfra/packaging` Docker image version to {{ source "lastVersion" }}
spec:
labels:
- dependencies
- jenkinsciinfra/packaging

0 comments on commit 902df23

Please sign in to comment.