Skip to content

Commit 797012f

Browse files
fix(ci): consume the published MinIO image (#7870)
Switch every CI job that starts MinIO to the public `ghcr.io/block/buzz-minio:latest` image published by #7869. Integration jobs pull the image; image builds stay in the separate, path-filtered publisher workflow. - Apply the CI Compose override to both desktop integration shards, backend integration, relay E2E, and mesh lifecycle, including script-mediated Compose calls. Both the server and bucket initializer use the Buzz image. - Override both MinIO images in Helm's quickstart CI values, covering the server, bucket initializer, and relay's wait-for-bucket init container in the gated kind installation. - Select integration and mesh checks when either Compose file changes, with regression coverage using the real pinned `dorny/paths-filter` action. ### Publication verified #7869 is merged, and [the first main-branch publication](https://github.com/block/buzz/actions/runs/36021389137/job/107706874954) succeeded. An anonymous pull using an empty Docker configuration returned the publisher's digest: `sha256:b8470bbeafbf57b20c86cf63804682b714bdcfdbb517f3770247e321e623f48f`. This PR is rebased onto main and ready for consumer integration checks. ### Validation - Ran the repository's MinIO smoke script against the actual published AMD64 image: healthy startup, bucket initialization, object upload/read/delete, and rejection of anonymous reads all passed. Used the rendered CI Compose services with isolated local ports and resource names. - Verified `mc` runs and writes its configuration as Helm's non-root UID/GID 65532 with dropped capabilities and no privilege escalation. - Helm 3.16.4 lint and quickstart rendering passed; all three rendered MinIO container references use the Buzz image. - All 14 CI selection cases and the required-context isolation check passed. Mesh workflow passes actionlint; shared workflows pass with shellcheck disabled for pre-existing findings. - Fresh repository-wide review traced workflow and script consumers and found no remaining CI image omissions. Full application integration checks and a real kind installation have not been run locally. --------- Signed-off-by: Tyler Longwell <[email protected]>
1 parent 309e34d commit 797012f

5 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/_ci-relay.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ jobs:
207207
--archive-file target/ci/postgres-tests.tar.zst
208208
209209
desktop-e2e-integration-shard:
210+
env:
211+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
210212
name: Desktop E2E Integration (${{ matrix.shard }}/2)
211213
runs-on: ubuntu-latest
212214
timeout-minutes: 20
@@ -400,6 +402,8 @@ jobs:
400402
echo "Desktop E2E Integration shards passed"
401403
402404
backend-integration:
405+
env:
406+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
403407
name: Backend Integration (relay e2e)
404408
runs-on: ubuntu-latest
405409
timeout-minutes: 20
@@ -562,6 +566,8 @@ jobs:
562566
if-no-files-found: ignore
563567

564568
relay-e2e:
569+
env:
570+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
565571
name: Relay E2E
566572
runs-on: ubuntu-latest
567573
timeout-minutes: 20

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
- 'deny.toml'
5656
- '.github/workflows/ci.yml'
5757
- '.github/workflows/_ci-*.yml'
58+
- 'docker-compose.yml'
59+
- 'docker-compose.ci.yml'
5860
- 'scripts/run-tests.sh'
5961
- 'scripts/model-capabilities.json'
6062
- 'scripts/normative-corpus.json'

‎.github/workflows/mesh-lifecycle.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ on:
2222
- 'scripts/ci-mesh-lifecycle-smoke.sh'
2323
- 'scripts/start-relay-for-tests.sh'
2424
- '.github/workflows/mesh-lifecycle.yml'
25+
- 'docker-compose.yml'
26+
- 'docker-compose.ci.yml'
2527
pull_request:
2628
paths:
2729
- 'crates/buzz-mesh-smoke/**'
@@ -34,6 +36,8 @@ on:
3436
- 'scripts/ci-mesh-lifecycle-smoke.sh'
3537
- 'scripts/start-relay-for-tests.sh'
3638
- '.github/workflows/mesh-lifecycle.yml'
39+
- 'docker-compose.yml'
40+
- 'docker-compose.ci.yml'
3741
workflow_dispatch:
3842

3943
concurrency:
@@ -45,6 +49,8 @@ env:
4549

4650
jobs:
4751
lifecycle-smoke:
52+
env:
53+
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
4854
name: Relay-Driven Mesh Lifecycle Smoke
4955
runs-on: ubuntu-24.04
5056
timeout-minutes: 45

‎deploy/charts/buzz/ci/quickstart-values.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ redis:
99
enabled: true
1010
minio:
1111
enabled: true
12+
image: ghcr.io/block/buzz-minio:latest
13+
mcImage: ghcr.io/block/buzz-minio:latest
1214
relayUrl: wss://buzz.test.local
1315
ownerPubkey: "0000000000000000000000000000000000000000000000000000000000000001"
1416
relay:

‎scripts/ci-selection.test.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ const scenarios = [
113113
["relay", ["crates/buzz-relay/src/main.rs"], ["rust"]],
114114
["migration", ["migrations/123.sql"], ["rust"]],
115115
["shared workflow", [".github/workflows/ci.yml"], ["rust", "mobile"]],
116+
["integration services", ["docker-compose.yml"], ["rust"]],
117+
["CI integration images", ["docker-compose.ci.yml"], ["rust"]],
116118
[
117119
"mixed mobile and relay",
118120
["mobile/lib/main.dart", "crates/buzz-core/src/lib.rs"],

0 commit comments

Comments
 (0)