Commit graph

73 commits

Author SHA1 Message Date
Pedro Algarvio
b85da8d8b0
Merge 3006.x into master 2023-09-26 07:01:03 +01:00
Pedro Algarvio
2dfc9b286f Thrown an error once we stop testing against 3005.x to cleanup old code
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
47d1d34398 Don't run upgrade tests for Photon OS 4 Arm64 packages.
We never had these prior to 3006.0

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
f389c29473
Merge 3006.x into master
Conflicts:
 * requirements/darwin.txt
 * requirements/pytest.txt
 * requirements/static/ci/common.in
 * requirements/static/ci/darwin.in
 * requirements/static/ci/freebsd.in
 * requirements/static/ci/linux.in
 * requirements/static/ci/py3.10/cloud.txt
 * requirements/static/ci/py3.10/darwin.txt
 * requirements/static/ci/py3.10/freebsd.txt
 * requirements/static/ci/py3.10/lint.txt
 * requirements/static/ci/py3.10/linux.txt
 * requirements/static/ci/py3.10/windows.txt
 * requirements/static/ci/py3.11/windows.txt
 * requirements/static/ci/py3.7/cloud.txt
 * requirements/static/ci/py3.7/freebsd.txt
 * requirements/static/ci/py3.7/lint.txt
 * requirements/static/ci/py3.7/linux.txt
 * requirements/static/ci/py3.8/cloud.txt
 * requirements/static/ci/py3.8/freebsd.txt
 * requirements/static/ci/py3.8/lint.txt
 * requirements/static/ci/py3.8/linux.txt
 * requirements/static/ci/py3.8/windows.txt
 * requirements/static/ci/py3.9/cloud.txt
 * requirements/static/ci/py3.9/darwin.txt
 * requirements/static/ci/py3.9/freebsd.txt
 * requirements/static/ci/py3.9/lint.txt
 * requirements/static/ci/py3.9/linux.txt
 * requirements/static/ci/py3.9/windows.txt
 * requirements/static/pkg/freebsd.in
 * requirements/static/pkg/linux.in
 * requirements/static/pkg/py3.10/darwin.txt
 * requirements/static/pkg/py3.10/windows.txt
 * requirements/static/pkg/py3.11/windows.txt
 * requirements/static/pkg/py3.8/windows.txt
 * requirements/static/pkg/py3.9/darwin.txt
 * requirements/static/pkg/py3.9/windows.txt
 * requirements/windows.txt
2023-09-13 16:09:29 +01:00
MKLeb
2077995108 Allow getting the latest 3005 release from GH releases, we are publishing them consistently now 2023-09-11 21:41:05 +01:00
MKLeb
7e9dc8ca63 Start initial flow for downgrade tests 2023-09-11 21:41:05 +01:00
MKLeb
d4f8bc1cbb Use ctx.web for requests and require the --salt-version kwarg 2023-07-28 18:24:59 +01:00
MKLeb
924885d4c2 Add get-latest-release command so we can dynamically get the previous versions to test upgrades and downgrades for 2023-07-28 18:24:59 +01:00
Pedro Algarvio
df09fd980d
Merge 3006.x into master 2023-07-18 16:37:08 +01:00
Pedro Algarvio
439b365817 Allow randomizing the GH Actions cache seed value by setting the test:random-cache-seed label
This allows us to force a PR to not use any caches at all(since they are
all getting build from scratch again) to debug potential GH Actions caching issues.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-14 16:41:02 +01:00
Pedro Algarvio
46103123e4 Allow forcing the package tests to run by the test:pkg label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
7a2eeada09 Allow forcing the package tests to run by the test:pkg label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-07 16:02:07 +00:00
Pedro Algarvio
d5f14ef632
Merge 3006.x into master 2023-06-30 16:43:42 +01: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
6b55d99154 Pass the list of Salt releases from the prior step that queried the GH API 2023-06-29 13:01:04 -07:00
MKLeb
350c9982ff Use ctx.web for requests and require the --salt-version kwarg 2023-06-29 13:01:04 -07:00
MKLeb
5289a2d50a Add get-latest-release command so we can dynamically get the previous versions to test upgrades and downgrades for 2023-06-29 13:01:04 -07:00
Pedro Algarvio
c4987f83ed
Merge 3006.x into master 2023-06-28 11:51:20 +01:00
Pedro Algarvio
2d824c9153 Enable code coverage on pull-requests by setting the test:coverage label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
4b85fc6e17 Concentrate test selection to a single place
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
3fe2f44903 Choose a full test run when a PR has the test:full label
Fixes #64539

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
2d513978a5 Switch to using tools and re-use the event payload available instead of querying again
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
264a52b88a Fix nightly builds on the master branch
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-29 23:48:04 +01:00
Pedro Algarvio
a81f58f37d Define a variable for the path to shared-gh-workflows-context.yml
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
Pedro Algarvio
d933bec989 Try harder to detect what is the target release for changelog generation.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
MKLeb
759dbf2fe6 Convert the versions to strings before dumping them as json 2023-05-02 15:49:00 -07:00
MKLeb
28861443fe Only run the download tests for the latest subpath if the current version being released is greater than or equal to the latest salt release 2023-05-02 15:49:00 -07:00
Pedro Algarvio
eb20a93fcc Also drop matrix usage for macOS and Windows
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
9b662d2a1b Allow skipping package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-17 14:08:30 +01:00
MKLeb
0ac12971db Don't run upgrade tests for photon 2023-04-12 12:53:39 -07:00
Pedro Algarvio
4c52012c9a Less release prep steps on tag pushes
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
34b1233dc7 Stop re-running workflows using GitHub Actions.
The GitHub Actions Runners backend takes care of that.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-27 12:39:38 +01:00
Pedro Algarvio
39c5668b42 Changed workflows should also trigger the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-17 11:47:50 +00:00
Pedro Algarvio
59d9843e49 Improve package download workflow matrices
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00: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
a4b5df927e Add package download tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +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
75dd968577 Only de-select build-source-tarball if build-docs is also False
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-10 09:38:19 -07: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
4e707cba04 Allow jobs on forks which have self hosted runners setup.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +00:00
Pedro Algarvio
9c44ccc9db Fix dictionary key typo
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-06 08:16:18 -07:00
Pedro Algarvio
72939b2b39 Allow skipping the package tests when staging a release
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
David Murphy
8e2ee26c21 WIP Updates to Debian / Ubuntu upgrade tests 2023-02-28 15:27:46 +00:00
Pedro Algarvio
795d32376c Treat package tests separately
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
Megan Wilhite
92c10c9154 Do not run arm64 onedir upgrade package tests 2023-02-28 15:27:46 +00:00
Megan Wilhite
2e85cc95ad Fix centos upgrade tests 2023-02-28 15:27:46 +00:00
Pedro Algarvio
5e26146fe4 Move package tests definition to the appropriate template
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
MKLeb
2e4a208c21 Use quotes when the nox session has parentheses 2023-02-28 15:27:46 +00:00