diff --git a/updatecli/updatecli.d/pod-templates/helmfile.yaml b/updatecli/updatecli.d/pod-templates/helmfile.yaml deleted file mode 100644 index 79d027c57..000000000 --- a/updatecli/updatecli.d/pod-templates/helmfile.yaml +++ /dev/null @@ -1,62 +0,0 @@ -name: Bump jenkins-infra helmfile docker image - -scms: - default: - kind: github - spec: - user: "{{ .github.user }}" - email: "{{ .github.email }}" - owner: "{{ .github.owner }}" - repository: "{{ .github.repository }}" - token: "{{ requiredEnv .github.token }}" - username: "{{ .github.username }}" - branch: "{{ .github.branch }}" - -sources: - lastRelease: - name: Get latest jenkinsciinfra/helmfile docker image version - kind: githubrelease - spec: - owner: "jenkins-infra" - repository: "docker-helmfile" - token: "{{ requiredEnv .github.token }}" - username: "{{ .github.username }}" - -conditions: - checkDockerImage: - name: Ensure that the image "jenkinsciinfra/helmfile:" is published - kind: dockerimage - sourceid: lastRelease - spec: - image: "jenkinsciinfra/helmfile" - ## tag come from the input source - architecture: amd64 - checkPodTemplate: - name: "Is container 'helmfile' correctly defined in PodTemplates.yaml" - kind: yaml - disablesourceinput: true - spec: - file: "PodTemplates.yaml" - key: $.spec.containers[0].name - value: jnlp - -targets: - updatePodImage: - name: "Update helmfile container's image in PodTemplates.yaml" - kind: yaml - transformers: - - addprefix: "jenkinsciinfra/helmfile:" - spec: - file: "PodTemplates.yaml" - key: spec.containers[0].image - scmid: default - -actions: - default: - kind: github/pullrequest - scmid: default - title: Bump jenkins-infra helmfile docker image to {{ source `lastRelease` }} - spec: - labels: - - dependencies - - docker-helmfile