Skip to content
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

DAOS-13527 test: Support default tag assignment through Jenkinsfile #377

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phender
Copy link
Contributor

@phender phender commented Jun 6, 2023

The test tags to use the functional test stages should be driven by the method through which the user has started the build. If the build has been built with parameters or started by a timer then the parameters of that build should drive the test tag selection. If the user pushes a PR then any tags defined via commit pragmas should be used followed by the any build parameter tags.

The test tags to use the functional test stages should be driven by the
method through which the user has started the build. If the build has
been built with parameters or started by a timer then the parameters of
that build should drive the test tag selection. If the user pushes a PR
then any tags defined via commit pragmas should be used followed by
the any build parameter tags.

Signed-off-by: Phil Henderson <[email protected]>
tag = 'pr'
if (startedByUpstream()) {
// Default to run simple tests for dowstream builds
tag = 'always_passes'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this reflect

value: ('load_mpi test_core_files ' +
?

TBH, I'm on the fence about whether the default tags for downstream testing belong here or above.

if (!tag) {
// Otherwise use the default PR tag
tag = 'pr'
if (startedByUpstream()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same problem as we discussed before, in that downstream test jobs' parameters are ignored if the branch being used for the downstream job has commit pragmas on it (ignoring for now the commit we add to override the commit pragmas)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants