From 95118f16779c9f34fca6d201370ca4999a1d7610 Mon Sep 17 00:00:00 2001 From: serverless-qe Date: Fri, 6 Dec 2024 14:11:57 +0000 Subject: [PATCH] [release-v1.16] Sync Konflux configurations --- .../tests/ec-test.yaml | 2 +- .../tests/override-snapshot-ec-test.yaml | 23 +++++++++ .tekton/docker-build.yaml | 50 +++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100755 .konflux/applications/serverless-operator-136/tests/override-snapshot-ec-test.yaml diff --git a/.konflux/applications/serverless-operator-136/tests/ec-test.yaml b/.konflux/applications/serverless-operator-136/tests/ec-test.yaml index 57202cc24977..5b29ed6f46b5 100755 --- a/.konflux/applications/serverless-operator-136/tests/ec-test.yaml +++ b/.konflux/applications/serverless-operator-136/tests/ec-test.yaml @@ -1,7 +1,7 @@ apiVersion: appstudio.redhat.com/v1beta2 kind: IntegrationTestScenario metadata: - name: serverless-operator-136-enterprise-contract + name: serverless-operator-136-ec spec: params: - name: POLICY_CONFIGURATION diff --git a/.konflux/applications/serverless-operator-136/tests/override-snapshot-ec-test.yaml b/.konflux/applications/serverless-operator-136/tests/override-snapshot-ec-test.yaml new file mode 100755 index 000000000000..a1b14a3c4468 --- /dev/null +++ b/.konflux/applications/serverless-operator-136/tests/override-snapshot-ec-test.yaml @@ -0,0 +1,23 @@ +apiVersion: appstudio.redhat.com/v1beta2 +kind: IntegrationTestScenario +metadata: + name: serverless-operator-136-ec-override-snapshot +spec: + params: + - name: POLICY_CONFIGURATION + value: rhtap-releng-tenant/registry-standard + - name: TIMEOUT + value: "120m" + application: serverless-operator-136 + contexts: + - description: Override Snapshot testing + name: override + resolverRef: + params: + - name: url + value: 'https://github.com/redhat-appstudio/build-definitions' + - name: revision + value: main + - name: pathInRepo + value: pipelines/enterprise-contract.yaml + resolver: git diff --git a/.tekton/docker-build.yaml b/.tekton/docker-build.yaml index d3a3ecb3079f..c04f3f20994c 100755 --- a/.tekton/docker-build.yaml +++ b/.tekton/docker-build.yaml @@ -429,6 +429,56 @@ spec: operator: in values: - "false" + - name: sast-shell-check + params: + - name: image-digest + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + - name: SOURCE_ARTIFACT + value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT) + - name: CACHI2_ARTIFACT + value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: sast-shell-check-oci-ta + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:e1049e55bdd8cf16fba605285a58bd6f61f95694e84b3fffe5d9191417263266 + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + - name: sast-unicode-check + params: + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + - name: SOURCE_ARTIFACT + value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT) + - name: CACHI2_ARTIFACT + value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: sast-shell-check-oci-ta + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:e1049e55bdd8cf16fba605285a58bd6f61f95694e84b3fffe5d9191417263266 + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" - name: push-dockerfile params: - name: IMAGE