Commit graph

268 commits

Author SHA1 Message Date
Megan Wilhite
abe4326f18 Do not import salt in tools and add --next-release to version 2023-04-10 19:43:10 -07:00
Megan Wilhite
cbb8d86499 Generate next release notes when on master for nightly builds 2023-04-10 19:43:10 -07:00
Megan Wilhite
532ba37206 Add documentation and ensure users edit the correct file 2023-04-10 19:43:10 -07:00
Megan Wilhite
747db3eb60 Use jinja templating for the release notes 2023-04-10 19:43:10 -07:00
Pedro Algarvio
24929f6938 The gpgkey must have the full URL
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
a2cde281da The .repo files now container the right, and full, url.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
0302fef43a Revert "The onedir repo.json files should contain only full versions. Not just major."
This reverts commit 48e084d0f1.
2023-03-29 11:37:08 -07:00
Pedro Algarvio
e948a82012 Update baseurl from the staging domain to the release domain when promoting
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
19cc93b916 Use the right domain when creating rpm .repo files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -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
e2374a9f1d Run windows package download tests from a bastion VM
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
88f945598f Fix symlinks when decompressing instead of replacing them when compressing dependencies
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
ff93988cd2 Re-enable the package download tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
99deda9a82 Restore release backup in case of problems when releasing.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
1ebe720435 Query the GH Api authenticated if GITHUB_TOKEN env variable is available
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
e0fa70619a Promote from staging to release based on a list of files instead of searching
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
0e12b49c8e We no longer have to pass --rc-build
That can be inferred from the passed salt version.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
3075c12b1e Better handling of exception
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
18babefe14 Get more information when installing packaging dependencies from source
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
MKLeb
467740f4ab utilize tools.utils.REPO_ROOT 2023-03-21 14:44:51 +00:00
MKLeb
c7f08b61e5 remove the quotes from --no-binary 2023-03-21 14:44:51 +00:00
MKLeb
73c0104ad4 add --no-cache-dir to pip install requirements 2023-03-21 14:44:51 +00:00
MKLeb
aa3e2a08e6 We don't need to supply the patch argument anymore 2023-03-21 14:44:51 +00:00
MKLeb
1e319f84fc handle errors on removing paths on macos if they don't exist 2023-03-21 14:44:51 +00:00
MKLeb
9d80605623 Try resolving the salt archive name to resolve the macos issue 2023-03-21 14:44:51 +00:00
MKLeb
00e73da68a take in the path for the salt archive as a string 2023-03-21 14:44:51 +00:00
MKLeb
f917258322 windows uses amd64, not aarch64 2023-03-21 14:44:51 +00:00
MKLeb
9ba8bb6c44 install using pip as a module 2023-03-21 14:44:51 +00:00
MKLeb
3b662a5451 assert the requirements file exists when installing dependencies 2023-03-21 14:44:51 +00:00
MKLeb
82a6deb771 Set USE_STATIC_REQUIREMENTS and RELENV_PIP_DIR when building salt onedir with tools 2023-03-21 14:44:51 +00:00
MKLeb
4a669e9f52 Actually update build-onedir-deps/action.yml 2023-03-21 14:44:51 +00:00
MKLeb
36ca1926f6 Install salt into the onedir using tools 2023-03-21 14:44:51 +00:00
MKLeb
b9f8caa51e Move packaging commands to a subdirectory 2023-03-21 14:44:51 +00:00
MKLeb
35a91e713b remove all references to the patch in the build steps and add a note about relenv needing to be installed for building the onedir dependencies 2023-03-21 14:44:51 +00:00
MKLeb
cc35e3845d Add initial onedir dependencies command 2023-03-21 14:44:51 +00:00
MKLeb
c211bf7baa revert python 3.10 setup from package build steps 2023-03-21 14:44:51 +00:00
MKLeb
946f530b27 Factor out git configuration and applying the release patch to their own tools commands 2023-03-21 14:44:51 +00:00
MKLeb
c6e27f64b0 Refactor tools logic for package building to just take in the artifact names 2023-03-21 14:44:51 +00:00
MKLeb
a0e355349f Give the correct choices for windows arch values 2023-03-21 14:44:51 +00:00
MKLeb
4d45693bfe Move the initial system package build logic to tools 2023-03-21 14:44:51 +00: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
f7d8cc0c46 Any files starting with a dot(.) are not release files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-17 11:47:50 +00:00
Pedro Algarvio
1cde51d7ee Match some more files that need to be copied over to the release bucket.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-17 11:47:50 +00:00
Pedro Algarvio
758d2bf6c3 Don't backup twice prior to a release
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-17 11:47:50 +00:00
Pedro Algarvio
2e0d96b9d5 Skip package download tests for RC2
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
48e084d0f1 The onedir repo.json files should contain only full versions. Not just major.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +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
943c1ab574 Add some log calls to add more context
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