package containment // BubblewrapSHA256 is the pinned bubblewrap 0.11.0 build for linux/amd64, // the only target a release runs on. It is the digest in // internal/release/manifest.json. const BubblewrapSHA256 = "0dfa36b98ada69568aaaa741fe210d2150a1441433bd13c428137d6a972a959c" // BubblewrapSHA256Arm64 is the same Debian package's arm64 build, so the // namespace tests can run on an arm64 CI machine. No release ships for it. const BubblewrapSHA256Arm64 = "ef2316fc741885e6d7b422661ea60c20cbe07ec7eb592a4c2370cbcb90843b59" // BubblewrapPin is the digest of the pinned bubblewrap built for goarch. // ok is false where there is no pinned build, and nothing starts there. func BubblewrapPin(goarch string) (pin string, ok bool) { switch goarch { case "amd64": return BubblewrapSHA256, true case "arm64": return BubblewrapSHA256Arm64, true } return "", false }