diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml index 490459baa..afd3c3f2b 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: buildah - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: buildah + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml index 8faa3bca5..550da1534 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: s2i-java - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-java + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml index 4426530c1..d58936d40 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: s2i-nodejs - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-nodejs + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml index 4f27ebae8..5dca94509 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml @@ -16,17 +16,21 @@ spec: yaml: | - name: build taskRef: - name: buildah - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: buildah + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: BUILDER_IMAGE - value: registry.redhat.io/rhel8/buildah - name: DOCKERFILE value: ./Dockerfile - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml index f1c22e9d3..8ec408d8c 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml @@ -14,8 +14,14 @@ spec: yaml: | - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines params: - name: ARGS value: "help" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml index 312a4e8c6..1131e255f 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml @@ -18,15 +18,21 @@ spec: yaml: | - name: build taskRef: - name: s2i-go - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-go + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml index 453785b51..ff18a3486 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml @@ -17,21 +17,21 @@ spec: yaml: | - name: build taskRef: - name: s2i-java - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-java + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" - - name: MAVEN_ARGS_APPEND - value: "" - - name: MAVEN_CLEAR_REPO - value: "false" - - name: MAVEN_MIRROR_URL - value: "" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml index 741f7107b..80aa4f9c4 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml @@ -17,8 +17,14 @@ spec: yaml: | - name: build taskRef: - name: s2i-nodejs - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-nodejs + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace @@ -27,7 +33,7 @@ spec: value: $(params.IMAGE_NAME) - name: VERSION value: "14-ubi8" - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml index c6ad2b1eb..865445297 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml @@ -17,8 +17,14 @@ spec: yaml: | - name: build taskRef: - name: s2i-python - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-python + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace @@ -27,7 +33,7 @@ spec: value: $(params.IMAGE_NAME) - name: VERSION value: "3.8-ubi8" - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml index 32f94a161..ce0e6aae0 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml @@ -26,7 +26,7 @@ spec: params: - name: kind value: task - - name: git-clone-task + - name: name value: git-clone - name: namespace value: openshift-pipelines @@ -34,13 +34,13 @@ spec: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build @@ -49,8 +49,6 @@ spec: params: - name: kind value: task - - name: build-task - value: s2i - name: namespace value: openshift-pipelines runAfter: @@ -61,7 +59,7 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-chains/0.0.0-nightly/00-chains.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-chains/0.0.0-nightly/00-chains.yaml index b2f6ddca5..f0f8f68a3 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-chains/0.0.0-nightly/00-chains.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-chains/0.0.0-nightly/00-chains.yaml @@ -63,8 +63,8 @@ metadata: app.kubernetes.io/component: controller app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-chains - pipeline.tekton.dev/release: "v20241120-edb9e4802d" - version: "v20241120-edb9e4802d" + pipeline.tekton.dev/release: "v20241121-edb9e4802d" + version: "v20241121-edb9e4802d" spec: replicas: 1 selector: @@ -84,13 +84,13 @@ spec: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-chains # # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-edb9e4802d" - version: "v20241120-edb9e4802d" + pipeline.tekton.dev/release: "v20241121-edb9e4802d" + version: "v20241121-edb9e4802d" spec: serviceAccountName: tekton-chains-controller containers: - name: tekton-chains-controller - image: ghcr.io/tektoncd/chains/controller-92006fd957c0afd31de6a40b3e33b39f:v20241120-edb9e4802d@sha256:af1bbb51a74d9ec64b05a1abaf5f337e78c7cf71b4d488389063e01957601184 + image: ghcr.io/tektoncd/chains/controller-92006fd957c0afd31de6a40b3e33b39f:v20241121-edb9e4802d@sha256:82c90cb525aa6c52bb9fd1ab051132f8d6c9c0f09baf758e1ba9aa3461690469 volumeMounts: - name: signing-secrets mountPath: /etc/signing-secrets @@ -342,7 +342,7 @@ data: # this ConfigMap such that even if we don't have access to # other resources in the namespace, we can still access # this ConfigMap. - version: "v20241120-edb9e4802d" + version: "v20241121-edb9e4802d" --- # Copyright 2023 Tekton Authors LLC diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-pipeline/0.0.0-nightly/00-pipelines.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-pipeline/0.0.0-nightly/00-pipelines.yaml index e6eb0dda9..47d387e6f 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-pipeline/0.0.0-nightly/00-pipelines.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-pipeline/0.0.0-nightly/00-pipelines.yaml @@ -584,8 +584,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -639,8 +639,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -707,8 +707,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -786,8 +786,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -999,8 +999,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -1072,8 +1072,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -1154,8 +1154,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev preserveUnknownFields: false @@ -1264,8 +1264,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" - version: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" + version: "v20241121-0d39e027f4" spec: group: tekton.dev versions: @@ -1316,7 +1316,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # The data is populated at install time. --- apiVersion: admissionregistration.k8s.io/v1 @@ -1327,7 +1327,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" webhooks: - admissionReviewVersions: ["v1"] clientConfig: @@ -1346,7 +1346,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" webhooks: - admissionReviewVersions: ["v1"] clientConfig: @@ -1365,7 +1365,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" webhooks: - admissionReviewVersions: ["v1"] clientConfig: @@ -1835,7 +1835,7 @@ data: # this ConfigMap such that even if we don't have access to # other resources in the namespace we still can have access to # this ConfigMap. - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" --- # Copyright 2020 Tekton Authors LLC @@ -2266,12 +2266,12 @@ metadata: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: replicas: 1 selector: @@ -2286,13 +2286,13 @@ spec: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-controller - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: affinity: nodeAffinity: @@ -2306,11 +2306,11 @@ spec: serviceAccountName: tekton-pipelines-controller containers: - name: tekton-pipelines-controller - image: ghcr.io/tektoncd/pipeline/controller-10a3e32792f33651396d02b6855a6e36:v20241120-0d39e027f4@sha256:1ad4634ea1fa8b289739803eb2ca499d7ffe37e1e597d0e5289f04ffe472b5a9 + image: ghcr.io/tektoncd/pipeline/controller-10a3e32792f33651396d02b6855a6e36:v20241121-0d39e027f4@sha256:e1d18d838922a2260e204817e5471db7be6d903080a6aeca37e27d1da03f5d26 args: [ # These images are built on-demand by `ko resolve` and are replaced # by image references by digest. - "-entrypoint-image", "ghcr.io/tektoncd/pipeline/entrypoint-bff0a22da108bc2f16c818c97641a296:v20241120-0d39e027f4@sha256:5ef49e32b373f41de6550d30dc8b9fc58c07777097096ecf3cafe825b743096d", "-nop-image", "ghcr.io/tektoncd/pipeline/nop-8eac7c133edad5df719dc37b36b62482:v20241120-0d39e027f4@sha256:45912b4fe444b931cbd625ab1486c34023f3ed48b8dabc3ae3185c529d8aa251", "-sidecarlogresults-image", "ghcr.io/tektoncd/pipeline/sidecarlogresults-7501c6a20d741631510a448b48ab098f:v20241120-0d39e027f4@sha256:f75c95ffdbb4601292690ad6a0c980c6c01667ce2ad3fa1c2e4d250c3fe1e8c3", "-workingdirinit-image", "ghcr.io/tektoncd/pipeline/workingdirinit-0c558922ec6a1b739e550e349f2d5fc1:v20241120-0d39e027f4@sha256:bea3a47a6f08ed974292f40974839a91818e00ad5abc80151e8be009620a47f5", + "-entrypoint-image", "ghcr.io/tektoncd/pipeline/entrypoint-bff0a22da108bc2f16c818c97641a296:v20241121-0d39e027f4@sha256:e27f2172dc80abb2dc51a6d6c189c308abc734589232425d58808d4ce199d479", "-nop-image", "ghcr.io/tektoncd/pipeline/nop-8eac7c133edad5df719dc37b36b62482:v20241121-0d39e027f4@sha256:0b499c72cc310d83761d1689468e8cb6945f2e8a7e9edfb80142f3b055e343ee", "-sidecarlogresults-image", "ghcr.io/tektoncd/pipeline/sidecarlogresults-7501c6a20d741631510a448b48ab098f:v20241121-0d39e027f4@sha256:f75c95ffdbb4601292690ad6a0c980c6c01667ce2ad3fa1c2e4d250c3fe1e8c3", "-workingdirinit-image", "ghcr.io/tektoncd/pipeline/workingdirinit-0c558922ec6a1b739e550e349f2d5fc1:v20241121-0d39e027f4@sha256:bea3a47a6f08ed974292f40974839a91818e00ad5abc80151e8be009620a47f5", # The shell image must allow root in order to create directories and copy files to PVCs. # cgr.dev/chainguard/busybox as of April 14 2022 # image shall not contains tag, so it will be supported on a runtime like cri-o @@ -2399,13 +2399,13 @@ metadata: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-controller - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" name: tekton-pipelines-controller namespace: tekton-pipelines spec: @@ -2449,12 +2449,12 @@ metadata: app.kubernetes.io/name: events app.kubernetes.io/component: events app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: replicas: 1 selector: @@ -2469,13 +2469,13 @@ spec: app.kubernetes.io/name: events app.kubernetes.io/component: events app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-events-controller - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: affinity: nodeAffinity: @@ -2489,7 +2489,7 @@ spec: serviceAccountName: tekton-events-controller containers: - name: tekton-events-controller - image: ghcr.io/tektoncd/pipeline/events-a9042f7efb0cbade2a868a1ee5ddd52c:v20241120-0d39e027f4@sha256:79040048dea435de9d64431b72aa94509fa960b82b66e43ed76979a97c9d5df5 + image: ghcr.io/tektoncd/pipeline/events-a9042f7efb0cbade2a868a1ee5ddd52c:v20241121-0d39e027f4@sha256:ef7e42531bd1312e866eb4935dd8f8b6945524c25e07c0d20beeb4a8a40ec475 args: [] volumeMounts: - name: config-logging @@ -2566,13 +2566,13 @@ metadata: app.kubernetes.io/name: events app.kubernetes.io/component: events app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-events-controller - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" name: tekton-events-controller namespace: tekton-pipelines spec: @@ -3179,12 +3179,12 @@ metadata: app.kubernetes.io/name: resolvers app.kubernetes.io/component: resolvers app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: replicas: 1 selector: @@ -3199,13 +3199,13 @@ spec: app.kubernetes.io/name: resolvers app.kubernetes.io/component: resolvers app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-resolvers - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: affinity: podAntiAffinity: @@ -3222,7 +3222,7 @@ spec: serviceAccountName: tekton-pipelines-resolvers containers: - name: controller - image: ghcr.io/tektoncd/pipeline/resolvers-ff86b24f130c42b88983d3c13993056d:v20241120-0d39e027f4@sha256:483bf00295661ca00e2fe12376f6f904c3a8865478349fc749aebf8e3ac98f5c + image: ghcr.io/tektoncd/pipeline/resolvers-ff86b24f130c42b88983d3c13993056d:v20241121-0d39e027f4@sha256:f7a59f2bd41adc110aff8689d3a6ba566739427d961e91149bc6bb1dfb7468b5 resources: requests: cpu: 100m @@ -3294,13 +3294,13 @@ metadata: app.kubernetes.io/name: resolvers app.kubernetes.io/component: resolvers app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-remote-resolvers - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" name: tekton-pipelines-remote-resolvers namespace: tekton-pipelines-resolvers spec: @@ -3344,12 +3344,12 @@ metadata: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: minReplicas: 1 maxReplicas: 5 @@ -3392,12 +3392,12 @@ metadata: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: selector: matchLabels: @@ -3411,13 +3411,13 @@ spec: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-webhook - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" spec: affinity: nodeAffinity: @@ -3444,7 +3444,7 @@ spec: - name: webhook # This is the Go import path for the binary that is containerized # and substituted here. - image: ghcr.io/tektoncd/pipeline/webhook-d4749e605405422fd87700164e31b2d1:v20241120-0d39e027f4@sha256:26b59eeaf2bd013cc84ea7a9b1cbda6d384c1d50928f355e1ccae959dda5b48f + image: ghcr.io/tektoncd/pipeline/webhook-d4749e605405422fd87700164e31b2d1:v20241121-0d39e027f4@sha256:e23eb8b316078f15b4c51f302c15e24cdac7896433481688924b304e8b8e325e # Resource request required for autoscaler to take any action for a metric resources: requests: @@ -3539,13 +3539,13 @@ metadata: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-0d39e027f4" + app.kubernetes.io/version: "v20241121-0d39e027f4" app.kubernetes.io/part-of: tekton-pipelines # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v20241120-0d39e027f4" + pipeline.tekton.dev/release: "v20241121-0d39e027f4" # labels below are related to istio and should not be used for resource lookup app: tekton-pipelines-webhook - version: "v20241120-0d39e027f4" + version: "v20241121-0d39e027f4" name: tekton-pipelines-webhook namespace: tekton-pipelines spec: diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/00-triggers.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/00-triggers.yaml index abb5c69e1..64da12dbd 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/00-triggers.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/00-triggers.yaml @@ -398,8 +398,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Cluster @@ -454,8 +454,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Cluster @@ -524,8 +524,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Namespaced @@ -630,8 +630,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Namespaced @@ -686,8 +686,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Namespaced @@ -758,8 +758,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Namespaced @@ -832,8 +832,8 @@ metadata: labels: app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" - version: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: group: triggers.tekton.dev scope: Namespaced @@ -908,7 +908,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" # The data is populated at install time. --- apiVersion: admissionregistration.k8s.io/v1 @@ -919,7 +919,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" webhooks: - admissionReviewVersions: - v1 @@ -939,7 +939,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" webhooks: - admissionReviewVersions: - v1 @@ -959,7 +959,7 @@ metadata: app.kubernetes.io/component: webhook app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" webhooks: - admissionReviewVersions: - v1 @@ -1167,7 +1167,7 @@ data: # this ConfigMap such that even if we don't have access to # other resources in the namespace we still can have access to # this ConfigMap. - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" --- # Copyright 2023 Tekton Authors LLC @@ -1412,11 +1412,11 @@ metadata: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" app: tekton-triggers-controller - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" name: tekton-triggers-controller namespace: tekton-pipelines spec: @@ -1455,10 +1455,10 @@ metadata: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers # tekton.dev/release value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" spec: replicas: 1 selector: @@ -1473,18 +1473,18 @@ spec: app.kubernetes.io/name: controller app.kubernetes.io/component: controller app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers app: tekton-triggers-controller - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" # version value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: serviceAccountName: tekton-triggers-controller containers: - name: tekton-triggers-controller - image: "ghcr.io/tektoncd/triggers/controller-f656ca31de179ab913fa76abc255c315:v20241120-c6d2a8dfae@sha256:6c90cc2c7c8c8445a4fefeb51303d8673c7f5a82a00bcbd73076705883d474ad" - args: ["-logtostderr", "-stderrthreshold", "INFO", "-el-image", "ghcr.io/tektoncd/triggers/eventlistenersink-7ad1faa98cddbcb0c24990303b220bb8:v20241120-c6d2a8dfae@sha256:293cdeea19f33f131df67c2d4fedf94636833c6821b51295edd054c22ffcd07a", "-el-port", "8080", "-el-security-context=true", "-el-read-only-root-filesystem=true", "-el-events", "disable", "-el-readtimeout", "5", "-el-writetimeout", "40", "-el-idletimeout", "120", "-el-timeouthandler", "30", "-el-httpclient-readtimeout", "30", "-el-httpclient-keep-alive", "30", "-el-httpclient-tlshandshaketimeout", "10", "-el-httpclient-responseheadertimeout", "10", "-el-httpclient-expectcontinuetimeout", "1", "-period-seconds", "10", "-failure-threshold", "3"] + image: "ghcr.io/tektoncd/triggers/controller-f656ca31de179ab913fa76abc255c315:v20241121-c6d2a8dfae@sha256:68557f21a79a29d7029838f19e21e2fc1388aa2df8b83a73d3b3768a5cf7f2ee" + args: ["-logtostderr", "-stderrthreshold", "INFO", "-el-image", "ghcr.io/tektoncd/triggers/eventlistenersink-7ad1faa98cddbcb0c24990303b220bb8:v20241121-c6d2a8dfae@sha256:014991302457730a4ccf2727cf7ab9fc4e1ccdd31a3870a809d102a1fa0870b8", "-el-port", "8080", "-el-security-context=true", "-el-read-only-root-filesystem=true", "-el-events", "disable", "-el-readtimeout", "5", "-el-writetimeout", "40", "-el-idletimeout", "120", "-el-timeouthandler", "30", "-el-httpclient-readtimeout", "30", "-el-httpclient-keep-alive", "30", "-el-httpclient-tlshandshaketimeout", "10", "-el-httpclient-responseheadertimeout", "10", "-el-httpclient-expectcontinuetimeout", "1", "-period-seconds", "10", "-failure-threshold", "3"] env: - name: SYSTEM_NAMESPACE valueFrom: @@ -1539,11 +1539,11 @@ metadata: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers app: tekton-triggers-webhook - version: "v20241120-c6d2a8dfae" - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" spec: ports: - name: https-webhook @@ -1579,10 +1579,10 @@ metadata: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers # tekton.dev/release value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" spec: replicas: 1 selector: @@ -1597,19 +1597,19 @@ spec: app.kubernetes.io/name: webhook app.kubernetes.io/component: webhook app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers app: tekton-triggers-webhook - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" # version value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: serviceAccountName: tekton-triggers-webhook containers: - name: webhook # This is the Go import path for the binary that is containerized # and substituted here. - image: "ghcr.io/tektoncd/triggers/webhook-dd1edc925ee1772a9f76e2c1bc291ef6:v20241120-c6d2a8dfae@sha256:be71a5a545d201e8b18d3963de8df888ea1f2285c54d22ca3c146eec3912cf66" + image: "ghcr.io/tektoncd/triggers/webhook-dd1edc925ee1772a9f76e2c1bc291ef6:v20241121-c6d2a8dfae@sha256:e3bdde4f1f5db77aea95d3fb705686a351c893d9ef7f3a7a84f2aed7df4cbfc7" env: - name: SYSTEM_NAMESPACE valueFrom: diff --git a/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/01-interceptors.yaml b/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/01-interceptors.yaml index f53e359d6..8466bf0a3 100644 --- a/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/01-interceptors.yaml +++ b/.konflux/olm-catalog/bundle/kodata/tekton-trigger/0.0.0-nightly/01-interceptors.yaml @@ -22,7 +22,7 @@ metadata: app.kubernetes.io/component: interceptors app.kubernetes.io/instance: default app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" # The data is populated at install time. --- @@ -49,10 +49,10 @@ metadata: app.kubernetes.io/name: core-interceptors app.kubernetes.io/component: interceptors app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers # tekton.dev/release value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" spec: replicas: 1 selector: @@ -67,17 +67,17 @@ spec: app.kubernetes.io/name: core-interceptors app.kubernetes.io/component: interceptors app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers app: tekton-triggers-core-interceptors - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" # version value replaced with inputs.params.versionTag in triggers/tekton/publish.yaml - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" spec: serviceAccountName: tekton-triggers-core-interceptors containers: - name: tekton-triggers-core-interceptors - image: "ghcr.io/tektoncd/triggers/interceptors-3176d6a3f314c3655b30bfd36e421dd5:v20241120-c6d2a8dfae@sha256:67b47adcb524e774f059ae3699a13c55ac91edb3eb277abdf9d4719f2356b123" + image: "ghcr.io/tektoncd/triggers/interceptors-3176d6a3f314c3655b30bfd36e421dd5:v20241121-c6d2a8dfae@sha256:67b47adcb524e774f059ae3699a13c55ac91edb3eb277abdf9d4719f2356b123" ports: - containerPort: 8443 args: ["-logtostderr", "-stderrthreshold", "INFO"] @@ -125,11 +125,11 @@ metadata: app.kubernetes.io/name: tekton-triggers-core-interceptors app.kubernetes.io/component: interceptors app.kubernetes.io/instance: default - app.kubernetes.io/version: "v20241120-c6d2a8dfae" + app.kubernetes.io/version: "v20241121-c6d2a8dfae" app.kubernetes.io/part-of: tekton-triggers - triggers.tekton.dev/release: "v20241120-c6d2a8dfae" + triggers.tekton.dev/release: "v20241121-c6d2a8dfae" app: tekton-triggers-core-interceptors - version: "v20241120-c6d2a8dfae" + version: "v20241121-c6d2a8dfae" name: tekton-triggers-core-interceptors namespace: tekton-pipelines spec: diff --git a/.konflux/olm-catalog/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml b/.konflux/olm-catalog/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml index b99220145..ea950e31c 100644 --- a/.konflux/olm-catalog/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml +++ b/.konflux/olm-catalog/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml @@ -1196,21 +1196,21 @@ spec: - name: CONFIG_LEADERELECTION_NAME value: tekton-operator-controller-config-leader-election - name: IMAGE_HUB_TEKTON_HUB_DB - value: registry.redhat.io/rhel8/postgresql-13@sha256:a308263f5d1071be8ac5c13fd84b40609988ca30ed56c22a8bc6769e107ce09b + value: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 - name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - value: registry.redhat.io/rhel8/buildah@sha256:5c7cd7c9a3d49e8905fc98693f6da605aeafae36bde5622dc78e12f31db3cd59 + value: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e - name: IMAGE_ADDONS_PARAM_KN_IMAGE - value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:a5a7b2be50f211d4d9d555b2a2e2302096c139ff5011d984cc386f1530007f16 + value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e - name: IMAGE_ADDONS_MVN_SETTINGS - value: registry.redhat.io/ubi8/ubi-minimal@sha256:a47c89f02b39a98290f88204ed3d162845db0a0c464b319c2596cfd1e94b444e + value: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 - name: IMAGE_ADDONS_SKOPEO_COPY - value: registry.redhat.io/rhel8/skopeo@sha256:1dcb4189c92da21ee58b3ca5433615e0208194c8412f7f1fb45fa491179aaf9b + value: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 - name: IMAGE_ADDONS_GENERATE - value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 - name: IMAGE_ADDONS_GEN_ENV_FILE - value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 - name: IMAGE_ADDONS_PARAM_MAVEN_IMAGE - value: registry.redhat.io/ubi8/openjdk-17@sha256:632e78989471859ca4ed1148b951a911f7e3b6e6516482be20967c4171612c55 + value: registry.redhat.io/ubi8/openjdk-17@sha256:e5fc9e34382da41b10d4ea566639d31707493abff9e8de81f5accfd66876409e - name: IMAGE_ADDONS_OC value: image-registry.openshift-image-registry.svc:5000/openshift/cli:latest - name: IMAGE_PIPELINES_TEKTON_PIPELINES_CONTROLLER @@ -1467,27 +1467,27 @@ spec: name: IMAGE_TRIGGERS_TEKTON_TRIGGERS_CORE_INTERCEPTORS - image: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-triggers-main/eventlistenersink@sha256:6e3a9af4a1fae7d310e1227e282b6256e6cd5586c69ce4fe3c2c50d12458b6e5 name: IMAGE_TRIGGERS_ARG__EL_IMAGE - - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:a5a7b2be50f211d4d9d555b2a2e2302096c139ff5011d984cc386f1530007f16 + - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e name: IMAGE_ADDONS_PARAM_KN_IMAGE - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:a5a7b2be50f211d4d9d555b2a2e2302096c139ff5011d984cc386f1530007f16 name: IMAGE_ADDONS_KN - - image: registry.redhat.io/rhel8/skopeo@sha256:1dcb4189c92da21ee58b3ca5433615e0208194c8412f7f1fb45fa491179aaf9b + - image: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 name: IMAGE_ADDONS_SKOPEO_COPY - image: registry.redhat.io/rhel8/skopeo@sha256:1dcb4189c92da21ee58b3ca5433615e0208194c8412f7f1fb45fa491179aaf9b name: IMAGE_ADDONS_SKOPEO_RESULTS - - image: registry.redhat.io/rhel8/buildah@sha256:5c7cd7c9a3d49e8905fc98693f6da605aeafae36bde5622dc78e12f31db3cd59 + - image: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - image: registry.redhat.io/rhel8/buildah@sha256:5c7cd7c9a3d49e8905fc98693f6da605aeafae36bde5622dc78e12f31db3cd59 name: IMAGE_ADDONS_BUILD - image: registry.redhat.io/rhel8/buildah@sha256:5c7cd7c9a3d49e8905fc98693f6da605aeafae36bde5622dc78e12f31db3cd59 name: IMAGE_ADDONS_S2I_BUILD - - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 name: IMAGE_ADDONS_GENERATE - - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 name: IMAGE_ADDONS_GEN_ENV_FILE - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 name: IMAGE_ADDONS_S2I_GENERATE - - image: registry.redhat.io/ubi8/ubi-minimal@sha256:a47c89f02b39a98290f88204ed3d162845db0a0c464b319c2596cfd1e94b444e + - image: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 name: IMAGE_ADDONS_MVN_SETTINGS - image: registry.redhat.io/ubi8/ubi-minimal@sha256:a47c89f02b39a98290f88204ed3d162845db0a0c464b319c2596cfd1e94b444e name: IMAGE_ADDONS_LOAD_SCRIPTS @@ -1507,7 +1507,7 @@ spec: name: TEKTON_OPERATOR_WEBHOOK - image: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-chains-main/controller@sha256:030fe6b1daa979479aaa9cc43b34fced7b74d9283ceb2889843a6842db898a95 name: IMAGE_CHAINS_TEKTON_CHAINS_CONTROLLER - - image: registry.redhat.io/rhel8/postgresql-13@sha256:a308263f5d1071be8ac5c13fd84b40609988ca30ed56c22a8bc6769e107ce09b + - image: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 name: IMAGE_HUB_TEKTON_HUB_DB - image: registry.redhat.io/rhel8/postgresql-13@sha256:42eed05d0f681deb8d9198bf483bbeda02016c23515f061b828aec71f0ae142f name: IMAGE_RESULTS_POSTGRES @@ -1533,7 +1533,7 @@ spec: name: IMAGE_RESULTS_API - image: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-results-main/retention-policy-agent@sha256:85d472af9437cc1553f1521ef550246cfef368132b61ef0fd01fbe96b4e6f577 name: IMAGE_RESULTS_RETENTION_POLICY_AGENT - - image: registry.redhat.io/ubi8/openjdk-17@sha256:632e78989471859ca4ed1148b951a911f7e3b6e6516482be20967c4171612c55 + - image: registry.redhat.io/ubi8/openjdk-17@sha256:e5fc9e34382da41b10d4ea566639d31707493abff9e8de81f5accfd66876409e name: IMAGE_ADDONS_PARAM_MAVEN_IMAGE - image: registry.redhat.io/ubi8/openjdk-17@sha256:632e78989471859ca4ed1148b951a911f7e3b6e6516482be20967c4171612c55 name: IMAGE_ADDONS_MAVEN_GOALS diff --git a/head b/head index c616da5dc..5723d633d 100644 --- a/head +++ b/head @@ -1 +1 @@ -e17fc07bba9259c3bd086532186058dd62e6e584 +672fab948f3c7aa5795dffcf04d65eb67c32aab2 diff --git a/upstream/Makefile b/upstream/Makefile index 9b5a25b8c..298b1d38e 100644 --- a/upstream/Makefile +++ b/upstream/Makefile @@ -90,7 +90,7 @@ clean: clean-cluster clean-bin clean-manifest; $(info $(M) clean all) @ ## Clean .PHONY: help help: - @grep -hE '^[ a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \ + @grep -hE '^[ a-zA-Z0-9/_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \ awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-17s\033[0m %s\n", $$1, $$2}' FORCE: @@ -99,7 +99,7 @@ bin/%: cmd/% FORCE $Q $(GO) build -mod=vendor $(LDFLAGS) -v -o $@ ./$< .PHONY: components/bump -components/bump: $(OPERATORTOOL) +components/bump: $(OPERATORTOOL) ## Bump the version of a component and update ClusterServiceVersion (CSV) file @go run ./cmd/tool bump ${COMPONENT} .PHONY: components/bump-bugfix diff --git a/upstream/OWNERS b/upstream/OWNERS index 1fa93ba10..4344af9ae 100644 --- a/upstream/OWNERS +++ b/upstream/OWNERS @@ -3,6 +3,7 @@ approvers: - concaf - jkandasa +- jkhelil - piyush-garg - PuneetPunamiya - savitaashture diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml index 490459baa..afd3c3f2b 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/docker_build_deploy.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: buildah - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: buildah + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml index 8faa3bca5..550da1534 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/s2i_build_deploy.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: s2i-java - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-java + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml index 4426530c1..d58936d40 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/pipelinesamples/simple_pipeline.yaml @@ -28,25 +28,37 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - name: s2i-nodejs - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-nodejs + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -55,13 +67,19 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines runAfter: - build params: diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml index 4f27ebae8..5dca94509 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/buildah-task-snippet.yaml @@ -16,17 +16,21 @@ spec: yaml: | - name: build taskRef: - name: buildah - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: buildah + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: BUILDER_IMAGE - value: registry.redhat.io/rhel8/buildah - name: DOCKERFILE value: ./Dockerfile - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml index f1c22e9d3..8ec408d8c 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/openshift-client-task-snippet.yaml @@ -14,8 +14,14 @@ spec: yaml: | - name: deploy taskRef: - name: openshift-client - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: openshift-client + - name: namespace + value: openshift-pipelines params: - name: ARGS value: "help" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml index 312a4e8c6..1131e255f 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-go-task-snippet.yaml @@ -18,15 +18,21 @@ spec: yaml: | - name: build taskRef: - name: s2i-go - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-go + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml index 453785b51..ff18a3486 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-java-task-snippet.yaml @@ -17,21 +17,21 @@ spec: yaml: | - name: build taskRef: - name: s2i-java - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-java + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" - - name: MAVEN_ARGS_APPEND - value: "" - - name: MAVEN_CLEAR_REPO - value: "false" - - name: MAVEN_MIRROR_URL - value: "" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml index 741f7107b..80aa4f9c4 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-nodejs-task-snippet.yaml @@ -17,8 +17,14 @@ spec: yaml: | - name: build taskRef: - name: s2i-nodejs - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-nodejs + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace @@ -27,7 +33,7 @@ spec: value: $(params.IMAGE_NAME) - name: VERSION value: "14-ubi8" - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml index c6ad2b1eb..865445297 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/optional/samples/tasksnippets/s2i-python-task-snippet.yaml @@ -17,8 +17,14 @@ spec: yaml: | - name: build taskRef: - name: s2i-python - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: s2i-python + - name: namespace + value: openshift-pipelines workspaces: - name: source workspace: workspace @@ -27,7 +33,7 @@ spec: value: $(params.IMAGE_NAME) - name: VERSION value: "3.8-ubi8" - - name: PATH_CONTEXT + - name: CONTEXT value: . - - name: TLSVERIFY + - name: TLS_VERIFY value: "true" diff --git a/upstream/cmd/openshift/operator/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml b/upstream/cmd/openshift/operator/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml index 32f94a161..ce0e6aae0 100644 --- a/upstream/cmd/openshift/operator/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml +++ b/upstream/cmd/openshift/operator/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml @@ -26,7 +26,7 @@ spec: params: - name: kind value: task - - name: git-clone-task + - name: name value: git-clone - name: namespace value: openshift-pipelines @@ -34,13 +34,13 @@ spec: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build @@ -49,8 +49,6 @@ spec: params: - name: kind value: task - - name: build-task - value: s2i - name: namespace value: openshift-pipelines runAfter: @@ -61,7 +59,7 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy diff --git a/upstream/config/openshift/base/operator.yaml b/upstream/config/openshift/base/operator.yaml index 722cfb998..1135c1adc 100644 --- a/upstream/config/openshift/base/operator.yaml +++ b/upstream/config/openshift/base/operator.yaml @@ -83,21 +83,21 @@ spec: - name: CONFIG_LEADERELECTION_NAME value: tekton-operator-controller-config-leader-election - name: IMAGE_HUB_TEKTON_HUB_DB - value: registry.redhat.io/rhel8/postgresql-13@sha256:a92a579f1aef66ac188d24fd489c456a1a3e311d95dcce652da6b81e28fbf725 + value: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 - name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - value: registry.redhat.io/rhel8/buildah@sha256:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + value: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e - name: IMAGE_ADDONS_PARAM_KN_IMAGE - value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:bf6cf2e87fb19f7aa9a490b83c16af69834c0721220a643710a1b077959e91ca + value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e - name: IMAGE_ADDONS_MVN_SETTINGS - value: registry.redhat.io/ubi8/ubi-minimal@sha256:87bcbfedfd70e67aab3875fff103bade460aeff510033ebb36b7efa009ab6639 + value: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 - name: IMAGE_ADDONS_SKOPEO_COPY - value: registry.redhat.io/rhel8/skopeo@sha256:4b8d3eeb55e243f7a8ecd375292bdb8f65a6dfc5b02addfdfec5d0aec70877f6 + value: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 - name: IMAGE_ADDONS_GENERATE - value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 - name: IMAGE_ADDONS_GEN_ENV_FILE - value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 - name: IMAGE_ADDONS_PARAM_MAVEN_IMAGE - value: registry.redhat.io/ubi8/openjdk-17@sha256:e8cc2e476282b75d89c73057bfa713db22d72bdb2808d62d981a84c33beb2575 + value: registry.redhat.io/ubi8/openjdk-17@sha256:e5fc9e34382da41b10d4ea566639d31707493abff9e8de81f5accfd66876409e - name: IMAGE_ADDONS_OC value: image-registry.openshift-image-registry.svc:5000/openshift/cli:latest - name: openshift-pipelines-operator-cluster-operations # tektoninstallerset reconciler diff --git a/upstream/operatorhub/openshift/config.yaml b/upstream/operatorhub/openshift/config.yaml index c235f1697..099e82bc8 100644 --- a/upstream/operatorhub/openshift/config.yaml +++ b/upstream/operatorhub/openshift/config.yaml @@ -114,7 +114,7 @@ image-substitutions: containerName: openshift-pipelines-operator-lifecycle envKeys: - IMAGE_TRIGGERS_ARG__EL_IMAGE -- image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:a5a7b2be50f211d4d9d555b2a2e2302096c139ff5011d984cc386f1530007f16 +- image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -122,7 +122,7 @@ image-substitutions: envKeys: - IMAGE_ADDONS_PARAM_KN_IMAGE - IMAGE_ADDONS_KN -- image: registry.redhat.io/rhel8/skopeo@sha256:1dcb4189c92da21ee58b3ca5433615e0208194c8412f7f1fb45fa491179aaf9b +- image: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -130,7 +130,7 @@ image-substitutions: envKeys: - IMAGE_ADDONS_SKOPEO_COPY - IMAGE_ADDONS_SKOPEO_RESULTS -- image: registry.redhat.io/rhel8/buildah@sha256:5c7cd7c9a3d49e8905fc98693f6da605aeafae36bde5622dc78e12f31db3cd59 +- image: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -139,7 +139,7 @@ image-substitutions: - IMAGE_ADDONS_PARAM_BUILDER_IMAGE - IMAGE_ADDONS_BUILD - IMAGE_ADDONS_S2I_BUILD -- image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 +- image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -148,7 +148,7 @@ image-substitutions: - IMAGE_ADDONS_GENERATE - IMAGE_ADDONS_GEN_ENV_FILE - IMAGE_ADDONS_S2I_GENERATE -- image: registry.redhat.io/ubi8/ubi-minimal@sha256:a47c89f02b39a98290f88204ed3d162845db0a0c464b319c2596cfd1e94b444e +- image: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -186,7 +186,7 @@ image-substitutions: containerName: openshift-pipelines-operator-lifecycle envKeys: - IMAGE_CHAINS_TEKTON_CHAINS_CONTROLLER -- image: registry.redhat.io/rhel8/postgresql-13@sha256:a308263f5d1071be8ac5c13fd84b40609988ca30ed56c22a8bc6769e107ce09b +- image: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator @@ -253,7 +253,7 @@ image-substitutions: containerName: openshift-pipelines-operator-lifecycle envKeys: - IMAGE_RESULTS_RETENTION_POLICY_AGENT -- image: registry.redhat.io/ubi8/openjdk-17@sha256:632e78989471859ca4ed1148b951a911f7e3b6e6516482be20967c4171612c55 +- image: registry.redhat.io/ubi8/openjdk-17@sha256:e5fc9e34382da41b10d4ea566639d31707493abff9e8de81f5accfd66876409e replaceLocations: envTargets: - deploymentName: openshift-pipelines-operator diff --git a/upstream/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml b/upstream/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml index 6b9c83e5f..22f83a319 100644 --- a/upstream/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml +++ b/upstream/operatorhub/openshift/release-artifacts/bundle/manifests/openshift-pipelines-operator-rh.clusterserviceversion.yaml @@ -850,17 +850,17 @@ spec: - name: CONFIG_OBSERVABILITY_NAME value: tekton-config-observability - name: IMAGE_HUB_TEKTON_HUB_DB - value: registry.redhat.io/rhel8/postgresql-13@sha256:a92a579f1aef66ac188d24fd489c456a1a3e311d95dcce652da6b81e28fbf725 + value: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 - name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - value: registry.redhat.io/rhel8/buildah@sha256:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + value: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e - name: IMAGE_ADDONS_PARAM_KN_IMAGE - value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:bf6cf2e87fb19f7aa9a490b83c16af69834c0721220a643710a1b077959e91ca + value: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e - name: IMAGE_ADDONS_MVN_SETTINGS - value: registry.redhat.io/ubi8/ubi-minimal@sha256:87bcbfedfd70e67aab3875fff103bade460aeff510033ebb36b7efa009ab6639 + value: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 - name: IMAGE_ADDONS_SKOPEO_COPY - value: registry.redhat.io/rhel8/skopeo@sha256:4b8d3eeb55e243f7a8ecd375292bdb8f65a6dfc5b02addfdfec5d0aec70877f6 + value: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 - name: IMAGE_ADDONS_GENERATE - value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + value: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 - name: IMAGE_PIPELINES_TEKTON_PIPELINES_CONTROLLER value: registry.redhat.io/openshift-pipelines/pipelines-controller-rhel8@ - name: IMAGE_PIPELINES_WEBHOOK @@ -974,15 +974,15 @@ spec: provider: name: Red Hat relatedImages: - - image: registry.redhat.io/rhel8/buildah@sha256:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + - image: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:bf6cf2e87fb19f7aa9a490b83c16af69834c0721220a643710a1b077959e91ca + - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e name: IMAGE_ADDONS_PARAM_KN_IMAGE - - image: registry.redhat.io/rhel8/skopeo@sha256:4b8d3eeb55e243f7a8ecd375292bdb8f65a6dfc5b02addfdfec5d0aec70877f6 + - image: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 name: IMAGE_ADDONS_SKOPEO_COPY - - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 name: IMAGE_ADDONS_GENERATE - - image: registry.redhat.io/ubi8/ubi-minimal@sha256:87bcbfedfd70e67aab3875fff103bade460aeff510033ebb36b7efa009ab6639 + - image: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 name: IMAGE_ADDONS_MVN_SETTINGS - image: registry.redhat.io/openshift-pipelines/pipelines-rhel8-operator@ name: OPENSHIFT_PIPELINES_OPERATOR @@ -1012,15 +1012,15 @@ spec: name: IMAGE_TRIGGERS_TEKTON_TRIGGERS_CORE_INTERCEPTORS - image: registry.redhat.io/openshift-pipelines/pipelines-triggers-eventlistenersink-rhel8@ name: IMAGE_TRIGGERS_ARG__EL_IMAGE - - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:bf6cf2e87fb19f7aa9a490b83c16af69834c0721220a643710a1b077959e91ca + - image: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:37109f6de75dda750496f6668164d0dceaf9db5278e8c034708436f39de3276e name: IMAGE_ADDONS_PARAM_KN_IMAGE - - image: registry.redhat.io/rhel8/skopeo@sha256:4b8d3eeb55e243f7a8ecd375292bdb8f65a6dfc5b02addfdfec5d0aec70877f6 + - image: registry.redhat.io/rhel8/skopeo@sha256:7fd65200b4847fc84fba0466519b87f915e28c0e9bc90d3022beecfebffd4af8 name: IMAGE_ADDONS_SKOPEO_COPY - - image: registry.redhat.io/rhel8/buildah@sha256:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + - image: registry.redhat.io/rhel8/buildah@sha256:6d2dcb651ba680cf4ec74331f8349dec43d071d420625a1703370acc8d984e9e name: IMAGE_ADDONS_PARAM_BUILDER_IMAGE - - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:6a6025914296a62fdf2092c3a40011bd9b966a6806b094d51eec5e1bd5026ef4 + - image: registry.redhat.io/source-to-image/source-to-image-rhel8@sha256:3696cf724ce7865626ae408d82fd87727c741e4d3eb3475c271ec6d56f0882a4 name: IMAGE_ADDONS_GENERATE - - image: registry.redhat.io/ubi8/ubi-minimal@sha256:87bcbfedfd70e67aab3875fff103bade460aeff510033ebb36b7efa009ab6639 + - image: registry.redhat.io/ubi8/ubi-minimal@sha256:c12e67af6a7e15113d76bc72f10bef2045c026c71ec8b7124c8a075458188a83 name: IMAGE_ADDONS_MVN_SETTINGS - image: registry.redhat.io/openshift-pipelines/pipelines-cli-tkn-rhel8@ name: IMAGE_JOB_PRUNER_TKN @@ -1032,7 +1032,7 @@ spec: name: TEKTON_OPERATOR_WEBHOOK - image: registry.redhat.io/openshift-pipelines/pipelines-chains-controller-rhel8@ name: IMAGE_CHAINS_TEKTON_CHAINS_CONTROLLER - - image: registry.redhat.io/rhel8/postgresql-13@sha256:a92a579f1aef66ac188d24fd489c456a1a3e311d95dcce652da6b81e28fbf725 + - image: registry.redhat.io/rhel8/postgresql-13@sha256:757d8dd6f243717d820846da7144a49913f28f223b74ec305b2215f54720f8a0 name: IMAGE_HUB_TEKTON_HUB_DB - image: registry.redhat.io/openshift-pipelines/pipelines-hub-db-migration-rhel8@ name: IMAGE_HUB_TEKTON_HUB_DB_MIGRATION diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go index c3f2c68f6..ebf1d86ae 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go @@ -124,7 +124,7 @@ func (p *pipeline) generate(pipeline unstructured.Unstructured, usingPipelineRes } func openshiftDeployTask(deployTask map[string]interface{}) map[string]interface{} { - deployTask["taskRef"] = map[string]interface{}{"name": "openshift-client", "kind": "ClusterTask"} + deployTask["taskRef"] = getTaskRef("openshift-client") deployTask["runAfter"] = []interface{}{"build"} deployTask["params"] = []interface{}{ map[string]interface{}{"name": "SCRIPT", "value": "oc rollout status dc/$(params.APP_NAME)"}, @@ -133,7 +133,7 @@ func openshiftDeployTask(deployTask map[string]interface{}) map[string]interface } func kubernetesDeployTask(deployTask map[string]interface{}) map[string]interface{} { - deployTask["taskRef"] = map[string]interface{}{"name": "openshift-client", "kind": "ClusterTask"} + deployTask["taskRef"] = getTaskRef("openshift-client") deployTask["runAfter"] = []interface{}{"build"} deployTask["params"] = []interface{}{ map[string]interface{}{"name": "SCRIPT", "value": "oc rollout status deploy/$(params.APP_NAME)"}, @@ -143,7 +143,7 @@ func kubernetesDeployTask(deployTask map[string]interface{}) map[string]interfac func knativeDeployTask(deployTask map[string]interface{}) map[string]interface{} { deployTask["name"] = "kn-service-apply" - deployTask["taskRef"] = map[string]interface{}{"name": "kn", "kind": "ClusterTask"} + deployTask["taskRef"] = getTaskRef("kn") deployTask["runAfter"] = []interface{}{"build"} deployTask["params"] = []interface{}{ map[string]interface{}{"name": "ARGS", "value": []interface{}{"service", "apply", "$(params.APP_NAME)", "--image=$(params.IMAGE_NAME)"}}, @@ -155,14 +155,13 @@ func generateBasePipeline(template mf.Manifest, taskGenerators []taskGenerator, var pipelines []unstructured.Unstructured for name, spec := range Runtimes { - contextParamName := "PATH_CONTEXT" + contextParamName := "CONTEXT" newTempRes := unstructured.Unstructured{} template.Resources()[0].DeepCopyInto(&newTempRes) labels := map[string]string{} annotations := map[string]string{} if name == "buildah" { labels[LabelPipelineStrategy] = "docker" - contextParamName = "CONTEXT" } else { labels[LabelPipelineRuntime] = spec.Runtime } @@ -185,7 +184,7 @@ func generateBasePipeline(template mf.Manifest, taskGenerators []taskGenerator, var index = 1 taskBuild := tasks.([]interface{})[index].(map[string]interface{}) - taskBuild["taskRef"] = map[string]interface{}{"name": taskName, "kind": "ClusterTask"} + taskBuild["taskRef"] = getTaskRef(taskName) taskParams, found, err := unstructured.NestedFieldNoCopy(taskBuild, "params") if !found || err != nil { return nil, err @@ -217,3 +216,13 @@ func generateBasePipeline(template mf.Manifest, taskGenerators []taskGenerator, } return pipelines, nil } + +func getTaskRef(taskName string) map[string]interface{} { + return map[string]interface{}{"params": []interface{}{ + map[string]interface{}{"name": "kind", "value": "task"}, + map[string]interface{}{"name": "name", "value": taskName}, + map[string]interface{}{"name": "namespace", "value": "openshift-pipelines"}, + }, + "resolver": "cluster", + } +} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-deployment.golden index 1481570d0..9368d5b71 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"kubernetes"},"name":"buildah-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"buildah"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"kubernetes"},"name":"buildah-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"buildah"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-knative.golden index 2ba9bb89e..f4e1412df 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"knative"},"name":"buildah-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"buildah"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"knative"},"name":"buildah-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"buildah"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah.golden index 433563b46..64f3a12ac 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/buildah.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"openshift"},"name":"buildah","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"buildah"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/strategy":"docker","pipeline.openshift.io/type":"openshift"},"name":"buildah","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"buildah"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/pipeline_using_workspace.yaml b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/pipeline_using_workspace.yaml index f2b919391..24bae35c4 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/pipeline_using_workspace.yaml +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/pipeline_using_workspace.yaml @@ -22,24 +22,35 @@ spec: tasks: - name: fetch-repository taskRef: - name: git-clone - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: name + value: git-clone + - name: namespace + value: openshift-pipelines workspaces: - name: output workspace: workspace params: - - name: url + - name: URL value: $(params.GIT_REPO) - - name: revision + - name: REVISION value: $(params.GIT_REVISION) - - name: subdirectory + - name: SUBDIRECTORY value: "" - - name: deleteExisting + - name: DELETE_EXISTING value: "true" - name: build taskRef: - kind: ClusterTask + resolver: cluster + params: + - name: kind + value: task + - name: namespace + value: openshift-pipelines runAfter: - fetch-repository workspaces: @@ -48,7 +59,7 @@ spec: params: - name: IMAGE value: $(params.IMAGE_NAME) - - name: TLSVERIFY + - name: TLS_VERIFY value: "false" - name: deploy diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-deployment.golden index 13b78a2f2..7eb6cee84 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-dotnet-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-dotnet"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-dotnet-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-dotnet"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-knative.golden index 3001e3dd0..a3bcbb217 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"knative"},"name":"s2i-dotnet-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-dotnet"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"knative"},"name":"s2i-dotnet-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-dotnet"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet.golden index aa842ed70..f633805b4 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-dotnet.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"openshift"},"name":"s2i-dotnet","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-dotnet"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"dotnet","pipeline.openshift.io/type":"openshift"},"name":"s2i-dotnet","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.1-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-dotnet"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-deployment.golden index 33eef5c9e..0e8641cea 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-go-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-go"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-go-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-go"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-knative.golden index baeeca49a..152620197 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"knative"},"name":"s2i-go-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-go"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"knative"},"name":"s2i-go-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-go"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go.golden index 7f514d52a..4514c5f83 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-go.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"openshift"},"name":"s2i-go","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-go"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"golang","pipeline.openshift.io/type":"openshift"},"name":"s2i-go","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"1.14.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-go"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-deployment.golden index 7c9301563..6613f894a 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-java-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-java"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-java-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-java"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-knative.golden index 1adbcb6b2..b46eb06a0 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"knative"},"name":"s2i-java-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-java"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"knative"},"name":"s2i-java-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-java"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java.golden index d3fd1ba51..cabadeb28 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-java.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"openshift"},"name":"s2i-java","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-java"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"java","pipeline.openshift.io/type":"openshift"},"name":"s2i-java","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"openjdk-11-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-java"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-deployment.golden index 85b01fc32..d14abc636 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-nodejs-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-nodejs"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-nodejs-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-nodejs"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-knative.golden index 4835df57d..575007b81 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"knative"},"name":"s2i-nodejs-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-nodejs"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"knative"},"name":"s2i-nodejs-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-nodejs"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs.golden index 865f4fa62..878296598 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-nodejs.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"openshift"},"name":"s2i-nodejs","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-nodejs"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"nodejs","pipeline.openshift.io/type":"openshift"},"name":"s2i-nodejs","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"14-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-nodejs"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-deployment.golden index 2945c3e5d..bfc748bb2 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-perl-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-perl"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-perl-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-perl"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-knative.golden index fa17b862f..296ebf4ef 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"knative"},"name":"s2i-perl-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-perl"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"knative"},"name":"s2i-perl-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-perl"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl.golden index ee303d6e3..965268956 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-perl.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"openshift"},"name":"s2i-perl","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-perl"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"perl","pipeline.openshift.io/type":"openshift"},"name":"s2i-perl","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"5.30-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-perl"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-deployment.golden index 8bf70b1c2..ad0019488 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-php-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-php"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-php-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-php"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-knative.golden index 19d4b8271..4ef5c9927 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"knative"},"name":"s2i-php-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-php"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"knative"},"name":"s2i-php-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-php"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php.golden index 012e8ef9f..40698c7ad 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-php.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"openshift"},"name":"s2i-php","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-php"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"php","pipeline.openshift.io/type":"openshift"},"name":"s2i-php","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"7.4-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-php"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-deployment.golden index ad196a525..6f2d0541d 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-python-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-python"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-python-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-python"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-knative.golden index 5bd90b840..568d8cd21 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"knative"},"name":"s2i-python-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-python"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"knative"},"name":"s2i-python-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-python"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python.golden index d8d435f26..367d9f079 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-python.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"openshift"},"name":"s2i-python","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-python"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"python","pipeline.openshift.io/type":"openshift"},"name":"s2i-python","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"3.8-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-python"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-deployment.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-deployment.golden index da4263198..4afc579de 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-deployment.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-deployment.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-ruby-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-ruby"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"kubernetes"},"name":"s2i-ruby-deployment","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-ruby"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status deploy/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-knative.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-knative.golden index d15227dc9..f324f31d0 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-knative.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby-knative.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"knative"},"name":"s2i-ruby-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-ruby"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"kn"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"knative"},"name":"s2i-ruby-knative","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-ruby"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"kn-service-apply","params":[{"name":"ARGS","value":["service","apply","$(params.APP_NAME)","--image=$(params.IMAGE_NAME)"]}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"kn"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}} diff --git a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby.golden b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby.golden index 15c1506be..10a824ffa 100644 --- a/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby.golden +++ b/upstream/pkg/reconciler/openshift/tektonaddon/pipelinetemplates/testdata/s2i-ruby.golden @@ -1 +1 @@ -{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"openshift"},"name":"s2i-ruby","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"url","value":"$(params.GIT_REPO)"},{"name":"revision","value":"$(params.GIT_REVISION)"},{"name":"subdirectory","value":""},{"name":"deleteExisting","value":"true"}],"taskRef":{"kind":"ClusterTask","name":"git-clone"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLSVERIFY","value":"false"},{"name":"PATH_CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"kind":"ClusterTask","name":"s2i-ruby"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"kind":"ClusterTask","name":"openshift-client"}}],"workspaces":[{"name":"workspace"}]}} +{"apiVersion":"tekton.dev/v1","kind":"Pipeline","metadata":{"annotations":{"operator.tekton.dev/preserve-namespace":"true"},"labels":{"pipeline.openshift.io/runtime":"ruby","pipeline.openshift.io/type":"openshift"},"name":"s2i-ruby","namespace":"openshift"},"spec":{"params":[{"name":"APP_NAME","type":"string"},{"name":"GIT_REPO","type":"string"},{"name":"GIT_REVISION","type":"string"},{"name":"IMAGE_NAME","type":"string"},{"default":".","name":"PATH_CONTEXT","type":"string"},{"default":"2.7-ubi8","name":"VERSION","type":"string"}],"tasks":[{"name":"fetch-repository","params":[{"name":"URL","value":"$(params.GIT_REPO)"},{"name":"REVISION","value":"$(params.GIT_REVISION)"},{"name":"SUBDIRECTORY","value":""},{"name":"DELETE_EXISTING","value":"true"}],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"git-clone"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"output","workspace":"workspace"}]},{"name":"build","params":[{"name":"IMAGE","value":"$(params.IMAGE_NAME)"},{"name":"TLS_VERIFY","value":"false"},{"name":"CONTEXT","value":"$(params.PATH_CONTEXT)"},{"name":"VERSION","value":"$(params.VERSION)"}],"runAfter":["fetch-repository"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"s2i-ruby"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"},"workspaces":[{"name":"source","workspace":"workspace"}]},{"name":"deploy","params":[{"name":"SCRIPT","value":"oc rollout status dc/$(params.APP_NAME)"}],"runAfter":["build"],"taskRef":{"params":[{"name":"kind","value":"task"},{"name":"name","value":"openshift-client"},{"name":"namespace","value":"openshift-pipelines"}],"resolver":"cluster"}}],"workspaces":[{"name":"workspace"}]}}