@@ -104,7 +104,20 @@ define prompt_for_credentials
104104endef
105105
106106
107- test-deployment : test-deployment-with-grafana # # runs deployment test on local deploy (with Grafana by default)
107+ test-deployment : _check_venv_active # # runs deployment test on deploy
108+ @$(call prompt_for_credentials)
109+ @$(call create_locust_config)
110+ @printf " $( YELLOW) Starting Locust...$( NC) \n"
111+ @export $$(cat $(AUTH_CREDS_FILE ) | xargs ) && \
112+ locust --config $(LOCUST_CONFIG_FILE )
113+
114+ test-deployment-ci : _check_venv_active # # runs deployment test on CI
115+ @$(call prompt_for_credentials)
116+ @$(call create_locust_config)
117+ @printf " $( YELLOW) Starting Locust headless...$( NC) \n"
118+ @export $$(cat $(AUTH_CREDS_FILE ) | xargs ) && \
119+ locust --config $(LOCUST_CONFIG_FILE ) \
120+ --headless
108121
109122test-deployment-with-grafana : _check_venv_active grafana-dashboards-up # # runs deployment test with Grafana integration
110123 @$(call prompt_for_credentials)
@@ -119,13 +132,6 @@ test-deployment-with-grafana: _check_venv_active grafana-dashboards-up ## runs d
119132 --pgpassword=$(PG_PASSWORD ) \
120133 --timescale
121134
122- test-deployment-no-grafana : _check_venv_active # # runs deployment test without Grafana integration
123- @$(call prompt_for_credentials)
124- @$(call create_locust_config)
125- @printf " $( YELLOW) Starting Locust without Grafana integration...$( NC) \n"
126- @export $$(cat $(AUTH_CREDS_FILE ) | xargs ) && \
127- locust --config $(LOCUST_CONFIG_FILE ) \
128- --headless
129135
130136
131137
0 commit comments