Skip to content
This repository was archived by the owner on Oct 13, 2026. It is now read-only.

Pull both Ignition versions the labs use (8.3.6 and 8.3.8) - #4

Merged
sdonche merged 1 commit into
mainfrom
pull-both-ignition-versions
Sep 24, 2026
Merged

sdonche merged 1 commit into
mainfrom
pull-both-ignition-versions

Conversation

@sdonche

@sdonche sdonche commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Why

COURSE_IMAGES pinned only ignition:8.3.6, but the labs run both 8.3.6 and 8.3.8. Students therefore pull the second gateway image on Day 1 — over shared classroom Wi-Fi, behind one NAT, against Docker Hub's per-IP anonymous rate limit. That is precisely the failure the pre-pull exists to prevent, as the comment above COURSE_IMAGES says.

Found while reviewing Mustry-Academy/cicd-welcome-package#1, which tells students the preflight pulls both versions. That PR is accurate only once this one lands, so this should merge first.

What

Split the two uses of the pin apart:

  • IGNITION_IMAGE — unchanged at 8.3.6, still the single image the smoke test and the bind-mount check run against (both only ever need one gateway).
  • IGNITION_IMAGES — new, the full set that gets pulled; feeds COURSE_IMAGES.

README's requirement table updated to list both tags.

Verification

  • bash -n scripts/preflight.sh and shellcheck scripts/*.sh clean locally (CI runs both).
  • COURSE_IMAGES expands to exactly four images in the pull loop, with the smoke-test image still resolving to 8.3.6.
  • docker manifest inspect resolves both tags; each publishes amd64 and arm64, so Apple Silicon is unaffected.

Not changed: the 20 GB free-disk recommendation still covers the extra image.

🤖 Generated with Claude Code

The labs run on 8.3.6 and 8.3.8, but only 8.3.6 was in COURSE_IMAGES, so
everyone downloads the second gateway image on Day 1 — over shared
classroom Wi-Fi, behind one NAT, against Docker Hub's per-IP anonymous
rate limit. That is the exact failure this pre-pull exists to avoid.

Split the two uses apart: IGNITION_IMAGE stays the single image the smoke
test and bind-mount check run against, and the new IGNITION_IMAGES holds
the full set that gets pulled.

Both tags publish amd64 and arm64, so Apple Silicon is unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sdonche
sdonche merged commit 4651464 into main Sep 24, 2026
1 check passed
@sdonche
sdonche deleted the pull-both-ignition-versions branch September 24, 2026 07:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant