Skip to content

Commit 6789ed0

Browse files
sync pipelineruns with konflux-central - 886fa9e, triggered_by: https://github.com/red-hat-data-services/konflux-central/actions/runs/30277666266
1 parent b03eb28 commit 6789ed0

3 files changed

Lines changed: 153 additions & 5 deletions

.tekton/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All Tekton file updates **must be made in the `konflux-central` repository**.
66

77
## ✅ How to Make Changes
88

9-
To modify the pipelines for `argo-workflows` in the `main` branch:
9+
To modify the pipelines for `argo-workflows` in the `rhoai-3.6-ea.1` release:
1010

1111
- Clone the [`konflux-central`](https://github.com/red-hat-data-services/konflux-central) repository.
1212

@@ -15,10 +15,10 @@ git clone git@github.com:red-hat-data-services/konflux-central.git
1515
cd konflux-central
1616
```
1717

18-
- Check out the branch
18+
- Check out the release branch
1919

2020
```bash
21-
git checkout main
21+
git checkout rhoai-3.6-ea.1
2222
```
2323

2424
- Navigate to the Tekton files for your component(s).
@@ -32,8 +32,8 @@ cd pipelineruns/argo-workflows/.tekton
3232
- Commit and push your changes.
3333

3434
```bash
35-
git commit -am "Update pipelinerun for argo-workflows (main)"
36-
git push origin main
35+
git commit -am "Update pipelinerun for argo-workflows (rhoai-3.6-ea.1)"
36+
git push origin rhoai-3.6-ea.1
3737
```
3838

3939
- Once pushed, automation will automatically sync your updates to the corresponding component repository.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/argo-workflows?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/cancel-in-progress: "false"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-3.6-ea.1"
14+
&& ( files.all.exists(p, !p.matches('^\\.tekton/')) || ".tekton/odh-data-science-pipelines-argo-argoexec-v3-6-ea-1-push.yaml".pathChanged() )
15+
labels:
16+
appstudio.openshift.io/application: rhoai-v3-6-ea-1
17+
appstudio.openshift.io/component: odh-data-science-pipelines-argo-argoexec-v3-6-ea-1
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-data-science-pipelines-argo-argoexec-v3-6-ea-1-on-push
20+
namespace: rhoai-tenant
21+
spec:
22+
params:
23+
- name: git-url
24+
value: '{{source_url}}'
25+
- name: revision
26+
value: '{{revision}}'
27+
- name: additional-tags
28+
value:
29+
- '{{target_branch}}-{{revision}}'
30+
- name: output-image
31+
value: quay.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel9:{{target_branch}}
32+
- name: rhoai-version
33+
value: "3.6.0-ea.1"
34+
- name: dockerfile
35+
value: argo-argoexec/Dockerfile.konflux
36+
- name: path-context
37+
value: .
38+
- name: hermetic
39+
value: true
40+
- name: prefetch-input
41+
value: |
42+
[
43+
{
44+
"type": "gomod"
45+
},
46+
{
47+
"type": "rpm"
48+
}
49+
]
50+
- name: build-source-image
51+
value: true
52+
- name: build-image-index
53+
value: true
54+
- name: build-platforms
55+
value:
56+
- linux/x86_64
57+
- linux-m2xlarge/arm64
58+
- linux/ppc64le
59+
pipelineRef:
60+
resolver: git
61+
params:
62+
- name: url
63+
value: https://github.com/red-hat-data-services/konflux-central.git
64+
- name: revision
65+
value: '{{ target_branch }}'
66+
- name: pathInRepo
67+
value: pipelines/multi-arch-container-build.yaml
68+
taskRunTemplate:
69+
serviceAccountName: build-pipeline-odh-data-science-pipelines-argo-argoexec-v3-6-ea-1
70+
workspaces:
71+
- name: git-auth
72+
secret:
73+
secretName: '{{ git_auth_secret }}'
74+
status: {}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/argo-workflows?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/cancel-in-progress: "false"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml"
11+
pipelinesascode.tekton.dev/on-cel-expression: |
12+
event == "push"
13+
&& target_branch == "rhoai-3.6-ea.1"
14+
&& ( files.all.exists(p, !p.matches('^\\.tekton/')) || ".tekton/odh-data-science-pipelines-argo-workflowcontroller-v3-6-ea-1-push.yaml".pathChanged() )
15+
labels:
16+
appstudio.openshift.io/application: rhoai-v3-6-ea-1
17+
appstudio.openshift.io/component: odh-data-science-pipelines-argo-workflowcontroller-v3-6-ea-1
18+
pipelines.appstudio.openshift.io/type: build
19+
name: odh-data-science-pipelines-argo-workflowcontroller-v3-6-ea-1-on-push
20+
namespace: rhoai-tenant
21+
spec:
22+
params:
23+
- name: git-url
24+
value: '{{source_url}}'
25+
- name: revision
26+
value: '{{revision}}'
27+
- name: additional-tags
28+
value:
29+
- '{{target_branch}}-{{revision}}'
30+
- name: output-image
31+
value: quay.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9:{{target_branch}}
32+
- name: rhoai-version
33+
value: "3.6.0-ea.1"
34+
- name: dockerfile
35+
value: argo-workflowcontroller/Dockerfile.konflux
36+
- name: path-context
37+
value: .
38+
- name: hermetic
39+
value: true
40+
- name: prefetch-input
41+
value: |
42+
[
43+
{
44+
"type": "gomod"
45+
},
46+
{
47+
"type": "rpm"
48+
}
49+
]
50+
- name: build-source-image
51+
value: true
52+
- name: build-image-index
53+
value: true
54+
- name: build-platforms
55+
value:
56+
- linux/x86_64
57+
- linux-m2xlarge/arm64
58+
- linux/ppc64le
59+
pipelineRef:
60+
resolver: git
61+
params:
62+
- name: url
63+
value: https://github.com/red-hat-data-services/konflux-central.git
64+
- name: revision
65+
value: '{{ target_branch }}'
66+
- name: pathInRepo
67+
value: pipelines/multi-arch-container-build.yaml
68+
taskRunTemplate:
69+
serviceAccountName: build-pipeline-odh-data-science-pipelines-argo-workflowcontroller-v3-6-ea-1
70+
workspaces:
71+
- name: git-auth
72+
secret:
73+
secretName: '{{ git_auth_secret }}'
74+
status: {}

0 commit comments

Comments
 (0)