diff --git a/charts/tekton-demo/templates/tasks/conditions.yaml b/charts/tekton-demo/templates/tasks/conditions.yaml index 140fb64c..549b961e 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 0e90f853..98fd3180 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 b4445144..bc56d335 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f script: | #!/bin/sh @@ -235,7 +235,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 8c73c0da..ae33a3e2 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 360983cd..dce80f92 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f script: | #!/bin/sh @@ -214,7 +214,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 2beb1604..ffd4b41b 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f 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 6d6bd79c..04aca73b 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:5690a3e95f381102a9cbcf13c39c538c7d55c7ba9d4a494e2d22542b703601c7 + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:7ea824531b593b2ec0da05557d5cd2565c3525c51c9007f85e9510b27f38b13f resources: {} script: | #!/bin/bash