File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ spec:
1919 value : |
2020 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/development/kustomization.yaml
2121 # just pin the watcher image, which is the second image ref
22- yq -e -i '.images[1]. newTag = " bae7851ff584423503af324200f52cd28ca99116" ' components/pipeline-service/development/kustomization.yaml
22+ sed -i -E '/name: quay.io\/redhat-appstudio\/tekton-results-watcher/{n;s/ newTag: {{ revision }}/newTag: bae7851ff584423503af324200f52cd28ca99116/} ' components/pipeline-service/development/kustomization.yaml
2323 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/staging/base/kustomization.yaml
2424 # just pin the watcher image, which is the second image ref
25- yq -e -i '.images[1]. newTag = " bae7851ff584423503af324200f52cd28ca99116"' components/pipeline-service/staging/base/kustomization.yaml
25+ sed -i -E '/name: quay.io\/redhat-appstudio\/tekton-results-watcher/{n;s/ newTag: {{ revision }}/newTag: bae7851ff584423503af324200f52cd28ca99116/}' components/pipeline-service/staging/base/kustomization.yaml
2626 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/monitoring/grafana/base/dashboards/pipeline-service/kustomization.yaml
2727 - name : slack-webhook-notification-team
2828 value : pipeline
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ spec:
1717 value : |
1818 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/development/kustomization.yaml
1919 # just pin the watcher image, which is the second image ref
20- yq -e -i '.images[1]. newTag = " bae7851ff584423503af324200f52cd28ca99116" ' components/pipeline-service/development/kustomization.yaml
20+ sed -i -E '/name: quay.io\/redhat-appstudio\/tekton-results-watcher/{n;s/ newTag: {{ revision }}/newTag: bae7851ff584423503af324200f52cd28ca99116/} ' components/pipeline-service/development/kustomization.yaml
2121 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/staging/base/kustomization.yaml
2222 # just pin the watcher image, which is the second image ref
23- yq -e -i '.images[1]. newTag = " bae7851ff584423503af324200f52cd28ca99116"' components/pipeline-service/staging/base/kustomization.yaml
23+ sed -i -E '/name: quay.io\/redhat-appstudio\/tekton-results-watcher/{n;s/ newTag: {{ revision }}/newTag: bae7851ff584423503af324200f52cd28ca99116/}' components/pipeline-service/staging/base/kustomization.yaml
2424 sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/monitoring/grafana/base/dashboards/pipeline-service/kustomization.yaml
2525 oc kustomize components/pipeline-service/staging/stone-stg-m01/resources/ > components/pipeline-service/staging/stone-stg-m01/deploy.yaml
2626 oc kustomize components/pipeline-service/staging/stone-stg-rh01/resources/ > components/pipeline-service/staging/stone-stg-rh01/deploy.yaml
You can’t perform that action at this time.
0 commit comments