Repository navigation
IBX-12907: Rebuilt and re-pulled Docker images when starting project containers - #158
Merged
Merged
Conversation
Blacksmith runners keep a Docker image cache shared across jobs and product versions. `docker compose up -d` then reuses a cached `ibexa-varnish:latest` built by another version's job, with that version's VCL baked in. The 4.6 VCL keeps only the `eZSESSID` session cookie, so on 5.0 (`IBX_SESSION_ID`) Varnish strips the admin session and every back-office page after login renders logged out. `--build` rebuilds images from the current project's Dockerfiles, and `--pull always` refreshes cached service images such as the PHP one.
…oken The test called the GitHub API anonymously, which shares a 60 requests per hour limit per IP with every job on the GitHub-hosted runner, so it failed at random with ApiLimitExceedException.
|
alongosz
marked this pull request as ready for review
December 4, 2026 12:22
alongosz
requested review from
KamilSznajdrowicz,
Steveb-p,
ViniTou,
barbaragr,
barw4,
bnowak,
ciastektk,
juskora,
katarzynazawada,
konradoboza,
mikadamczyk,
pawlakadrian,
tbialcz,
tomaszszopinski and
wiewiurdp
December 4, 2026 12:25
konradoboza
approved these changes
Dec 4, 2026
Steveb-p
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Related PRs:
Description:
Blacksmith runners keep a Docker image cache shared across jobs and product versions.
docker compose up -dreuses a cachedibexa-varnish:latestbuilt by another version's job, with that version'svarnish5.vclbaked in. The 4.6 VCL keeps only theeZSESSIDsession cookie, so on 5.0 (IBX_SESSION_ID) Varnish strips the admin session: login works, every later back-office page renders logged out. It broke the Varnish setup jobs of the 5.0 merge-ups deterministically, e.g. commerce run 47305580511, while the GitHub-hosted 5.0 nightly with the same packages built the image fresh and passed.Added
--buildtodocker compose upin the 4.6, 5.0 and 6.0prepare_project_edition.sh, so images are always built from the current project's Dockerfiles (layer cache keeps it fast).Added
--pull always, so cached service images (e.g.ghcr.io/ibexa/docker/php) are refreshed as well.[Tests] Authenticated
LinkDependenciesCommandTestwith the workflow token (github.token). It called the GitHub API anonymously, sharing the 60 requests per hour limit of the runner's IP with every other job, so it failed at random, e.g. in Tests (8.3):🟢 Varnish setup on Blacksmith (5.0, PHP 8.3/PostgreSQL 18.0/Varnish/Redis 7.2), previously failing 3/3: browser-tests (0) via IBX-12907: Merged branch '4.6' into 5.0 commerce#2169
For QA:
No QA required.
Documentation:
No documentation required.