Skip to content

Commit

Permalink
Add e2e test run for chains
Browse files Browse the repository at this point in the history
Add environment variables for chains e2e

Add e2e for manualapprovalgate

Add Document for E2E configuration
  • Loading branch information
pramodbindal authored and savitaashture committed Feb 6, 2025
1 parent df3a4b5 commit dd59d8f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .konflux/tekton/bundle-e2e-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,16 @@ spec:
env:
- name: KUBECONFIG
value: "/credentials/$(steps.get-kubeconfig.results.kubeconfig)"
- name: CHAINS_DOCKER_CONFIG_JSON
valueFrom:
secretKeyRef:
key: config.json
name: quay-io-dockerconfig
script: |
export CHAINS_REPOSITORY=quay.io/openshift-pipeline/chainstest
gauge run --tags="" --log-level=debug --verbose specs/pipelines/
gauge run --tags="" --log-level=debug --verbose specs/metrics/
gauge run --tags="" --log-level=debug --verbose specs/chains/
gauge run --tags="" --log-level=debug --verbose specs/manualapprovalgate/
23 changes: 23 additions & 0 deletions docs/E2E.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This document explains about the e2e configuration in Konflux.

#### Release Test Repo:
Release tests are executed from this repo
https://github.com/openshift-pipelines/release-tests

#### Required Secrets:
To run the release tests we need to have below secrets in konflux tenant.

- <b> github </b> <br/>
This Secret is required to access private repositories on Github. in absence of this tests related to private repos will fail.

```
oc create secret generic github --from-literal=github-token=$GITHUB_TOKEN
```


* <b> quay-io-dockerconfig </b> <br/>
This secret is used to access repos from quay.io/openshift-pipeline
```
oc create secret generic quay-io-dockerconfig --from-literal=config.json=$QUAY_DOCKERCONFIG
```

0 comments on commit dd59d8f

Please sign in to comment.