You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have packages be built and test by CI for the release (only on master and tags) (#7351)
* Have packages be built by CI
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Fix package testing for modern base images and improve debugging
- Upgrade deb test image from debian:10 to debian:12
- Migrate rpm test image from centos:8 (EOL) to rockylinux:9
- Fix systemd unit paths for Rocky Linux (/lib -> /usr/lib)
- Add proper Cortex config and data directories in test containers
- Increase readiness timeout and add diagnostic output on failure
- Run containers in privileged mode for systemd compatibility
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Rename centos-systemd to rockylinux-systemd
The base image was migrated from centos:8 to rockylinux:9 in the
previous commit. Rename the directory and update all references in
the Makefile and test-packages script to match.
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* create test-packages step
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Correctly build packages
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Fix build issues
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Build the binaries once and re-use them
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Prevent packages being rebuilt
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Split to build-dist the building step
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* let's just run the test
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* avoid using qemu for this
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Now each runner only builds the test image for its own architecture.
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Teting for cgroups v2
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Fix binary permissions before building packages
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Split to its own file
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Implement loop
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
* Apply only to master
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
---------
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
Copy file name to clipboardExpand all lines: RELEASE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,8 +102,8 @@ To publish a release candidate:
102
102
1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag)
103
103
1. Create a pre-release in GitHub
104
104
- Write the release notes (including a copy-paste of the changelog)
105
-
-Build binaries with `make dist` and attach them to the release
106
-
-Build packages with `make packages`, test them with `make test-packages` and attach them to the release
105
+
-Download binaries from the `Dist Binaries` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
106
+
-Download packages from the `Packages` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
107
107
1.[Sign the artifact and generate SBOM for the release](#sing-and-sbom)
108
108
109
109
### Publish a stable release
@@ -119,8 +119,8 @@ To publish a stable release:
119
119
1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag)
120
120
1. Create a release in GitHub
121
121
- Write the release notes (including a copy-paste of the changelog)
122
-
-Build binaries with `make dist` and attach them to the release
123
-
-Build packages with `make packages`, test them with `make test-packages` and attach them to the release
122
+
-Download binaries from the `Dist Binaries` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
123
+
-Download packages from the `Packages` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
124
124
1.[Sign the artifact and generate SBOM for the release](#sing-and-sbom)
125
125
1. Merge the release branch `release-x.y` to `master`
0 commit comments