From 0dca2842155a4cb3a39ae4dc7535480cff8d8235 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 19 Feb 2026 10:44:39 +0100 Subject: [PATCH] ROX-32966: Set konflux retest command alias (#18917) --- .github/workflows/konflux-auto-retest.yml | 18 ++++++++++++++++++ .tekton/central-db-build.yaml | 1 + .tekton/create-custom-snapshot.yaml | 1 + .tekton/main-build.yaml | 1 + .tekton/operator-build.yaml | 1 + .tekton/operator-bundle-build.yaml | 1 + .tekton/retag-collector.yaml | 1 + .tekton/retag-scanner-db-slim.yaml | 1 + .tekton/retag-scanner-db.yaml | 1 + .tekton/retag-scanner-slim.yaml | 1 + .tekton/retag-scanner.yaml | 1 + .tekton/roxctl-build.yaml | 1 + .tekton/scanner-v4-build.yaml | 1 + .tekton/scanner-v4-db-build.yaml | 1 + 14 files changed, 31 insertions(+) create mode 100644 .github/workflows/konflux-auto-retest.yml diff --git a/.github/workflows/konflux-auto-retest.yml b/.github/workflows/konflux-auto-retest.yml new file mode 100644 index 0000000000000..817d918456c47 --- /dev/null +++ b/.github/workflows/konflux-auto-retest.yml @@ -0,0 +1,18 @@ +name: Retest Konflux Builds + +on: + check_run: + types: [completed] + pull_request: + types: [synchronize] + +jobs: + retest-failed-builds: + uses: stackrox/actions/.github/workflows/retest-konflux-builds.yml@v1 + permissions: + pull-requests: write + issues: write + with: + max_retries: 3 + check_name_suffix: '-on-push' + retest_command: '/konflux-retest' diff --git a/.tekton/central-db-build.yaml b/.tekton/central-db-build.yaml index ed1524ed9aca0..0a4d7d8d804b1 100644 --- a/.tekton/central-db-build.yaml +++ b/.tekton/central-db-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest central-db-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/create-custom-snapshot.yaml b/.tekton/create-custom-snapshot.yaml index cdb6970b3a499..8fa65753ce220 100644 --- a/.tekton/create-custom-snapshot.yaml +++ b/.tekton/create-custom-snapshot.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest create-custom-snapshot" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/main-build.yaml b/.tekton/main-build.yaml index 3f4bf104ab173..114e49d87b552 100644 --- a/.tekton/main-build.yaml +++ b/.tekton/main-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest main-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/operator-build.yaml b/.tekton/operator-build.yaml index 825a109e4a1a4..efec11a8be5df 100644 --- a/.tekton/operator-build.yaml +++ b/.tekton/operator-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest operator-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/operator-bundle-build.yaml b/.tekton/operator-bundle-build.yaml index 05372607b3ef2..f6cbf49d96222 100644 --- a/.tekton/operator-bundle-build.yaml +++ b/.tekton/operator-bundle-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest operator-bundle-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/retag-collector.yaml b/.tekton/retag-collector.yaml index 8ed33473c460e..b34e2f5cfcf12 100644 --- a/.tekton/retag-collector.yaml +++ b/.tekton/retag-collector.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest retag-collector" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/retag-scanner-db-slim.yaml b/.tekton/retag-scanner-db-slim.yaml index 2e66f4c35d3b5..b12967e7265eb 100644 --- a/.tekton/retag-scanner-db-slim.yaml +++ b/.tekton/retag-scanner-db-slim.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest retag-scanner-db-slim" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/retag-scanner-db.yaml b/.tekton/retag-scanner-db.yaml index 1f0ff6d8c48c0..86760047e0976 100644 --- a/.tekton/retag-scanner-db.yaml +++ b/.tekton/retag-scanner-db.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest retag-scanner-db" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/retag-scanner-slim.yaml b/.tekton/retag-scanner-slim.yaml index 5fcdca00ac801..48b637c351fe4 100644 --- a/.tekton/retag-scanner-slim.yaml +++ b/.tekton/retag-scanner-slim.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest retag-scanner-slim" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/retag-scanner.yaml b/.tekton/retag-scanner.yaml index b40e49e7eef9d..d239fe4f105d5 100644 --- a/.tekton/retag-scanner.yaml +++ b/.tekton/retag-scanner.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest retag-scanner" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/roxctl-build.yaml b/.tekton/roxctl-build.yaml index 593c74c59009a..957de6f662359 100644 --- a/.tekton/roxctl-build.yaml +++ b/.tekton/roxctl-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest roxctl-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/scanner-v4-build.yaml b/.tekton/scanner-v4-build.yaml index f7fe2ce7b3999..bf13c879e9257 100644 --- a/.tekton/scanner-v4-build.yaml +++ b/.tekton/scanner-v4-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-v4-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | ( diff --git a/.tekton/scanner-v4-db-build.yaml b/.tekton/scanner-v4-db-build.yaml index 34694d3c51f90..d53cbc7e6bfdf 100644 --- a/.tekton/scanner-v4-db-build.yaml +++ b/.tekton/scanner-v4-db-build.yaml @@ -8,6 +8,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "500" + pipelinesascode.tekton.dev/on-comment: "/konflux-retest scanner-v4-db-on-push" # TODO(ROX-21073): re-enable for all PR branches pipelinesascode.tekton.dev/on-cel-expression: | (