Skip to content

Automated releases#631

Draft
chreekat wants to merge 2 commits intomainfrom
b/automated-release
Draft

Automated releases#631
chreekat wants to merge 2 commits intomainfrom
b/automated-release

Conversation

@chreekat
Copy link
Copy Markdown

@chreekat chreekat commented Apr 17, 2026

This is modeled after the machinery in behavioral-model and ptf, with some internal cleanups.

Tbh I'm not sure which repos it's appropriate to have automatic releases for? Is PI appropriate? :) Are there more I should do?

Signed-off-by: Bryan Richter <b@chreekat.net>
This is modeled after the machinery in behavioral-model and ptf, with
some internal cleanups.

Signed-off-by: Bryan Richter <b@chreekat.net>
@chreekat chreekat force-pushed the b/automated-release branch from eabe31b to e02fb0b Compare April 17, 2026 09:10
@chreekat
Copy link
Copy Markdown
Author

CI failure is an unexpected checksum when pulling some dependency:

WARNING: Download from https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was 1c162b579a423fa6876c6c5bc16d39ab4bc05e28898977a0a6af345f523f6357 but wanted 94ced8b72956591c4775ae2207a9763d3600b30d9d7446562c552f0a14a63be7

@chreekat chreekat marked this pull request as draft April 17, 2026 13:10
@chreekat
Copy link
Copy Markdown
Author

chreekat commented Apr 17, 2026

I discovered that if I start relying on a VERSION file, we'd have two sources of truth. E.g. bmv2 uses a script to read that file inside configure.ac. I think I'll just copy what bmv2 does there. Still need to check if there are more such cases of duplication.

@fruffy
Copy link
Copy Markdown
Contributor

fruffy commented Apr 18, 2026

I discovered that if I start relying on a VERSION file, we'd have two sources of truth

Can you elaborate? At least for BMv2 we should get rid of autotools soon.

@fruffy
Copy link
Copy Markdown
Contributor

fruffy commented Apr 18, 2026

Could you also add a form of this? https://github.com/p4lang/behavioral-model/blob/main/.github/release.yml

The automated release notes are useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants