Provide acceptance defaults by project #44
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sane defaults for beaker options, os matrices and vms definitions are
currently duplicated in the various
project/.github/workflows/acceptance.yml workflows, and in the
openvoxproject/acceptance-pipelines/.github/workflows/openvox_acceptance_pipeline.yml,
and would be duplicated again as I work out a build_and_test.yml
pipeline that would also call into beaker_acceptance.yml
This patch pulls all of these fairly static defaults into
beaker_acceptance.yml and selects the correct set based on the give
project-name. This way the callers can just provide the project-name,
ref, and key inputs like versions, unless they really need to fiddle
with beaker for their particular run.
The project-name input used to be synonymous with the actual repository
containing the test suite to execute. But since the separate
openvox-agent repository was deprecated and pushed into
openvox/packaging, that no longer applies, and we have two test suites
inside the openvox repository, openvox/acceptance (the openvox test
suite) and openvox/packaging/acceptance (the openvox-agent test suite)
that we need to be able to execute.
This commit changes project-name to suite-name, and tracks the actual
repository as a default selected with the rest of the defaults
associated with suite-name.