Commit ea67e7e
chore: add Local Test Runner support for E2E Tests for RHDH core. (#4023)
* local test runner
* fix(pipelines): dynamically select latest nodejs UBI9 image tag
Instead of hardcoding nodejs:18-ubi8, query the cluster for available
nodejs imagestream tags and select the latest UBI9 version. Falls back
to 18-ubi8 if no UBI9 tags are found.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Update .ibm/pipelines/utils.sh
Co-authored-by: Zbyněk Drápela <61500440+zdrapela@users.noreply.github.com>
* feat(e2e-tests): add CLI flags for non-interactive local test runner
Add CLI flags (-j, -r, -t, -p, -s) to local-run.sh for automation and
quick runs without interactive prompts. Also improve container-init.sh
to pre-compute and save config before deployment so URLs are available
even if deployment fails.
Additional fixes:
- Fix secrets parsing in local-test-setup.sh to handle special chars
- Minor formatting fix in utils.sh for piped command
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat(e2e-tests): add multi-platform support for AKS, EKS, and GKE
Extend local test runner to support non-OpenShift Kubernetes platforms:
- Derive CONTAINER_PLATFORM from job name (*aks*, *eks*, *gke*, *osd*)
- Add platform-specific cluster login (oc for OCP/OSD, kubectl for others)
- Handle service account token creation for non-OpenShift clusters
- Update container-init.sh to configure kubectl context for AKS/EKS/GKE
- Add interactive menu options for AKS, EKS, GKE job selection
- Update help text and examples for multi-platform usage
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Zbyněk Drápela <61500440+zdrapela@users.noreply.github.com>1 parent 071c52c commit ea67e7e
File tree
7 files changed
+1300
-8
lines changed- .ibm/pipelines
- e2e-tests
7 files changed
+1300
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
684 | | - | |
685 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
686 | 690 | | |
687 | 691 | | |
688 | 692 | | |
| |||
841 | 845 | | |
842 | 846 | | |
843 | 847 | | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
844 | 875 | | |
845 | 876 | | |
846 | 877 | | |
| |||
1320 | 1351 | | |
1321 | 1352 | | |
1322 | 1353 | | |
1323 | | - | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
1324 | 1359 | | |
1325 | 1360 | | |
1326 | 1361 | | |
| |||
0 commit comments