Commit graph

704 commits

Author SHA1 Message Date
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
8332091303 Fix the bash comparisson
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +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
5a0a0c919a Default to not running scheduled builds on forks.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-06 08:16:18 -07:00
Pedro Algarvio
18f431ed0d Trigger schedule(nightly) builds on non default branches
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-06 08:16:18 -07:00
Megan Wilhite
f0e318c4f6 Fix pre-commit 2023-03-02 07:34:57 -07:00
Megan Wilhite
0a91c77e9a Make the change on the release jinja template 2023-03-02 07:34:57 -07:00
Megan Wilhite
07dfe688c5 Fix path for publish packages and use --rc-build for rc releases 2023-03-02 07:34:57 -07:00
Pedro Algarvio
bab28c4b18 Fix source repository path
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-01 14:57:12 +00:00
Pedro Algarvio
b0e029a759 One more fix to upload standalone source repository artifacts globs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-01 11:47:06 +00:00
Pedro Algarvio
0cce61646c Add message about the v prefix
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-01 11:04:08 +00:00
Pedro Algarvio
e72bcdadb7 Fix upload standalone source repository artifacts globs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-01 11:04:08 +00:00
Pedro Algarvio
504c2563eb Install wheel when creating the Salt dependencies onedir
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-01 10:03:02 +00:00
Pedro Algarvio
ba477eff6a Run staging and release check on their own GitHub Environment
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 21:03:17 +00:00
Pedro Algarvio
1813c34c47 Store the gpg key ID in a variable on the layout.yml.jinja template
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 19:22:57 +00:00
Pedro Algarvio
848fd0fecf Un-nest the build repositories steps too.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 19:22:57 +00:00
Pedro Algarvio
65d7761e8a Bah! workflow reference count exceeds the limit of 20 AGAIN!
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 19:22:57 +00:00
Pedro Algarvio
c60d2aa626 Move the 1: prefix to tools/changelog.py when generating the deb changelog
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
Pedro Algarvio
2e6a10d3dd Adjust to the new package artifact upload names
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00: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
Pedro Algarvio
5fb3323e84 Template package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
Pedro Algarvio
5119715ac6 Track package tests in test_salt_pkg_needs
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-28 15:27:46 +00:00
MKLeb
a20f0f3a53 remove ubuntu 18.04 from the package tests, we are no longer testing on it. Also supply the minion_tgt for test_services 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
Megan Wilhite
cf28439dae fix merge wart 2023-02-28 15:27:46 +00:00
Pedro Algarvio
9452c2e394 Start building onedir packages
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
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
MKLeb
f51e1f21be Allow running the tests when changes are exclusively made to the package tests files in PRs 2023-02-28 15:27:46 +00:00
MKLeb
5ec2c7e13f Supply the correct salt-version argument to the non-draft changelog update 2023-02-28 15:27:46 +00:00
MKLeb
fccc252794 Supply the correct salt-version argument, again 2023-02-28 15:27:46 +00:00
MKLeb
c18fb3a6d3 Supply the correct salt-version argument 2023-02-28 15:27:46 +00:00
MKLeb
fc9e7ef012 Fix mac runners key in template 2023-02-28 15:27:46 +00:00
MKLeb
188053be22 Prepend the salt package version with 1: on deb-based distros 2023-02-28 15:27:46 +00:00
MKLeb
3f1398269e New key for github hosted runners 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
dd312d56d0 New location for self-hosted-runners key 2023-02-28 15:27:46 +00:00
MKLeb
ab45f5e484 Attempt to build the RPMs on centosstream 9 again 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
f7c692ed76 MacOS also needs the cache seed 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
f67f7bf80b Add windows NSIS and MSI test runs 2023-02-28 15:27:46 +00:00
MKLeb
935e64c3fb prepare-ci is called prepare-workflow now 2023-02-28 15:27:46 +00:00
MKLeb
2ed180e20d Fix macos pypi proxy logic 2023-02-28 15:27:46 +00:00
MKLeb
d97d568791 Give the mac package test file the correct name 2023-02-28 15:27:46 +00:00