diff --git a/.tekton/rhtas-console-ui-pull-request.yaml b/.tekton/rhtas-console-ui-pull-request.yaml deleted file mode 100644 index caaaac10..00000000 --- a/.tekton/rhtas-console-ui-pull-request.yaml +++ /dev/null @@ -1,57 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/securesign/rhtas-console-ui?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/cancel-in-progress: "true" - pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: >- - (event == "pull_request" && target_branch == "main") || - (event == "push" && target_branch.startsWith("gh-readonly-queue/main/")) - creationTimestamp: null - labels: - appstudio.openshift.io/application: rhtas-console - appstudio.openshift.io/component: rhtas-console-ui - pipelines.appstudio.openshift.io/type: build - release.appstudio.openshift.io/auto-release: "false" - name: rhtas-console-ui-on-pull-request - namespace: rhtas-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/securesign/rhtas-console-ui:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: dockerfile - value: Dockerfile - - name: path-context - value: . - - name: build-source-image - value: "true" - - name: hermetic - value: "true" - - name: prefetch-input - value: [ { "path": ".", "type": "npm" }, { "path": ".", "type": "rpm" } ] - pipelineRef: - resolver: git - params: - - name: url - value: 'https://github.com/securesign/pipelines.git' - - name: revision - value: 'main' - - name: pathInRepo - value: 'pipelines/docker-build-oci-ta.yaml' - taskRunTemplate: - serviceAccountName: build-pipeline-rhtas-console-ui - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: { } diff --git a/.tekton/rhtas-console-ui-push.yaml b/.tekton/rhtas-console-ui-push.yaml deleted file mode 100644 index efe2f09c..00000000 --- a/.tekton/rhtas-console-ui-push.yaml +++ /dev/null @@ -1,51 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/securesign/rhtas-console-ui?rev={{revision}} - build.appstudio.redhat.com/commit_sha: '{{revision}}' - build.appstudio.redhat.com/target_branch: '{{target_branch}}' - pipelinesascode.tekton.dev/cancel-in-progress: "false" - pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" - creationTimestamp: null - labels: - appstudio.openshift.io/application: rhtas-console - appstudio.openshift.io/component: rhtas-console-ui - pipelines.appstudio.openshift.io/type: build - name: rhtas-console-ui-on-push - namespace: rhtas-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/securesign/rhtas-console-ui:{{revision}} - - name: dockerfile - value: Dockerfile - - name: path-context - value: . - - name: build-source-image - value: "true" - - name: hermetic - value: "true" - - name: prefetch-input - value: [ { "path": ".", "type": "npm" }, { "path": ".", "type": "rpm" } ] - pipelineRef: - resolver: git - params: - - name: url - value: 'https://github.com/securesign/pipelines.git' - - name: revision - value: 'main' - - name: pathInRepo - value: 'pipelines/docker-build-oci-ta.yaml' - taskRunTemplate: - serviceAccountName: build-pipeline-rhtas-console-ui - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: { }