Skip to content

Commit dd914bb

Browse files
codespace: add minimum doc on running tests
Issue: ZENKO-5096
1 parent 9597b0c commit dd914bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.devcontainer/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ To run the CTST tests in the codespace, simply head to `.github/script/end2end/`
1010
bash run-e2e-ctst.sh
1111
```
1212

13+
## Running e2e tests in the codespace
14+
15+
To run the CTST tests in the codespace, head to `.github/script/end2end/` and run `run-e2e-ctst.sh`
16+
script. Some variables need to be exported before running the tests.
17+
18+
```bash
19+
env_variables=$(yq eval '.env | to_entries | .[] | .key + "=" + .value' .github/workflows/end2end.yaml | sed 's/\${{[^}]*}}//g') && export $env_variables
20+
export E2E_IMAGE_TAG=latest
21+
export GCP_BACKEND_DESTINATION_LOCATION=
22+
23+
cd .github/scripts/end2end/
24+
bash run-e2e-test.sh "end2end" ${E2E_IMAGE_NAME}:${E2E_IMAGE_TAG} "backbeat" "default"
25+
```
26+
1327
## Accessing s3 service
1428

1529
This devcontainer is a full Zenko development environment.

0 commit comments

Comments
 (0)