diff --git a/charts/tekton-demo/Chart.yaml b/charts/tekton-demo/Chart.yaml index 328c1fff..00dcee6a 100644 --- a/charts/tekton-demo/Chart.yaml +++ b/charts/tekton-demo/Chart.yaml @@ -4,7 +4,7 @@ description: This is an example of a pipeline developed in Tekton, the peaceful It contains the main steps of a continuous software delivery process. It enforces a strict semantic version validation strategy, managing tag increments for you. Develop, Features, releases, patches and hotfixes flows are supported. -version: 0.0.7 +version: 0.0.8 appVersion: latest home: https://github.com/redhat-cop/helm-charts keywords: diff --git a/charts/tekton-demo/templates/tasks/conditions.yaml b/charts/tekton-demo/templates/tasks/conditions.yaml index 191fb7b5..eeec9a6e 100644 --- a/charts/tekton-demo/templates/tasks/conditions.yaml +++ b/charts/tekton-demo/templates/tasks/conditions.yaml @@ -8,7 +8,7 @@ spec: params: - name: revision-type check: - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(params.revision-type)" == "feature" ] || [ "$(params.revision-type)" == "develop" ]; then @@ -26,7 +26,7 @@ spec: params: - name: revision-type check: - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(params.revision-type)" == "release" ] || [ "$(params.revision-type)" == "hotfix" ] || [ "$(params.revision-type)" == "patch" ]; then diff --git a/charts/tekton-demo/templates/tasks/task-apply.yaml b/charts/tekton-demo/templates/tasks/task-apply.yaml index eb242946..a209aeaa 100644 --- a/charts/tekton-demo/templates/tasks/task-apply.yaml +++ b/charts/tekton-demo/templates/tasks/task-apply.yaml @@ -9,7 +9,7 @@ spec: - name: shared steps: - name: helm-apply - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 resources: {} workingDir: /workspace/source/{{ .Values.pipeline.build.s2i.context }} script: | diff --git a/charts/tekton-demo/templates/tasks/task-deploy.yaml b/charts/tekton-demo/templates/tasks/task-deploy.yaml index cb1d782c..33673a33 100644 --- a/charts/tekton-demo/templates/tasks/task-deploy.yaml +++ b/charts/tekton-demo/templates/tasks/task-deploy.yaml @@ -25,7 +25,7 @@ spec: type: string steps: - name: app-create - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "feature" ] || [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -51,7 +51,7 @@ spec: fi - name: app-docs - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -72,7 +72,7 @@ spec: fi - name: app-expose - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "feature" ] || [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -130,7 +130,7 @@ spec: fi - name: app-labels - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "feature" ] || [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -151,7 +151,7 @@ spec: fi - name: app-envs - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh replace=$(inputs.params.revision-name) @@ -180,7 +180,7 @@ spec: fi - name: app-probes - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "feature" ] || [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -203,7 +203,7 @@ spec: fi - name: app-autoscale - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh @@ -235,7 +235,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "feature" ] || [ "$(inputs.params.revision-type)" == "develop" ]; then diff --git a/charts/tekton-demo/templates/tasks/task-git-clone.yaml b/charts/tekton-demo/templates/tasks/task-git-clone.yaml index 5ffaca40..07a185b1 100644 --- a/charts/tekton-demo/templates/tasks/task-git-clone.yaml +++ b/charts/tekton-demo/templates/tasks/task-git-clone.yaml @@ -155,7 +155,7 @@ spec: echo -n "$(params.url)" > $(results.url.path) - name: variables - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 resources: {} script: | #!/bin/sh diff --git a/charts/tekton-demo/templates/tasks/task-promote.yaml b/charts/tekton-demo/templates/tasks/task-promote.yaml index 840995a8..03a5e272 100644 --- a/charts/tekton-demo/templates/tasks/task-promote.yaml +++ b/charts/tekton-demo/templates/tasks/task-promote.yaml @@ -88,7 +88,7 @@ spec: runAsUser: 0 - name: release-image - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh replace=$(inputs.params.revision-name) @@ -105,7 +105,7 @@ spec: fi - name: app-expose - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh replace=$(inputs.params.revision-name) @@ -138,7 +138,7 @@ spec: fi - name: app-labels - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh replace=$(inputs.params.revision-name) @@ -153,7 +153,7 @@ spec: oc label deployment/$appname --overwrite app.revision-author=$(inputs.params.author) -n $environment - name: app-envs - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh replace=$(inputs.params.revision-name) @@ -168,7 +168,7 @@ spec: oc set env deployment/$appname --overwrite revision-type=$(inputs.params.revision-type) -n $environment - name: app-secrets - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 command: ["/bin/bash", "-c"] args: - |- @@ -179,7 +179,7 @@ spec: # oc set env deployment/$appname --from secret/input -n {{ .Values.application.environments.production }} - name: app-probes - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 command: ["/bin/bash", "-c"] args: - |- @@ -190,7 +190,7 @@ spec: oc set probe deployment/$appname --readiness --get-url=http://:8080/ --initial-delay-seconds=30 -n {{ .Values.application.environments.production }} - name: app-autoscale - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 script: | #!/bin/sh @@ -214,7 +214,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 command: ["/bin/bash", "-c"] args: - |- diff --git a/charts/tekton-demo/templates/tasks/task-status.yaml b/charts/tekton-demo/templates/tasks/task-status.yaml index 759eb0b5..1db81bd3 100644 --- a/charts/tekton-demo/templates/tasks/task-status.yaml +++ b/charts/tekton-demo/templates/tasks/task-status.yaml @@ -45,7 +45,7 @@ spec: description: Contains the author username steps: - name: variables - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 resources: {} workingDir: $(workspaces.source.path) script: | diff --git a/charts/tekton-demo/templates/tasks/task-test-performance.yaml b/charts/tekton-demo/templates/tasks/task-test-performance.yaml index 73553829..97031660 100644 --- a/charts/tekton-demo/templates/tasks/task-test-performance.yaml +++ b/charts/tekton-demo/templates/tasks/task-test-performance.yaml @@ -21,7 +21,7 @@ spec: description: revision name steps: - name: test-performance - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:043684fba1eb9153939ef0cdae5131ff6af839a98f59ee5a119414418c4821ee + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:64486442cbfd66a37f52d1d33d879c7bd2fd37f916ccacab711605937c164ea7 resources: {} script: | #!/bin/bash