mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
ci: publish block releases from hosted runners
The release job holds contents: write and packages: write and logs in to GHCR, and builds its images with the runner's Docker. Following BLOCK_RUNNER_LABEL put it on the persistent pool that same-repository PR test jobs also use, whose Docker and build cache those jobs can leave state in, and whose Docker setup is still listed as unvalidated. The source repository published from ubuntu-latest; keep that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ed6d649794
commit
fef4dbaaac
3 files changed
+4
-5
No files matched your search
@@ -53,9 +53,8 @@ class PortTests(unittest.TestCase):
|
||||
self.assertIn('docker pull "${BLOCK_IMAGE}@${BLOCK_DIGEST}"', text)
|
||||
self.assertIn('gh release create "$GITHUB_REF_NAME"', text)
|
||||
self.assertIn('--latest=false', text)
|
||||
self.assertIn('vars.BLOCK_RUNNER_LABEL', text)
|
||||
self.assertIn("|| 'ubuntu-latest'", text)
|
||||
self.assertIn('github.event.pull_request.head.repo.full_name == github.repository', text)
|
||||
self.assertIn("runs-on: ubuntu-latest", text)
|
||||
self.assertNotIn("BLOCK_RUNNER_LABEL", text)
|
||||
self.assertIn('sw-block-${version}-linux-amd64.tar.gz', text)
|
||||
self.assertNotIn("go build", text)
|
||||
for name in ("sw-block", "blockcsi"):
|
||||
|
||||
Reference in new issue
Block a user