diff --git a/.tekton/assisted-image-service-acm-ds-2-16-pull-request.yaml b/.tekton/assisted-image-service-acm-ds-2-16-pull-request.yaml deleted file mode 100644 index 53f9aa35..00000000 --- a/.tekton/assisted-image-service-acm-ds-2-16-pull-request.yaml +++ /dev/null @@ -1,65 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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-ocm-2.16" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-installer-application-acm-ds-2-16 - appstudio.openshift.io/component: assisted-image-service-acm-ds-2-16 - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-acm-ds-2-16-on-pull-request - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-installer-application-acm-ds-2-16/assisted-image-service-acm-ds-2-16:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: build-platforms - value: - - linux/x86_64 - - linux/arm64 - - linux/ppc64le - - linux/s390x - - name: dockerfile - value: Dockerfile.image-service-mce - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: hermetic - value: "true" - - name: prefetch-input - value: '[{"type": "gomod", "path": "."}, {"type": "rpm", "path": "./rpm-prefetching/"}]' - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-acm-ds-2-16 - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-acm-ds-2-16-push.yaml b/.tekton/assisted-image-service-acm-ds-2-16-push.yaml deleted file mode 100644 index 0b44d1b0..00000000 --- a/.tekton/assisted-image-service-acm-ds-2-16-push.yaml +++ /dev/null @@ -1,70 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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-ocm-2.16" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-installer-application-acm-ds-2-16 - appstudio.openshift.io/component: assisted-image-service-acm-ds-2-16 - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-acm-ds-2-16-on-push - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-installer-application-acm-ds-2-16/assisted-image-service-acm-ds-2-16:{{revision}} - - name: build-platforms - value: - - linux/x86_64 - - linux/arm64 - - linux/ppc64le - - linux/s390x - - name: dockerfile - value: Dockerfile.image-service-mce - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: hermetic - value: "true" - - name: prefetch-input - value: '[{"type": "gomod", "path": "."}, {"type": "rpm", "path": "./rpm-prefetching/"}]' - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - - name: send-slack-webhook-notification-on-fail - value: "true" - - name: slack-webhook-notification-secret - value: slack-notif-webhook - - name: slack-webhook-notification-secret-key - value: token - - name: slack-webhook-notification-message - value: "[ACM] [2.16] [assisted-image-service] [] [] Konflux build failed" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-acm-ds-2-16 - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-acm-ds-main-pull-request.yaml b/.tekton/assisted-image-service-acm-ds-main-pull-request.yaml deleted file mode 100644 index 8febdbcf..00000000 --- a/.tekton/assisted-image-service-acm-ds-main-pull-request.yaml +++ /dev/null @@ -1,65 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "main" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-installer-application-acm-ds-main - appstudio.openshift.io/component: assisted-image-service-acm-ds-main - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-acm-ds-main-on-pull-request - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-installer-application-acm-ds-main/assisted-image-service-acm-ds-main:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: build-platforms - value: - - linux/x86_64 - - linux/arm64 - - linux/ppc64le - - linux/s390x - - name: dockerfile - value: Dockerfile.image-service-mce - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: hermetic - value: "true" - - name: prefetch-input - value: '[{"type": "gomod", "path": "."}, {"type": "rpm", "path": "./rpm-prefetching/"}]' - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-acm-ds-main - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-acm-ds-main-push.yaml b/.tekton/assisted-image-service-acm-ds-main-push.yaml deleted file mode 100644 index 8a26def6..00000000 --- a/.tekton/assisted-image-service-acm-ds-main-push.yaml +++ /dev/null @@ -1,70 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "main" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-installer-application-acm-ds-main - appstudio.openshift.io/component: assisted-image-service-acm-ds-main - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-acm-ds-main-on-push - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-installer-application-acm-ds-main/assisted-image-service-acm-ds-main:{{revision}} - - name: build-platforms - value: - - linux/x86_64 - - linux/arm64 - - linux/ppc64le - - linux/s390x - - name: dockerfile - value: Dockerfile.image-service-mce - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: hermetic - value: "true" - - name: prefetch-input - value: '[{"type": "gomod", "path": "."}, {"type": "rpm", "path": "./rpm-prefetching/"}]' - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - - name: send-slack-webhook-notification-on-fail - value: "true" - - name: slack-webhook-notification-secret - value: slack-notif-webhook - - name: slack-webhook-notification-secret-key - value: token - - name: slack-webhook-notification-message - value: "[ACM] [main] [assisted-image-service] [] [] Konflux build failed" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-acm-ds-main - workspaces: - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-saas-main-pull-request.yaml b/.tekton/assisted-image-service-saas-main-pull-request.yaml deleted file mode 100644 index 59197741..00000000 --- a/.tekton/assisted-image-service-saas-main-pull-request.yaml +++ /dev/null @@ -1,66 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "main" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-image-service-saas-main - appstudio.openshift.io/component: assisted-image-service-saas-main - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-saas-main-on-pull-request - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-image-service-saas-main/assisted-image-service-saas-main:on-pr-{{revision}} - - name: image-expires-after - value: 5d - - name: dockerfile - value: Dockerfile.image-service - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-saas-main - workspaces: - - name: workspace - volumeClaimTemplate: - metadata: - creationTimestamp: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - status: {} - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-saas-main-push.yaml b/.tekton/assisted-image-service-saas-main-push.yaml deleted file mode 100644 index d93e3ca8..00000000 --- a/.tekton/assisted-image-service-saas-main-push.yaml +++ /dev/null @@ -1,71 +0,0 @@ -apiVersion: tekton.dev/v1 -kind: PipelineRun -metadata: - annotations: - build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "main" - creationTimestamp: - labels: - appstudio.openshift.io/application: assisted-image-service-saas-main - appstudio.openshift.io/component: assisted-image-service-saas-main - pipelines.appstudio.openshift.io/type: build - name: assisted-image-service-saas-main-on-push - namespace: assisted-installer-tenant -spec: - params: - - name: git-url - value: '{{source_url}}' - - name: revision - value: '{{revision}}' - - name: output-image - value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-image-service-saas-main/assisted-image-service-saas-main:{{revision}} - - name: dockerfile - value: Dockerfile.image-service - - name: path-context - value: . - - name: build-args - value: - - release={{target_branch}} - - version={{revision}} - - name: build-source-image - value: "true" - - name: sast-snyk-check-args - value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" - - name: send-slack-webhook-notification-on-fail - value: "true" - - name: slack-webhook-notification-secret - value: slack-notif-webhook - - name: slack-webhook-notification-secret-key - value: token - - name: slack-webhook-notification-message - value: "[SaaS] [assisted-image-service] [] [] Konflux build failed" - pipelineRef: - resolver: git - params: - - name: url - value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" - - name: revision - value: main - - name: pathInRepo - value: "pipelines/standard-pipeline.yaml" - taskRunTemplate: - serviceAccountName: build-pipeline-assisted-image-service-saas-main - workspaces: - - name: workspace - volumeClaimTemplate: - metadata: - creationTimestamp: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi - status: {} - - name: git-auth - secret: - secretName: '{{ git_auth_secret }}' -status: {} diff --git a/.tekton/assisted-image-service-saas-v2-49-pull-request.yaml b/.tekton/assisted-image-service-saas-v2-49-pull-request.yaml new file mode 100644 index 00000000..479299a7 --- /dev/null +++ b/.tekton/assisted-image-service-saas-v2-49-pull-request.yaml @@ -0,0 +1,55 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "v2.49" + creationTimestamp: + labels: + appstudio.openshift.io/application: assisted-image-service-saas-v2-49 + appstudio.openshift.io/component: assisted-image-service-saas-v2-49 + pipelines.appstudio.openshift.io/type: build + name: assisted-image-service-saas-v2-49-on-pull-request + namespace: assisted-installer-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-image-service-saas-v2-49/assisted-image-service-saas-v2-49:on-pr-{{revision}} + - name: image-expires-after + value: 5d + - name: dockerfile + value: Dockerfile.image-service + - name: path-context + value: . + - name: build-args + value: + - release={{target_branch}} + - version={{revision}} + - name: build-source-image + value: "true" + - name: sast-snyk-check-args + value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" + pipelineRef: + resolver: git + params: + - name: url + value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" + - name: revision + value: main + - name: pathInRepo + value: "pipelines/standard-pipeline.yaml" + taskRunTemplate: + serviceAccountName: build-pipeline-assisted-image-service-saas-v2-49 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} \ No newline at end of file diff --git a/.tekton/assisted-image-service-saas-v2-49-push.yaml b/.tekton/assisted-image-service-saas-v2-49-push.yaml new file mode 100644 index 00000000..7c8ee380 --- /dev/null +++ b/.tekton/assisted-image-service-saas-v2-49-push.yaml @@ -0,0 +1,61 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://github.com/openshift/assisted-image-service?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 == "v2.49" + creationTimestamp: + labels: + appstudio.openshift.io/application: assisted-image-service-saas-v2-49 + appstudio.openshift.io/component: assisted-image-service-saas-v2-49 + pipelines.appstudio.openshift.io/type: build + name: assisted-image-service-saas-v2-49-on-push + namespace: assisted-installer-tenant +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: output-image + value: quay.io/redhat-user-workloads/assisted-installer-tenant/assisted-image-service-saas-v2-49/assisted-image-service-saas-v2-49:{{revision}} + - name: dockerfile + value: Dockerfile.image-service + - name: path-context + value: . + - name: build-args + value: + - release={{target_branch}} + - version={{revision}} + - name: build-source-image + value: "true" + - name: sast-snyk-check-args + value: "--project-name=assisted-image-service --report --org=3e6fd93b-b325-49dd-8a33-432a0160ab66" + - name: send-slack-webhook-notification-on-fail + value: "true" + - name: slack-webhook-notification-secret + value: slack-notif-webhook + - name: slack-webhook-notification-secret-key + value: token + - name: slack-webhook-notification-message + value: "[SaaS] [2.49] [assisted-image-service] [] [] Konflux build failed" + pipelineRef: + resolver: git + params: + - name: url + value: "https://github.com/openshift-assisted/assisted-installer-konflux-pipelines.git" + - name: revision + value: main + - name: pathInRepo + value: "pipelines/standard-pipeline.yaml" + taskRunTemplate: + serviceAccountName: build-pipeline-assisted-image-service-saas-v2-49 + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' +status: {} \ No newline at end of file