-
Notifications
You must be signed in to change notification settings - Fork 583
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: added nightly run from spread-cron #14729
base: master
Are you sure you want to change the base?
tests: added nightly run from spread-cron #14729
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14729 +/- ##
==========================================
+ Coverage 78.95% 79.03% +0.08%
==========================================
Files 1084 1087 +3
Lines 146638 147906 +1268
==========================================
+ Hits 115773 116898 +1125
- Misses 23667 23769 +102
- Partials 7198 7239 +41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
795d9a0
to
def93ae
Compare
…ms; If ALL, then don't list out systems for spread
…rams to pass entire prefix
0d40ace
to
b0a65c3
Compare
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.
Partial review, I'll do more tomorrow.
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.
Thanks
…ap usage and check for empty rules when running spread
This PR migrates all cron jobs from spread-cron to snapd that run spread tests on snapd. It makes a minor change in the spread-test.yaml to allow for use of the master snap along with two required environment variables.
It also adds the possibility of executing with (in addition to manually specifying the systems) "ALL" systems or "NONE." To help not create confusion, it will no longer be possible to leave the systems input blank.
To ensure the commands will run correctly, I ran a job in snapd-ci with cron disabled to check the executed spread commands. To ensure the scheduling mechanism works correctly, I pushed the changes to the master branch of snapd-ci and saw the three triggers 2 am UTC for nested and nightly, 3 am UTC for experimental and openstack, and 6 am UTC for build from current.
Cron jobs
spread-cron - snapd-nightly-suite
Command in spread-cron
Command in new nightly tests
spread-cron - snapd-test-build-from-current
Command in spread-cron
Command in new nightly tests
and
spread-cron - snapd-test-experimental
Command in spread-cron
Command in new nightly tests
spread-cron - snapd-test-openstack
Command in spread-cron
Command in new nightly tests
Currently not available because the testing environment doesn't have spread-plus. The output will be:
spread -no-debug-output -logs spread-logs openstack:tests/main/...