ci: add Docker custom-password test to build-docker and build-docker-alpine jobs#634
Merged
vharseko merged 2 commits intocopilot/update-dockerfile-cddl-headerfrom Apr 10, 2026
Conversation
Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/cc13deaf-b3f7-4a71-a803-23ae7384ec32 Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add test for Docker with custom ROOT_PASSWORD
ci: add Docker custom-password test to build-docker and build-docker-alpine jobs
Apr 10, 2026
704a5d7
into
copilot/update-dockerfile-cddl-header
15 of 17 checks passed
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.
PR #633 removes
ENV ROOT_PASSWORD="password"from both Dockerfiles and relies on${ROOT_PASSWORD:-password}shell fallback inHEALTHCHECK. The existing "Docker test" steps only exercise the default-password path; there was no coverage for containers started with-e ROOT_PASSWORD=<custom>.Changes
build-dockerjob — new stepDocker test custom passwordafter the existingDocker test:-e ROOT_PASSWORD=custom_password(--memory=512m, nametest_custom)HEALTHCHECKresolves the env var correctly)ldapsearch --bindPassword custom_passwordto confirm the server accepted the custom credentialbuild-docker-alpinejob — identical step for the-alpineimage (--memory=1g)Container name
test_customis distinct from the existingtestto avoid naming conflicts within the same job.Original prompt
This pull request was created from Copilot chat.