Skip to content

Commit dfa3d0f

Browse files
ci: add param for dispatcherd flag in e2e-dispatch (#1294)
Add a new param to set the dispatcherd feature flag in our e2e-dispatch workflow. This workflow is always executed from main. This allows us to run on demand the test suite with the feature flag enabled. Once the feature flag is implemented and merged in main, we will have to update this workflow to add a matrix strategy and run the test suite by default with the flag enabled. For now, it is intended to work only for on-demand runs. Signed-off-by: Alex <[email protected]>
1 parent aa6e5b8 commit dfa3d0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/e2e-dispatch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
description: 'filter for pytest to be used after "-k" flag, default is empty'
1212
required: false
1313
default: ''
14+
feature_dispatcherd_enabled:
15+
description: 'enable feature dispatcherd, default is false'
16+
required: false
17+
default: 'False'
1418
pull_request_target:
1519
types:
1620
- labeled
@@ -52,6 +56,7 @@ jobs:
5256
env:
5357
DJANGO_SETTINGS_MODULE: aap_eda.settings.default
5458
EDA_DEBUG: "false"
59+
EDA_FEATURE_DISPATCHERD_ENABLED: ${{ github.event.inputs.feature_dispatcherd_enabled }}
5560
run: |
5661
docker compose -p eda -f tools/docker/docker-compose-dev.yaml build
5762
docker compose -p eda -f tools/docker/docker-compose-dev.yaml up -d
@@ -176,6 +181,7 @@ jobs:
176181
# multinode-upstream tests require a longer timeout
177182
# to allow for the time it takes to start the workers inside the tests
178183
EDAQA_DEFAULT_TIMEOUT: 120
184+
EDA_FEATURE_DISPATCHERD_ENABLED: ${{ github.event.inputs.feature_dispatcherd_enabled }}
179185
run: |
180186
pytest -vv -s eda_qa/tests/whitebox/upstream --junit-xml=eda-qa-e2e-multinode-test-results.xml --reruns ${{ env.PYTEST_RETRIES }}
181187

0 commit comments

Comments
 (0)