From 5851822a6c3087bdb2feae2f83cff28a65a87f60 Mon Sep 17 00:00:00 2001 From: serverless-qe Date: Wed, 25 Sep 2024 09:04:12 +0000 Subject: [PATCH] [release-v1.15] Sync Konflux configurations --- .../kn-backstage-plugins-eventmesh-115.yaml | 13 + .../kn-backstage-plugins-migrate-115.yaml | 13 + ...-backstage-plugins-test-eventshub-115.yaml | 13 + .../kn-backstage-plugins-eventmesh-115.yaml | 21 + .../kn-backstage-plugins-migrate-115.yaml | 21 + ...-backstage-plugins-test-eventshub-115.yaml | 21 + .../serverless-operator-135.yaml | 7 + .../tests/ec-test.yaml | 21 + .tekton/docker-build.yaml | 457 ++++++++++++++++++ ...ge-plugins-eventmesh-115-pull-request.yaml | 52 ++ ...-backstage-plugins-eventmesh-115-push.yaml | 51 ++ ...tage-plugins-migrate-115-pull-request.yaml | 52 ++ ...kn-backstage-plugins-migrate-115-push.yaml | 51 ++ ...ugins-test-eventshub-115-pull-request.yaml | 52 ++ ...stage-plugins-test-eventshub-115-push.yaml | 51 ++ 15 files changed, 896 insertions(+) create mode 100755 .konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-eventmesh-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-migrate-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-test-eventshub-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/components/kn-backstage-plugins-eventmesh-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/components/kn-backstage-plugins-migrate-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/components/kn-backstage-plugins-test-eventshub-115.yaml create mode 100755 .konflux/applications/serverless-operator-135/serverless-operator-135.yaml create mode 100755 .konflux/applications/serverless-operator-135/tests/ec-test.yaml create mode 100755 .tekton/docker-build.yaml create mode 100755 .tekton/kn-backstage-plugins-eventmesh-115-pull-request.yaml create mode 100755 .tekton/kn-backstage-plugins-eventmesh-115-push.yaml create mode 100755 .tekton/kn-backstage-plugins-migrate-115-pull-request.yaml create mode 100755 .tekton/kn-backstage-plugins-migrate-115-push.yaml create mode 100755 .tekton/kn-backstage-plugins-test-eventshub-115-pull-request.yaml create mode 100755 .tekton/kn-backstage-plugins-test-eventshub-115-push.yaml diff --git a/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-eventmesh-115.yaml b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-eventmesh-115.yaml new file mode 100755 index 00000000..c50563ff --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-eventmesh-115.yaml @@ -0,0 +1,13 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: ImageRepository +metadata: + annotations: + image-controller.appstudio.redhat.com/update-component-image: "true" + labels: + appstudio.redhat.com/application: serverless-operator-135 + appstudio.redhat.com/component: kn-backstage-plugins-eventmesh-115 + name: kn-backstage-plugins-eventmesh-115 +spec: + image: + name: serverless-operator-135/kn-backstage-plugins-eventmesh + visibility: public diff --git a/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-migrate-115.yaml b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-migrate-115.yaml new file mode 100755 index 00000000..76274330 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-migrate-115.yaml @@ -0,0 +1,13 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: ImageRepository +metadata: + annotations: + image-controller.appstudio.redhat.com/update-component-image: "true" + labels: + appstudio.redhat.com/application: serverless-operator-135 + appstudio.redhat.com/component: kn-backstage-plugins-migrate-115 + name: kn-backstage-plugins-migrate-115 +spec: + image: + name: serverless-operator-135/kn-backstage-plugins-migrate + visibility: public diff --git a/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-test-eventshub-115.yaml b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-test-eventshub-115.yaml new file mode 100755 index 00000000..05622c14 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/imagerepositories/kn-backstage-plugins-test-eventshub-115.yaml @@ -0,0 +1,13 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: ImageRepository +metadata: + annotations: + image-controller.appstudio.redhat.com/update-component-image: "true" + labels: + appstudio.redhat.com/application: serverless-operator-135 + appstudio.redhat.com/component: kn-backstage-plugins-test-eventshub-115 + name: kn-backstage-plugins-test-eventshub-115 +spec: + image: + name: serverless-operator-135/kn-backstage-plugins-test-eventshub + visibility: public diff --git a/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-eventmesh-115.yaml b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-eventmesh-115.yaml new file mode 100755 index 00000000..311dca69 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-eventmesh-115.yaml @@ -0,0 +1,21 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: Component +metadata: + annotations: + build.appstudio.openshift.io/pipeline: '{"name":"docker-build","bundle":"latest"}' + name: kn-backstage-plugins-eventmesh-115 +spec: + componentName: kn-backstage-plugins-eventmesh-115 + application: serverless-operator-135 + + build-nudges-ref: + + - "serverless-bundle-135" + + + source: + git: + url: https://github.com/openshift-knative/backstage-plugins.git + context: + dockerfileUrl: openshift/ci-operator/knative-images/eventmesh/Dockerfile + revision: release-v1.15 diff --git a/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-migrate-115.yaml b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-migrate-115.yaml new file mode 100755 index 00000000..5ab1e827 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-migrate-115.yaml @@ -0,0 +1,21 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: Component +metadata: + annotations: + build.appstudio.openshift.io/pipeline: '{"name":"docker-build","bundle":"latest"}' + name: kn-backstage-plugins-migrate-115 +spec: + componentName: kn-backstage-plugins-migrate-115 + application: serverless-operator-135 + + build-nudges-ref: + + - "serverless-bundle-135" + + + source: + git: + url: https://github.com/openshift-knative/backstage-plugins.git + context: + dockerfileUrl: openshift/ci-operator/knative-images/migrate/Dockerfile + revision: release-v1.15 diff --git a/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-test-eventshub-115.yaml b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-test-eventshub-115.yaml new file mode 100755 index 00000000..d5fa645c --- /dev/null +++ b/.konflux/applications/serverless-operator-135/components/kn-backstage-plugins-test-eventshub-115.yaml @@ -0,0 +1,21 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: Component +metadata: + annotations: + build.appstudio.openshift.io/pipeline: '{"name":"docker-build","bundle":"latest"}' + name: kn-backstage-plugins-test-eventshub-115 +spec: + componentName: kn-backstage-plugins-test-eventshub-115 + application: serverless-operator-135 + + build-nudges-ref: + + - "serverless-bundle-135" + + + source: + git: + url: https://github.com/openshift-knative/backstage-plugins.git + context: + dockerfileUrl: openshift/ci-operator/knative-test-images/eventshub/Dockerfile + revision: release-v1.15 diff --git a/.konflux/applications/serverless-operator-135/serverless-operator-135.yaml b/.konflux/applications/serverless-operator-135/serverless-operator-135.yaml new file mode 100755 index 00000000..a4b04964 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/serverless-operator-135.yaml @@ -0,0 +1,7 @@ +apiVersion: appstudio.redhat.com/v1alpha1 +kind: Application +metadata: + name: serverless-operator-135 +spec: + description: serverless-operator release-1.35 + displayName: serverless-operator release-1.35 diff --git a/.konflux/applications/serverless-operator-135/tests/ec-test.yaml b/.konflux/applications/serverless-operator-135/tests/ec-test.yaml new file mode 100755 index 00000000..bae07d82 --- /dev/null +++ b/.konflux/applications/serverless-operator-135/tests/ec-test.yaml @@ -0,0 +1,21 @@ +apiVersion: appstudio.redhat.com/v1beta2 +kind: IntegrationTestScenario +metadata: + name: serverless-operator-135-enterprise-contract +spec: + params: + - name: POLICY_CONFIGURATION + value: rhtap-releng-tenant/tmp-onboard-policy + application: serverless-operator-135 + contexts: + - description: Application testing + name: application + 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 new file mode 100755 index 00000000..a98c5d50 --- /dev/null +++ b/.tekton/docker-build.yaml @@ -0,0 +1,457 @@ +apiVersion: tekton.dev/v1 +kind: Pipeline +metadata: + creationTimestamp: null + labels: + pipelines.openshift.io/runtime: generic + pipelines.openshift.io/strategy: docker + pipelines.openshift.io/used-by: build-cloud + name: docker-build +spec: + description: | + This pipeline is ideal for building container images from a Containerfile while reducing network traffic. + + _Uses `buildah` to create a container image. It also optionally creates a source image and runs some build-time tests. EC will flag a violation for [`trusted_task.trusted`](https://enterprisecontract.dev/docs/ec-policies/release_policy.html#trusted_task__trusted) if any tasks are added to the pipeline. + This pipeline is pushed as a Tekton bundle to [quay.io](https://quay.io/repository/konflux-ci/tekton-catalog/pipeline-docker-build?tab=tags)_ + finally: + - name: show-sbom + params: + - name: IMAGE_URL + value: $(tasks.build-image-index.results.IMAGE_URL) + taskRef: + params: + - name: name + value: show-sbom + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:9bfc6b99ef038800fe131d7b45ff3cd4da3a415dd536f7c657b3527b01c4a13b + - name: kind + value: task + resolver: bundles + - name: show-summary + params: + - name: pipelinerun-name + value: $(context.pipelineRun.name) + - name: git-url + value: $(tasks.clone-repository.results.url)?rev=$(tasks.clone-repository.results.commit) + - name: image-url + value: $(params.output-image) + - name: build-task-status + value: $(tasks.build-image-index.status) + taskRef: + params: + - name: name + value: summary + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-summary:0.2@sha256:d97c04ab42f277b1103eb6f3a053b247849f4f5b3237ea302a8ecada3b24e15b + - name: kind + value: task + resolver: bundles + workspaces: + - name: workspace + workspace: workspace + params: + - default: "true" + description: Build a source image. + name: build-source-image + type: string + - default: "false" + description: 'Enable in-development package managers. WARNING: the behavior may + change at any time without notice. Use at your own risk.' + name: prefetch-input-dev-package-managers + - default: [] + description: Additional image tags + name: additional-tags + type: array + - description: Source Repository URL + name: git-url + type: string + - default: "" + description: Revision of the Source Repository + name: revision + type: string + - description: Fully Qualified Output Image + name: output-image + type: string + - default: . + description: Path to the source code of an application's component from where + to build image. + name: path-context + type: string + - default: Dockerfile + description: Path to the Dockerfile inside the context specified by parameter + path-context + name: dockerfile + type: string + - default: "false" + description: Force rebuild image + name: rebuild + type: string + - default: "false" + description: Skip checks against built image + name: skip-checks + type: string + - default: "false" + description: Execute the build with network isolation + name: hermetic + type: string + - default: "" + description: Build dependencies to be prefetched by Cachi2 + name: prefetch-input + type: string + - default: "" + description: Image tag expiration time, time values could be something like 1h, + 2d, 3w for hours, days, and weeks, respectively. + name: image-expires-after + - default: "false" + description: Add built image into an OCI image index + name: build-image-index + type: string + - default: [] + description: Array of --build-arg values ("arg=value" strings) for buildah + name: build-args + type: array + - default: "" + description: Path to a file with build arguments for buildah, see https://www.mankier.com/1/buildah-build#--build-arg-file + name: build-args-file + type: string + results: + - description: "" + name: IMAGE_URL + value: $(tasks.build-image-index.results.IMAGE_URL) + - description: "" + name: IMAGE_DIGEST + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - description: "" + name: CHAINS-GIT_URL + value: $(tasks.clone-repository.results.url) + - description: "" + name: CHAINS-GIT_COMMIT + value: $(tasks.clone-repository.results.commit) + tasks: + - name: prefetch-dependencies + params: + - name: dev-package-managers + value: $(params.prefetch-input-dev-package-managers) + - name: input + value: $(params.prefetch-input) + runAfter: + - clone-repository + taskRef: + params: + - name: name + value: prefetch-dependencies + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies:0.1@sha256:fe7234e3824d1e65d6a7aac352e7a6bbce623d90d8d7da9aceeee108ad2c61be + - name: kind + value: task + resolver: bundles + when: + - input: $(params.prefetch-input) + operator: notin + values: + - "" + workspaces: + - name: source + workspace: workspace + - name: git-basic-auth + workspace: git-auth + - name: netrc + workspace: netrc + - name: apply-tags + params: + - name: ADDITIONAL_TAGS + value: $(params.additional-tags[*]) + - name: IMAGE + value: $(tasks.build-image-index.results.IMAGE_URL) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: apply-tags + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.1@sha256:e6beb161ed59d7be26317da03e172137b31b26648d3e139558e9a457bc56caff + - name: kind + value: task + resolver: bundles + - name: init + params: + - name: image-url + value: $(params.output-image) + - name: rebuild + value: $(params.rebuild) + - name: skip-checks + value: $(params.skip-checks) + taskRef: + params: + - name: name + value: init + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:092c113b614f6551113f17605ae9cb7e822aa704d07f0e37ed209da23ce392cc + - name: kind + value: task + resolver: bundles + - name: clone-repository + params: + - name: url + value: $(params.git-url) + - name: revision + value: $(params.revision) + runAfter: + - init + taskRef: + params: + - name: name + value: git-clone + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-git-clone:0.1@sha256:2cccdf8729ad4d5adf65e8b66464f8efa1e1c87ba16d343b4a6c621a2a40f7e1 + - name: kind + value: task + resolver: bundles + when: + - input: $(tasks.init.results.build) + operator: in + values: + - "true" + workspaces: + - name: output + workspace: workspace + - name: basic-auth + workspace: git-auth + - name: build-container + params: + - name: IMAGE + value: $(params.output-image) + - name: DOCKERFILE + value: $(params.dockerfile) + - name: CONTEXT + value: $(params.path-context) + - name: HERMETIC + value: $(params.hermetic) + - name: PREFETCH_INPUT + value: $(params.prefetch-input) + - name: IMAGE_EXPIRES_AFTER + value: $(params.image-expires-after) + - name: COMMIT_SHA + value: $(tasks.clone-repository.results.commit) + - name: BUILD_ARGS + value: + - $(params.build-args[*]) + - name: BUILD_ARGS_FILE + value: $(params.build-args-file) + runAfter: + - prefetch-dependencies + taskRef: + params: + - name: name + value: buildah + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:2c3426a2a7ff46a413c56f8f18055f9385eb323d41e6e8cf1b9dd9d10013daaf + - name: kind + value: task + resolver: bundles + when: + - input: $(tasks.init.results.build) + operator: in + values: + - "true" + workspaces: + - name: source + workspace: workspace + - name: build-image-index + params: + - name: IMAGE + value: $(params.output-image) + - name: COMMIT_SHA + value: $(tasks.clone-repository.results.commit) + - name: IMAGE_EXPIRES_AFTER + value: $(params.image-expires-after) + - name: ALWAYS_BUILD_INDEX + value: $(params.build-image-index) + - name: IMAGES + value: + - $(tasks.build-container.results.IMAGE_URL)@$(tasks.build-container.results.IMAGE_DIGEST) + runAfter: + - build-container + taskRef: + params: + - name: name + value: build-image-index + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:e4871851566d8b496966b37bcb8c5ce9748a52487f116373d96c6cd28ef684c6 + - name: kind + value: task + resolver: bundles + when: + - input: $(tasks.init.results.build) + operator: in + values: + - "true" + - name: build-source-image + params: + - name: BINARY_IMAGE + value: $(params.output-image) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: source-build + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-source-build:0.1@sha256:21cb5ebaff7a9216903cf78933dc4ec4dd6283a52636b16590a5f52ceb278269 + - name: kind + value: task + resolver: bundles + when: + - input: $(tasks.init.results.build) + operator: in + values: + - "true" + - input: $(params.build-source-image) + operator: in + values: + - "true" + workspaces: + - name: workspace + workspace: workspace + - name: deprecated-base-image-check + params: + - name: IMAGE_URL + value: $(tasks.build-image-index.results.IMAGE_URL) + - name: IMAGE_DIGEST + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: deprecated-image-check + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.4@sha256:b4f9599f5770ea2e6e4d031224ccc932164c1ecde7f85f68e16e99c98d754003 + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + - name: clair-scan + params: + - name: image-digest + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: clair-scan + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:9f4ddafd599e06b319cece5a4b8ac36b9e7ec46bea378bc6c6af735d3f7f8060 + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + - name: ecosystem-cert-preflight-checks + params: + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: ecosystem-cert-preflight-checks + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.1@sha256:5131cce0f93d0b728c7bcc0d6cee4c61d4c9f67c6d619c627e41e3c9775b497d + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + - name: sast-snyk-check + params: + - name: image-digest + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: sast-snyk-check + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check:0.2@sha256:69ae591831f0f96d31c85d360273c1ce436ae1dbbfa3d0b22a083cb228c9e82c + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + workspaces: + - name: workspace + workspace: workspace + - name: clamav-scan + params: + - name: image-digest + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - name: image-url + value: $(tasks.build-image-index.results.IMAGE_URL) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: clamav-scan + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.1@sha256:5ac9b24cff7cfb391bc54cd5135536892090354862327d1028fa08872d759c03 + - name: kind + value: task + resolver: bundles + when: + - input: $(params.skip-checks) + operator: in + values: + - "false" + - name: push-dockerfile + params: + - name: IMAGE + value: $(tasks.build-image-index.results.IMAGE_URL) + - name: IMAGE_DIGEST + value: $(tasks.build-image-index.results.IMAGE_DIGEST) + - name: DOCKERFILE + value: $(params.dockerfile) + - name: CONTEXT + value: $(params.path-context) + runAfter: + - build-image-index + taskRef: + params: + - name: name + value: push-dockerfile + - name: bundle + value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile:0.1@sha256:0d2b6d31dc8bc02c5493d7d28a163bb6c867be5f86c3a82388b0d5c69e18d352 + - name: kind + value: task + resolver: bundles + workspaces: + - name: workspace + workspace: workspace + workspaces: + - name: workspace + - name: git-auth + optional: true + - name: netrc + optional: true diff --git a/.tekton/kn-backstage-plugins-eventmesh-115-pull-request.yaml b/.tekton/kn-backstage-plugins-eventmesh-115-pull-request.yaml new file mode 100755 index 00000000..1d832021 --- /dev/null +++ b/.tekton/kn-backstage-plugins-eventmesh-115-pull-request.yaml @@ -0,0 +1,52 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-eventmesh-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-eventmesh-115-on-pull-request + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-images/eventmesh/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: image-expires-after + value: 5d + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-eventmesh:on-pr-{{revision}} + - name: revision + value: '{{revision}}' + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/kn-backstage-plugins-eventmesh-115-push.yaml b/.tekton/kn-backstage-plugins-eventmesh-115-push.yaml new file mode 100755 index 00000000..03bf2093 --- /dev/null +++ b/.tekton/kn-backstage-plugins-eventmesh-115-push.yaml @@ -0,0 +1,51 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-eventmesh-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-eventmesh-115-on-push + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-images/eventmesh/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-eventmesh:{{revision}} + - name: revision + value: '{{revision}}' + - name: additional-tags + value: [ release-1.35, latest, ] + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/kn-backstage-plugins-migrate-115-pull-request.yaml b/.tekton/kn-backstage-plugins-migrate-115-pull-request.yaml new file mode 100755 index 00000000..60089011 --- /dev/null +++ b/.tekton/kn-backstage-plugins-migrate-115-pull-request.yaml @@ -0,0 +1,52 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-migrate-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-migrate-115-on-pull-request + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-images/migrate/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: image-expires-after + value: 5d + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-migrate:on-pr-{{revision}} + - name: revision + value: '{{revision}}' + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/kn-backstage-plugins-migrate-115-push.yaml b/.tekton/kn-backstage-plugins-migrate-115-push.yaml new file mode 100755 index 00000000..4433ce33 --- /dev/null +++ b/.tekton/kn-backstage-plugins-migrate-115-push.yaml @@ -0,0 +1,51 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-migrate-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-migrate-115-on-push + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-images/migrate/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-migrate:{{revision}} + - name: revision + value: '{{revision}}' + - name: additional-tags + value: [ release-1.35, latest, ] + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/kn-backstage-plugins-test-eventshub-115-pull-request.yaml b/.tekton/kn-backstage-plugins-test-eventshub-115-pull-request.yaml new file mode 100755 index 00000000..38e2a444 --- /dev/null +++ b/.tekton/kn-backstage-plugins-test-eventshub-115-pull-request.yaml @@ -0,0 +1,52 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-test-eventshub-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-test-eventshub-115-on-pull-request + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-test-images/eventshub/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: image-expires-after + value: 5d + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-test-eventshub:on-pr-{{revision}} + - name: revision + value: '{{revision}}' + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/kn-backstage-plugins-test-eventshub-115-push.yaml b/.tekton/kn-backstage-plugins-test-eventshub-115-push.yaml new file mode 100755 index 00000000..7130cb00 --- /dev/null +++ b/.tekton/kn-backstage-plugins-test-eventshub-115-push.yaml @@ -0,0 +1,51 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift-knative/backstage-plugins?rev={{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch + == "release-v1.15" + creationTimestamp: null + labels: + appstudio.openshift.io/application: serverless-operator-135 + appstudio.openshift.io/component: kn-backstage-plugins-test-eventshub-115 + pipelines.appstudio.openshift.io/type: build + name: kn-backstage-plugins-test-eventshub-115-on-push + namespace: ocp-serverless-tenant +spec: + params: + - name: dockerfile + value: openshift/ci-operator/knative-test-images/eventshub/Dockerfile + - name: build-args + value: [ VERSION=release-1.35, GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22, GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal, ] + - name: git-url + value: '{{source_url}}' + - name: hermetic + value: "true" + - name: output-image + value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/kn-backstage-plugins-test-eventshub:{{revision}} + - name: revision + value: '{{revision}}' + - name: additional-tags + value: [ release-1.35, latest, ] + pipelineRef: + name: docker-build + taskRunTemplate: {} + workspaces: + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}'