Commit graph

462 commits

Author SHA1 Message Date
MKLeb
bc3d04d207 Add support for removing corrupted cache entries in tools vm sync-cache 2023-09-11 21:41:05 +01:00
MKLeb
ad718dc50d Fix module has no attribute UpdateProgress 2023-08-31 18:31:12 +00:00
Pedro Algarvio
5ed925ea5e Use the VM slug as the code coverage default context
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
Pedro Algarvio
678831fa65 Add examples and include preliminary support warning.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 13:20:34 +00:00
Pedro Algarvio
5017a8e8ab We now also download package artifacts
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 13:20:34 +00:00
Pedro Algarvio
4f30001ca5 tools.utils is now a package
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 13:20:34 +00:00
Pedro Algarvio
d7d5bb30be Preliminary support to download artifacts to run the test suite locally
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-30 13:20:34 +00:00
Pedro Algarvio
aa34a59dad Check the existence of the file before trying to read from it
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-24 16:29:00 +01:00
Pedro Algarvio
62bddbb496 Default to the test environment
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-23 16:28:52 +00:00
MKLeb
3f3610f670 Add docs explaining key name in environment 2023-08-04 21:24:53 +01:00
MKLeb
a98d31775f Allow setting the key name using an environment variable 2023-08-04 21:24:53 +01:00
Jamie (Bear) Murphy
08482ed6f3 fix quotes in fstring
(cherry picked from commit 611944fa7b)
2023-08-03 19:20:20 +00:00
Jamie (Bear) Murphy
92254e8a03 add missing slash
(cherry picked from commit b2dc649f90)
2023-08-03 19:20:20 +00:00
Jamie (Bear) Murphy
7e7e83b00f linting
(cherry picked from commit 318c198a6f)
2023-08-03 19:20:20 +00:00
Jamie (Bear) Murphy
b984188693 drop latest
(cherry picked from commit 2073e52bc4)
2023-08-03 19:20:20 +00:00
Jamie (Bear) Murphy
2bad38a08c fix nightly repofile path
(cherry picked from commit a58a741150)
2023-08-03 19:20:20 +00: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
897360029e Starting VM's on developer machines now requires VPN access
Choose the `prod` or `test` VPN depending on what kind of environment is
being targeted.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-28 10:58:38 +01:00
MKLeb
4e90e0e7fe Add --delete option to tools vm sync-cache to force the user to know that they are deleting cache entries that are no longer valid 2023-07-19 12:45:04 +01:00
MKLeb
86719a68b5 Add sync-cache command to make the stored state of the machine match up to what ec2 has for all running machines 2023-07-19 12:45:04 +01:00
MKLeb
6d5e8ce887 Add states filtering 2023-07-19 12:45:04 +01:00
MKLeb
a73e73e74b Add tools vm list command 2023-07-19 12:45:04 +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
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
MKLeb
f952418e90 Use download_file for the windows packages as well 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
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
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
4ab503d459 Pass the python version too
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 16:43:53 +01:00
Pedro Algarvio
520ec4a0e9 Pass along the relenv version that should be used.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 16:43:53 +01:00
MKLeb
ae9f9d379b Fix windows and mac building from without an existing onedir 2023-05-24 15:13:40 +01:00
MKLeb
e2a624f984 Build macos packages without existing onedir 2023-05-24 15:13:40 +01:00
MKLeb
c6c9b7fefc Build windows packages without an existing onedir in CICD 2023-05-24 15:13:40 +01:00
Pedro Algarvio
f4af592400 Sometimes the first page does not have any results. Try next page if there's a next token.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 18:40:56 +01:00
MKLeb
dcfdc6b216 Address review comments (typos, docs) 2023-05-09 20:05:29 +01:00
MKLeb
3cd21ceb88 Refactor the tools pkg repo commands into a subdirectory 2023-05-09 20:05:29 +01:00
Pedro Algarvio
ad84d7cae9 Let's not concentrate the logic into a "one liner"
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
f6188fddfc Handle stale cache
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
f871c09e7b Fix typo
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Daniel A. Wozniak
2920f01161 Account for different extras location on win32 2023-05-05 10:11:18 +01:00
Pedro Algarvio
2aad5d20f1 Add build time checks to ensure the right relenv version is being used
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
310991a6d6 The extras-<python-major>.<python-minor> is a Salt thing.
Create it at the right stage.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
5c1ac329c4 Get site-packages from python
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00