-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: add switch to move executions between google and openstack #15122
base: master
Are you sure you want to change the base?
tests: add switch to move executions between google and openstack #15122
Conversation
I think you're missing the piece that passes the alternative-backend entry to the spread-tests.yaml workflow. I believe it should be something like: uses: ./.github/workflows/spread-tests.yaml
with:
runs-on: '["self-hosted", "spread-enabled"]'
group: ${{ matrix.group }}
backend: ${{ matrix.backend }}
alternative-backend: ${{ matrix.alternative-backend }}
systems: ${{ matrix.systems }}
tasks: ${{ matrix.tasks }}
rules: ${{ matrix.rules }} Unfortunately, that will mean that alternative-backend entry has to be present in every other group in the jsons, otherwise the test.yaml will break. |
Wed Feb 26 16:23:45 UTC 2025 Failures: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15122 +/- ##
========================================
Coverage 78.07% 78.07%
========================================
Files 1182 1183 +1
Lines 157743 158157 +414
========================================
+ Hits 123154 123480 +326
- Misses 26943 27005 +62
- Partials 7646 7672 +26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Katie May <63071677+maykathm@users.noreply.github.com>
12f4db6
to
7d1553f
Compare
7d1553f
to
3628cf7
Compare
This is needed because the vars are not shared to forked environments
603d098
to
67940b8
Compare
Through this change it is possible to determine if the alternative backend has to be used for the a group in the ci
Alternative backends usage depends on the value stored in the file USE_ALTERNATIVE_BACKEND, where it is defined the backend to use when images are ready in both google and openstack.
The content for USE_ALTERNATIVE_BACKEND is:
opensuse: false,
debian-not-req: false,
centos: false,
ubuntu-jammy: false,
ubuntu-focal (fundamental): false,
ubuntu-noble (fundamental): false
In case we need to swith a group, we just need to change false by true