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 @@ -26,11 +26,19 @@ const (
2626)
2727
2828var (
29- commonDeployArgs = [] string { "--resources=small" }
29+ commonDeployArgs = deployArgsFromEnv ()
3030
3131 roxieBinary = "roxie"
3232)
3333
34+ func deployArgsFromEnv () []string {
35+ profile := os .Getenv ("ROXIE_RESOURCE_PROFILE" )
36+ if profile == "" {
37+ profile = "small"
38+ }
39+ return []string {"--resources=" + profile }
40+ }
41+
3442func teardownAllDeployments () error {
3543 fmt .Println ("=== Tearing down all deployments before running tests ===" )
3644
You can’t perform that action at this time.
0 commit comments