File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 runs-on : ubuntu-latest
1717 env :
1818 SKIP_OLM_TESTS : " true"
19+ # TODO: Once the config-file-first approach lands, this will be changed from an
20+ # environment variable to configuring a YAML configuration file, which will be
21+ # used by the e2e tests.
22+ ROXIE_RESOURCE_PROFILE : " tiny"
1923 steps :
2024 - name : Checkout
2125 uses : actions/checkout@v6
Original file line number Diff line number Diff line change 3131 KUBECONFIG : /github/home/artifacts/kubeconfig
3232 INFRA_TOKEN : ${{ secrets.INFRA_CI_TOKEN }}
3333 INFRACTL : bin/infractl -k -e localhost:8443
34+ # TODO: Once the config-file-first approach lands, this will be changed from an
35+ # environment variable to configuring a YAML configuration file, which will be
36+ # used by the e2e tests.
37+ ROXIE_RESOURCE_PROFILE : " small"
3438 steps :
3539 - name : Checkout
3640 uses : actions/checkout@v6
Original file line number Diff line number Diff line change @@ -29,11 +29,19 @@ const (
2929)
3030
3131var (
32- commonDeployArgs = [] string { "--resources=small" }
32+ commonDeployArgs = deployArgsFromEnv ()
3333
3434 roxieBinary = "roxie"
3535)
3636
37+ func deployArgsFromEnv () []string {
38+ profile := os .Getenv ("ROXIE_RESOURCE_PROFILE" )
39+ if profile == "" {
40+ profile = "small"
41+ }
42+ return []string {"--resources=" + profile }
43+ }
44+
3745func teardownAllDeployments () error {
3846 fmt .Println ("=== Tearing down all deployments before running tests ===" )
3947
You can’t perform that action at this time.
0 commit comments