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:
19
19
value : |
20
20
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/development/kustomization.yaml
21
21
# 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
23
23
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/staging/base/kustomization.yaml
24
24
# 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
26
26
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/monitoring/grafana/base/dashboards/pipeline-service/kustomization.yaml
27
27
- name : slack-webhook-notification-team
28
28
value : pipeline
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ spec:
17
17
value : |
18
18
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/development/kustomization.yaml
19
19
# 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
21
21
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/staging/base/kustomization.yaml
22
22
# 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
24
24
sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/monitoring/grafana/base/dashboards/pipeline-service/kustomization.yaml
25
25
oc kustomize components/pipeline-service/staging/stone-stg-m01/resources/ > components/pipeline-service/staging/stone-stg-m01/deploy.yaml
26
26
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