fix(ci): the CI images are named by the forge's public address, so the runners' Docker can pull them #2584
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2584
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/ci-image-public-host"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Since the CI images went into the registry (after #2557), every pull request's jobs that run in an image fail within a second. #2581's run 54707 shows it:
ci.ymlaskedci_image.sh imageabout the registry atgithub.server_url, and the script names each image by that same host. Inside the server,github.server_urlishttp://magicbean-git:3000, a name the Docker daemon that starts a job's container cannot resolve.ci.ymlnow asks the public address,https://git.magicbean.dev. The image is thengit.magicbean.dev/magicbeandev/longshot-ci-*:<tag>, which is the nameci.mdalready gives.ci_image.shis unchanged, so the images' tags stay the same, and this PR's own run pulls the images that are already in the registry.Read
.forgejo/workflows/ci.yml, the "The CI images" step.Testing
Tested:
scripts/linux/ci_image.sh image https://git.magicbean.dev, run here, finds both images (checks_ready=true,lite_ready=true). This PR's own CI is the real test: its jobs should start ingit.magicbean.dev/magicbeandev/longshot-ci-checks:dadd4c6bd7790988and...-lite:4db55277817032db.Still to test: None beyond this PR's CI.
Measurements
Nothing to measure: the name of an image.
Risks
The pull now goes through the public address, so it passes through Cloudflare, but only for layers the runner hasn't cached yet. Revert to undo; every job would then fall back to installing its tools only if the images are missing, which they aren't, so a revert brings the failure back.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (this PR's CI runs it)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
https://claude.ai/code/session_017vw8e1RP1VgcWpgA7Kq6ec
ddbefdf80b7fd0a5760aWIP: fix(ci): the CI images are named by the forge's public address, so the runners' Docker can pull themto fix(ci): the CI images are named by the forge's public address, so the runners' Docker can pull them