-
Notifications
You must be signed in to change notification settings - Fork 42
feat: support executing nightly tests on CI #669
Conversation
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
|
.ci/Jenkinsfile
Outdated
tags += " && ${NIGHTLY_TAG}" | ||
} else { | ||
tags += " && ~${NIGHTLY_TAG}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect as it is saying:
Use the existing tags and exclude the nightly tag if it is disabled
and
Use the existing tags and add the nightly tag if it is enabled
The second is wrong as it will get all scenarios containing the tags AND nightly, which means it will only run the nightly scenario. It should be a (($tags) OR nightly)
I'm designing it in another manner
8e1be8c
to
b81ab1c
Compare
jenkins run the tests please |
jenkins run the tests please |
jenkins run the tests please |
Same 3 errors as in master. Merging |
* docs: document SKIP_SCENARIOS variable * chore: support running nightly scenarios only from the nighltly builds * fix: wrong variable assignment
* docs: document SKIP_SCENARIOS variable * chore: support running nightly scenarios only from the nighltly builds * fix: wrong variable assignment
* docs: document SKIP_SCENARIOS variable * chore: support running nightly scenarios only from the nighltly builds * fix: wrong variable assignment
* docs: document SKIP_SCENARIOS variable * chore: support running nightly scenarios only from the nighltly builds * fix: wrong variable assignment
What does this PR do?
It instruments the CI to be able to modify the tags to be run in the CI test execution, adding or excluding the
@nightly
tag from Godog. To achieve that, we have defined a global environment variable for the tag to be added/excluded, NIGHTLY_TAG, and a Jenkins input parameter to control the nightly tags, NIGHTLY_SCENARIOS, which takesfalse
as default value.Finally, the nightly job for Fleet will trigger the main job setting the new parameter with
true
value, although it's also possible to run thee nightly tests when running the main job manually, be it a PR or a branch.Why is it important?
We want Fleet's nightly build to run the tests that are marked as
@nightly
.Checklist
make notice
in the proper directory)Related issues
Use cases
Follow-ups
We still have to replace the
@skip
tag from the Upgrade tests with@nightly
, but we are going to do that in another R, as we are testing its behaviour before enabling it back.