File tree Expand file tree Collapse file tree 8 files changed +45
-42
lines changed
Expand file tree Collapse file tree 8 files changed +45
-42
lines changed Original file line number Diff line number Diff line change 1+ ---
12apiVersion : appstudio.redhat.com/v1beta2
23kind : IntegrationTestScenario
34metadata :
2223 value : main
2324 - name : pathInRepo
2425 value : integration-tests/pipelines/e2e-main-pipeline.yaml
25- resolver : git
26+ resolver : git
Original file line number Diff line number Diff line change 1+ ---
12apiVersion : rbac.authorization.k8s.io/v1
23kind : Role
34metadata :
45 name : plr-manager
56rules :
6- - apiGroups :
7- - tekton.dev
8- resources :
9- - pipelineruns
10- verbs :
11- - get
12- - watch
13- - list
14- - update
15- - patch
16- - delete
17- - create
18- - apiGroups :
19- - tekton.dev
20- resources :
21- - taskruns
22- verbs :
23- - watch
24- - apiGroups :
25- - " "
26- resources :
27- - pods
28- - pods/log
29- verbs :
30- - get
31- - watch
32- - list
7+ - apiGroups :
8+ - tekton.dev
9+ resources :
10+ - pipelineruns
11+ verbs :
12+ - get
13+ - watch
14+ - list
15+ - update
16+ - patch
17+ - delete
18+ - create
19+ - apiGroups :
20+ - tekton.dev
21+ resources :
22+ - taskruns
23+ verbs :
24+ - watch
25+ - apiGroups :
26+ - " "
27+ resources :
28+ - pods
29+ - pods/log
30+ verbs :
31+ - get
32+ - watch
33+ - list
Original file line number Diff line number Diff line change 1+ ---
12apiVersion : rbac.authorization.k8s.io/v1
23kind : RoleBinding
34metadata :
45 name : manage-plr
56subjects :
6- - kind : ServiceAccount
7- name : appstudio-pipeline
8- apiGroup : " "
7+ - kind : ServiceAccount
8+ name : appstudio-pipeline
9+ apiGroup : " "
910roleRef :
1011 kind : Role
1112 name : plr-manager
Original file line number Diff line number Diff line change 1+ ---
12apiVersion : tekton.dev/v1beta1
23kind : Pipeline
34metadata :
3334 value : $(context.pipelineRun.name)
3435 - name : get-pict-file
3536 runAfter :
36- - test-metadata
37+ - test-metadata
3738 taskSpec :
3839 results :
3940 - name : pict-file
5152 curl -o $(results.pict-file.path) https://raw.githubusercontent.com/$FORK/rhtap-cli/refs/heads/$BRANCH/integration-tests/pict-models/default.pict
5253 - name : generate-configs
5354 runAfter :
54- - get-pict-file
55+ - get-pict-file
5556 taskSpec :
5657 results :
5758 - name : configs-json
7576 steps :
7677 - name : start-pipeline
7778 image : quay.io/openshift-pipeline/ci
78- env :
79+ env :
7980 - name : SNAPSHOT
8081 value : $(params.SNAPSHOT)
8182 - name : JOB_SPEC
@@ -102,7 +103,7 @@ spec:
102103 --labels "test.appstudio.openshift.io/scenario=pr-e2e-tests" \
103104 --prefix-name "e2e-$version"\
104105 -o name)
105-
106+
106107 tkn pipelinerun logs "$pipeline_run_name" -f | sed "s/^/$pipeline_run_name: /"
107108
108109 pipelinerun_status=$(tkn pipelinerun describe "$pipeline_run_name" -o jsonpath='{.status.conditions[0].status}')
@@ -124,4 +125,3 @@ spec:
124125 exit 1
125126 fi
126127 done
127-
Original file line number Diff line number Diff line change 1515 default : ' '
1616 type : string
1717 - name : ocp-version
18- description : ' The OpenShift version to use for the ephemeral cluster deployment.'
18+ description : ' The OpenShift version to use for the ephemeral cluster deployment.'
1919 type : string
2020 - name : cloud-credential-key
2121 type : string
@@ -177,7 +177,7 @@ spec:
177177 value : main
178178 - name : pathInRepo
179179 value : common/tasks/sprayproxy/sprayproxy-deprovision/sprayproxy-unregister-server.yaml
180- params :
180+ params :
181181 - name : ocp-login-command
182182 value : " $(tasks.provision-rosa.results.ocp-login-command)"
183183 - name : pull-request-status-message
@@ -198,4 +198,4 @@ spec:
198198 - name : pipeline-aggregate-status
199199 value : " $(tasks.status)"
200200 - name : job-spec
201- value : " $(params.job-spec)"
201+ value : " $(params.job-spec)"
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ integrations:
8282 clientSecret: "${GITHUB__APP__CLIENT__SECRET} "
8383 host: "github.com"
8484 publicKey: |-
85- $( echo " ${GITHUB__APP__PRIVATE_KEY} " | sed ' s/^/ /' )
85+ $( printf " %s\n " " ${GITHUB__APP__PRIVATE_KEY} " | sed ' s/^/ /' )
8686 token: "${GITOPS__GIT_TOKEN} "
8787 webhookSecret: "${GITHUB__APP__WEBHOOK__SECRET} "
8888EOF
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /usr/ bin/env bash
22# ROSA HCP workaround for Docker limits
33# for namespaces 'minio-operator'
44set -o errexit
Original file line number Diff line number Diff line change 4040 value : " $(params.acs_install_enabled)"
4141 - name : quay_install_enabled
4242 value : " $(params.quay_install_enabled)"
43- - name : github_enabled
43+ - name : github_enabled
4444 value : " $(params.github_enabled)"
4545 - name : gitlab_enabled
4646 value : " $(params.gitlab_enabled)"
You can’t perform that action at this time.
0 commit comments