diff --git a/charts/tekton-demo/templates/tasks/conditions.yaml b/charts/tekton-demo/templates/tasks/conditions.yaml index 7605eab9..0f76acec 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 da145abd..b5d4b2e9 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 0283fbc7..3944ff1c 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 script: | #!/bin/sh @@ -235,7 +235,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 0bed1ae2..aa45d5c5 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 c087dd02..4162cf3c 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 script: | #!/bin/sh @@ -214,7 +214,7 @@ spec: fi - name: app-triggers - image: registry.redhat.io/openshift4/ose-cli:latest@sha256:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 a3d01ff6..97b3bfda 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 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 2dc7a934..98af9418 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:a11b4f3350bf21e6bc5eca20b7ffcdb0a21479ebcf2ce74eef18e63577ba2e1c + image: registry.redhat.io/openshift4/ose-cli:latest@sha256:0bc2df86424b032cd77984edd8e481a1e1875a231fe99fd2fc8cd6d0f8e31485 resources: {} script: | #!/bin/bash