From 26adf7b418895b2e9991d3a4f46ab5141bcd64e8 Mon Sep 17 00:00:00 2001 From: Emil Natan Date: Tue, 13 Feb 2024 18:04:38 +0200 Subject: [PATCH] Fix kustomize command `oc kustomize` does not have `build` command. --- .tekton/open-infra-deployment-pr.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.tekton/open-infra-deployment-pr.yaml b/.tekton/open-infra-deployment-pr.yaml index a49cefaa0..900b5c156 100644 --- a/.tekton/open-infra-deployment-pr.yaml +++ b/.tekton/open-infra-deployment-pr.yaml @@ -18,9 +18,9 @@ spec: sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/development/kustomization.yaml sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/pipeline-service/staging/base/kustomization.yaml sed -i -E 's/[0-9a-f]{40}/{{ revision }}/g' components/monitoring/grafana/base/dashboards/pipeline-service/kustomization.yaml - oc kustomize build components/pipeline-service/staging/stone-stg-m01/resources/ > components/pipeline-service/staging/stone-stg-m01/deploy.yaml - oc kustomize build components/pipeline-service/staging/stone-stg-rh01/resources/ > components/pipeline-service/staging/stone-stg-rh01/deploy.yaml - oc kustomize build components/pipeline-service/staging/stone-stage-p01/resources/ > components/pipeline-service/staging/stone-stage-p01/deploy.yaml + oc kustomize components/pipeline-service/staging/stone-stg-m01/resources/ > components/pipeline-service/staging/stone-stg-m01/deploy.yaml + oc kustomize components/pipeline-service/staging/stone-stg-rh01/resources/ > components/pipeline-service/staging/stone-stg-rh01/deploy.yaml + oc kustomize components/pipeline-service/staging/stone-stage-p01/resources/ > components/pipeline-service/staging/stone-stage-p01/deploy.yaml - name: slack-webhook-notification-team value: pipeline pipelineSpec: