Repository navigation
[DOCS] AGENTS.md: test each behaviour in one image, not in every image built on it - #672
Merged
Merged
Conversation
…y image Only webdevops/php checked that docker-service installs, enables and starts the services an image does not run. #671 failed with docker-service enable ssh in php-nginx:8.4-alpine (a broken python3-ndbm in the Alpine repository). php-nginx, php-apache and the -dev images now run the same check, so a nightly build shows it when one of them cannot add a service.
…e built on it The images built FROM webdevops/php share its packages and package sources, and image tests cannot see a package repository that breaks after the build (#671), so the additional services stay tested in webdevops/php only.
|
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.



Why
#671:
RUN docker-service enable sshonwebdevops/php-nginx:8.4-alpinefailed because of a brokenpython3-ndbmin the Alpine repository (aports#18589), which Alpine has fixed since with3.14.10-r3.A first version of this pull request ran
AdditionalServicesChecks(install, enable and start the services an image does not run) in every image, not only inwebdevops/php. That would not have caught #671:php-nginx,php-apacheand the-devimages are builtFROM webdevops/phpand use the same packages and package sources. In the run onmasteron 2026-11-23,webdevops/php:8.4-alpine (amd64)passed this check,sshincluded (14:50 to 15:01 UTC). The broken package appeared in the repository after it.So the same check in every image would only make the pipeline longer. This pull request writes that down for the agents instead.
What
AGENTS.md, new section "Test each behaviour in one image" under "Build and test":AdditionalServicesChecksas the example;docker-service enable ssh#671 as the example.master.Tests
None; documentation for agents only.
How it was verified
The CI run on
master(build, 2026-11-23 13:10 UTC): the jobwebdevops/php:8.4-alpine (amd64)withAdditionalServicesCheckspassed, the jobwebdevops/php-nginx:8.4-alpine (amd64)too.docker-service enable sshin local Alpine images from 2026-11-18 and 2026-11-20 (python3-3.14.10-r1) now installspython3-ndbm-3.14.10-r3and succeeds.