Skip to content

Commit dea6096

Browse files
authored
Merge branch 'release-1.3' into fix_names_in_konflux
2 parents 8d39a9d + 20ceddb commit dea6096

File tree

8 files changed

+45
-42
lines changed

8 files changed

+45
-42
lines changed

integration-tests/custom-resources/e2e-IntegrationTestScenario.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: appstudio.redhat.com/v1beta2
23
kind: IntegrationTestScenario
34
metadata:
@@ -22,4 +23,4 @@ spec:
2223
value: main
2324
- name: pathInRepo
2425
value: integration-tests/pipelines/e2e-main-pipeline.yaml
25-
resolver: git
26+
resolver: git
Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: Role
34
metadata:
45
name: plr-manager
56
rules:
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

integration-tests/custom-resources/plrManager-RoleBinding.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
---
12
apiVersion: rbac.authorization.k8s.io/v1
23
kind: RoleBinding
34
metadata:
45
name: manage-plr
56
subjects:
6-
- kind: ServiceAccount
7-
name: appstudio-pipeline
8-
apiGroup: ""
7+
- kind: ServiceAccount
8+
name: appstudio-pipeline
9+
apiGroup: ""
910
roleRef:
1011
kind: Role
1112
name: plr-manager

integration-tests/pipelines/e2e-main-pipeline.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: tekton.dev/v1beta1
23
kind: Pipeline
34
metadata:
@@ -33,7 +34,7 @@ spec:
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
@@ -51,7 +52,7 @@ spec:
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
@@ -75,7 +76,7 @@ spec:
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-

integration-tests/pipelines/rhtap-cli-e2e.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
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)"

integration-tests/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}"
8888
EOF

integration-tests/scripts/minio.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
# ROSA HCP workaround for Docker limits
33
# for namespaces 'minio-operator'
44
set -o errexit

integration-tests/tasks/rhtap-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
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)"

0 commit comments

Comments
 (0)