Skip to content

Fetch SP releases from GitHub Releases instead of permslip #10760

Open
emilyalbini wants to merge 3 commits into
iliana/tufaceous-v2/10.relengfrom
ea-brussels
Open

Fetch SP releases from GitHub Releases instead of permslip #10760
emilyalbini wants to merge 3 commits into
iliana/tufaceous-v2/10.relengfrom
ea-brussels

Conversation

@emilyalbini

Copy link
Copy Markdown
Member

This PR switches downloading SP images from permslip to the GitHub Releases published by Brussels (internal link) in the releng tooling.

We will be using the Sigstore attestation produced by GitHub Immutable Releases to pin the SP version into the repo, which includes hashes for all release artifacts. I will later change the SP release process to automatically send a PR updating the attestation when a new SP version is published.

This PR is best reviewed commit-by-commit. It is based on top of #10676.

@emilyalbini emilyalbini requested review from iliana and labbott July 7, 2026 14:40

@labbott labbott left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES :D

I'll let iliana give a closer review but at a high level LGTM

Comment on lines +284 to +292
let resp = self
.client
.get(&url)
.send()
.await
.with_context(|| format!("failed to request {url}"))?;
if !resp.status().is_success() {
bail!("request to {url} failed with {}", resp.status());
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate asking this but do we need to consider adding retries :|

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything that talks to the GitHub API should probably have a few retries around it, since the alternative is usually that whatever job it's doing gets manually retried by a human being with a much greater degree of latency...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair, done!

@iliana

iliana commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

For planning: does this need to get in sooner rather than later? I'm not planning on landing #10676 until after we branch for R21, which is planned to occur later this week (we hope).

@emilyalbini

Copy link
Copy Markdown
Member Author

For planning: does this need to get in sooner rather than later? I'm not planning on landing #10676 until after we branch for R21, which is planned to occur later this week (we hope).

None of this is super urgent (it "just" reduces the pain of releasing Hubris), I think it's fine to wait until R12 branches.

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.

4 participants