Skip to content

Commit 999c6a6

Browse files
author
openshift-pipelines-bot
committed
[bot:main] update konflux configuration
1 parent da32925 commit 999c6a6

File tree

4 files changed

+26
-19
lines changed

4 files changed

+26
-19
lines changed

.github/workflows/auto-merge-upstream-console-plugin.yaml renamed to .github/workflows/auto-merge-upstream.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated for Konflux Application openshift-pipelines-core by openshift-pipelines/hack. DO NOT EDIT
2-
name: auto-merge-upstream-console-plugin
2+
name: auto-merge-upstream-p12n-console-plugin
33

44
on:
55
workflow_dispatch: {}
@@ -14,13 +14,13 @@ jobs:
1414
steps:
1515
- name: Checkout the current repo
1616
uses: actions/checkout@v4
17-
- name: auto-merge-upstream-console-plugin
17+
- name: auto-merge-upstream-p12n-console-plugin
1818
run: |
1919
gh auth status
2020
git config user.name openshift-pipelines-bot
2121
git config user.email pipelines-extcomm@redhat.com
2222
# Approve and merge pull-request with no reviews
23-
for p in $(gh pr list --search "head:actions/update/sources-console-plugin" --json "number" | jq ".[].number"); do
23+
for p in $(gh pr list --search "head:actions/update/sources-p12n-console-plugin" --json "number" | jq ".[].number"); do
2424
gh pr merge --rebase --delete-branch --auto $p
2525
done
2626
env:

.github/workflows/update-sources-console-plugin.yaml renamed to .github/workflows/update-sources.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Generated for Konflux Application openshift-pipelines-core by openshift-pipelines/hack. DO NOT EDIT
2-
name: update-sources-console-plugin
3-
2+
name: update-sources-p12n-console-plugin
43
on:
54
workflow_dispatch: {}
65
schedule:
7-
- cron: "0 1 * * *" # At 1AM everyday
6+
- cron: "0 1 * * *" # At 1:00 everyday
87

98
jobs:
109

.tekton/console-plugin-main-console-plugin-pull-request.yaml renamed to .tekton/p12n-console-plugin-next-console-plugin-pull-request.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ kind: PipelineRun
44
metadata:
55
annotations:
66
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
7-
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines-konflux/tektoncd-operator/refs/heads/main/.tekton/docker-build-ta.yaml"
8-
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines-konflux/console-plugin.git?rev={{revision}}
7+
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
8+
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/p12n-console-plugin.git?rev={{revision}}
99
build.appstudio.redhat.com/commit_sha: '{{revision}}'
1010
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
1111
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
@@ -14,12 +14,12 @@ metadata:
1414
== "main" &&
1515
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
1616
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
17-
".tekton/console-plugin-main-console-plugin-pull-request.yaml".pathChanged())
17+
".tekton/p12n-console-plugin-next-console-plugin-pull-request.yaml".pathChanged())
1818
labels:
19-
appstudio.openshift.io/application: openshift-pipelines-core-main
20-
appstudio.openshift.io/component: console-plugin-main-console-plugin
19+
appstudio.openshift.io/application: openshift-pipelines-core-next
20+
appstudio.openshift.io/component: p12n-console-plugin-next-console-plugin
2121
pipelines.appstudio.openshift.io/type: build
22-
name: console-plugin-main-console-plugin-on-pull-request
22+
name: p12n-console-plugin-next-console-plugin-on-pull-request
2323
namespace: tekton-ecosystem-tenant
2424
spec:
2525
params:
@@ -33,6 +33,10 @@ spec:
3333
value: 5d
3434
- name: dockerfile
3535
value: .konflux/dockerfiles/console-plugin.Dockerfile
36+
- name: additional-tags
37+
value:
38+
- "on-pr-next"
39+
- "on-pr-next"
3640
- name: build-platforms
3741
value:
3842
- linux/x86_64
@@ -42,7 +46,7 @@ spec:
4246
pipelineRef:
4347
name: docker-build-ta
4448
taskRunTemplate:
45-
serviceAccountName: build-pipeline-console-plugin-main-console-plugin
49+
serviceAccountName: build-pipeline-p12n-console-plugin-next-console-plugin
4650
workspaces:
4751
- name: git-auth
4852
secret:

.tekton/console-plugin-main-console-plugin-push.yaml renamed to .tekton/p12n-console-plugin-next-console-plugin-push.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ metadata:
55
annotations:
66
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
77
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
8-
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines-konflux/console-plugin.git?rev={{revision}}
8+
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/p12n-console-plugin.git?rev={{revision}}
99
build.appstudio.redhat.com/commit_sha: '{{revision}}'
1010
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
1111
pipelinesascode.tekton.dev/max-keep-runs: "3"
1212
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
1313
== "main" &&
1414
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
1515
".konflux/dockerfiles/console-plugin.Dockerfile".pathChanged() ||
16-
".tekton/console-plugin-main-console-plugin-push.yaml".pathChanged())
16+
".tekton/p12n-console-plugin-next-console-plugin-push.yaml".pathChanged())
1717
creationTimestamp: null
1818
labels:
19-
appstudio.openshift.io/application: openshift-pipelines-core-main
20-
appstudio.openshift.io/component: console-plugin-main-console-plugin
19+
appstudio.openshift.io/application: openshift-pipelines-core-next
20+
appstudio.openshift.io/component: p12n-console-plugin-next-console-plugin
2121
pipelines.appstudio.openshift.io/type: build
22-
name: console-plugin-main-console-plugin-on-push
22+
name: p12n-console-plugin-next-console-plugin-on-push
2323
namespace: tekton-ecosystem-tenant
2424
spec:
2525
params:
@@ -31,13 +31,17 @@ spec:
3131
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/console-plugin-rhel9:{{revision}}
3232
- name: dockerfile
3333
value: .konflux/dockerfiles/console-plugin.Dockerfile
34+
- name: additional-tags
35+
value:
36+
- "next"
37+
- "next"
3438
- name: prefetch-input
3539
value: |
3640
[{"type": "rpm", "path": ".konflux/rpms"}, {"type": "yarn", "path": "upstream"}]
3741
pipelineRef:
3842
name: docker-build-ta
3943
taskRunTemplate:
40-
serviceAccountName: build-pipeline-console-plugin-main-console-plugin
44+
serviceAccountName: build-pipeline-p12n-console-plugin-next-console-plugin
4145
workspaces:
4246
- name: git-auth
4347
secret:

0 commit comments

Comments
 (0)