Commit graph

47 commits

Author SHA1 Message Date
Pedro Algarvio
8c243a64de Downgrade importlib-metadata from the workflow, not nox.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
e1d88d9871 Bump to actions/checkout@v4
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
45455b0f6c Update workflows env.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
fcb3df5e46 Throttle concurrency
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
e7612b23d7 Build CI dependencies on separate jobs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
ac7db60b86 Reuse the onedir CI virtualenvs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
MKLeb
7e9dc8ca63 Start initial flow for downgrade tests 2023-09-11 21:41:05 +01:00
Pedro Algarvio
7a6e041de7 Define nox_version in shared-gh-workflows-context.yml and pass it around
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
MKLeb
5c7269aee6 The slash needs to be separate from the command 2023-06-29 13:01:04 -07:00
MKLeb
7aadeaf792 Account for upgrades from new relenv-based repos 2023-06-29 13:01:04 -07:00
MKLeb
296ec76a34 Generate the pkg test matrix and include the versions to test upgrades against within it 2023-06-29 13:01:04 -07:00
MKLeb
f670b637e4 Propogate the now testing-releases through to the package tests 2023-06-29 13:01:04 -07:00
MKLeb
58174eb8e1 Hash the noxfile when calculating part of the cache key for our testing steps, they could be conditionally installing extra dependencies, etc... 2023-06-28 07:27:31 +01:00
Pedro Algarvio
8c93e294ca Unique nox requirements uploads
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
d7bc15851b Fail when we get cache misses on certain steps of the workflows
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
7e5d9d9251 Distinguish nox upload artifact names
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
faaddc0d0e Don't wait for the whole vm destroy process to complete.
Just confirm it started and exit.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-14 15:46:15 -07:00
Pedro Algarvio
61f785f791 Upload package tests nox virtualenv archive
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
a6b89f1640 All package tests use the same nox session now.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
9cfecec61e Don't publish JUnit reports on PR's. Skip Report steps on PRs.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-12 15:19:38 +00:00
Pedro Algarvio
f2121b9a10 Adjust bucket names depending on the salt project bot environment we're in
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-12 15:19:38 +00:00
Pedro Algarvio
cd9db708f8 We not longer set the exit status as an artefact
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-12 15:19:38 +00:00
Pedro Algarvio
f523979c51 Skip code coverage on pull requests.
Because our test coverage on pull requests is partial most of the time,
and to decrease the run time.
On the release staging pipeline it's also skipped because scheduled and
nightly builds already have this information and it saves us a few
minutes.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-11 19:11:12 +00:00
Pedro Algarvio
ebe6c4f6d5 Switch to using our onedir to run the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +00:00
Pedro Algarvio
af5e2e3390 Try to get the VM environment from the instance tags
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +00:00
Pedro Algarvio
5fb3323e84 Template package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
Megan Wilhite
47eef61353 Do not run upgrade tests for MSI for 3005 2023-02-28 15:27:46 +00:00
MKLeb
ef8575e3b0 Download the onedir when we are running the pkg tests 2023-02-28 15:27:46 +00:00
MKLeb
888c117de8 Complete macOS package test pipeline to be analogous to linux and windows 2023-02-28 15:27:46 +00:00
MKLeb
ab3e38c368 Add tests reports for the package tests 2023-02-28 15:27:46 +00:00
MKLeb
fada9b28f3 Give test-packages-action.yml the cache seed 2023-02-28 15:27:46 +00:00
MKLeb
92a5f771a5 Also depend on generate-matrix for the package tests 2023-02-28 15:27:46 +00:00
MKLeb
ed82fb3fb2 Enable nox dependency caching for the package tests 2023-02-28 15:27:46 +00:00
MKLeb
6d3d56eeaf Standardize package bucket naming and implement v1 of the macos package tests 2023-02-28 15:27:46 +00:00
MKLeb
9310a3ba7d Add the rest of the linux package tests to the pipeline 2023-02-28 15:27:46 +00:00
MKLeb
067242f33b don't install rpmdevtools anymore 2023-02-28 15:27:46 +00:00
Caleb Beard
1e40066f98 install rpmdevtools as sudo 2023-02-28 15:27:46 +00:00
Caleb Beard
d9061c62c2 Actually install rpmdevtools on the right machine this time 2023-02-28 15:27:46 +00:00
Caleb Beard
87f32f06f8 install rpmdevtools first 2023-02-28 15:27:46 +00:00
MKLeb
d4fca796d1 Create a matrix of nox sessions and realize that the artifacts were being downloaded correctly all along 2023-02-28 15:27:46 +00:00
MKLeb
e35892e7d6 try with the old way of uploading artifacts 2023-02-28 15:27:46 +00:00
MKLeb
289832eb30 decompress the packages tarball first 2023-02-28 15:27:46 +00:00
MKLeb
a80b9c1031 Remove invalid --run-slow for package test command 2023-02-28 15:27:46 +00:00
MKLeb
2bb3c54cb3 Run the package tests always, for now at least 2023-02-28 15:27:46 +00:00
MKLeb
ab6feafcfb it's inputs not matrix 2023-02-28 15:27:46 +00:00
MKLeb
7251a2d1a3 Supply the correct artifact name for the rpm archive 2023-02-28 15:27:46 +00:00
MKLeb
fa8917b978 First test of the new GH actions package testing pipeline 2023-02-28 15:27:46 +00:00