Skip to content

Commit dd59d8f

Browse files
pramodbindalsavitaashture
authored andcommitted
Add e2e test run for chains
Add environment variables for chains e2e Add e2e for manualapprovalgate Add Document for E2E configuration
1 parent df3a4b5 commit dd59d8f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

Diff for: .konflux/tekton/bundle-e2e-pipeline.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,16 @@ spec:
236236
env:
237237
- name: KUBECONFIG
238238
value: "/credentials/$(steps.get-kubeconfig.results.kubeconfig)"
239+
- name: CHAINS_DOCKER_CONFIG_JSON
240+
valueFrom:
241+
secretKeyRef:
242+
key: config.json
243+
name: quay-io-dockerconfig
239244
script: |
245+
246+
export CHAINS_REPOSITORY=quay.io/openshift-pipeline/chainstest
247+
240248
gauge run --tags="" --log-level=debug --verbose specs/pipelines/
241249
gauge run --tags="" --log-level=debug --verbose specs/metrics/
250+
gauge run --tags="" --log-level=debug --verbose specs/chains/
251+
gauge run --tags="" --log-level=debug --verbose specs/manualapprovalgate/

Diff for: docs/E2E.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This document explains about the e2e configuration in Konflux.
2+
3+
#### Release Test Repo:
4+
Release tests are executed from this repo
5+
https://github.com/openshift-pipelines/release-tests
6+
7+
#### Required Secrets:
8+
To run the release tests we need to have below secrets in konflux tenant.
9+
10+
- <b> github </b> <br/>
11+
This Secret is required to access private repositories on Github. in absence of this tests related to private repos will fail.
12+
13+
```
14+
oc create secret generic github --from-literal=github-token=$GITHUB_TOKEN
15+
```
16+
17+
18+
* <b> quay-io-dockerconfig </b> <br/>
19+
This secret is used to access repos from quay.io/openshift-pipeline
20+
```
21+
oc create secret generic quay-io-dockerconfig --from-literal=config.json=$QUAY_DOCKERCONFIG
22+
```
23+

0 commit comments

Comments
 (0)