Commit graph

283 commits

Author SHA1 Message Date
MKLeb
a1274fc2dd Remove the 1: prefix from the deb versioning scheme 2023-04-12 18:40:36 -07:00
MKLeb
de40a6d568 Remove all the decimals in photon versions 2023-04-12 12:53:39 -07:00
MKLeb
6e289e74da Don't check for failovermethod on photon 2023-04-12 12:53:39 -07:00
MKLeb
0de00506bd more .0 fixing 2023-04-12 12:53:39 -07:00
MKLeb
809857d293 Add photon to available choices for the rpm repo 2023-04-12 12:53:39 -07:00
MKLeb
0ac12971db Don't run upgrade tests for photon 2023-04-12 12:53:39 -07:00
Twangboy
866dbbdebc Don't count failure as an Error. Don't check tar.xz 2023-04-11 21:38:05 +01:00
Pedro Algarvio
d6210277ec Handle the version from the release event
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-11 21:38:05 +01:00
Twangboy
be7dd894d8 Fix pre-commit/lint 2023-04-11 21:38:05 +01:00
Twangboy
4cc0388850 Add workflow to upload to VirusTotal 2023-04-11 21:38:05 +01:00
MKLeb
bd378232d4 Remove package name argument when building from source, we don't need it 2023-04-11 10:04:23 -07:00
MKLeb
230337b32e Change the spec and rules file to use tools, and build from source using tools for rpms and debs 2023-04-11 10:04:23 -07:00
MKLeb
77377f7aae Add building from source step to pipeline for debs and rpms 2023-04-11 10:04:23 -07:00
MKLeb
d64789912c extract useful variables out to a shared context file 2023-04-11 10:04:23 -07:00
MKLeb
7106b1ba5b make the onedir build logic more generic, not expecting files under certain sub-paths 2023-04-11 10:04:23 -07:00
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