Skip to content

ocl-load-test: build under a local-only image name - #784

Merged
mogoodrich merged 1 commit into
masterfrom
ocl-load-test-image-name
Nov 13, 2026
Merged

mogoodrich merged 1 commit into
masterfrom
ocl-load-test-image-name

Conversation

@mogoodrich

Copy link
Copy Markdown
Member

Follow-up to #783, which merged before this fix was pushed.

scripts/ocl-load-test.sh built the test distribution as partnersinhealth/zl-emr:latest. On GitHub runners that doesn't matter, but when the PIH "ocl" Claude skill runs it on a developer machine, it replaced their local copy of the published image with a build of the test export.

Now:

  • The script builds as ocl-load-test/zl-emr:<instance>, a local-only name, and removes that image at the end.
  • initialize needs the OpenMRS image before the build, to find the user that owns openmrs-data. So the script first tags the published partnersinhealth/zl-emr:latest under the test name. The two images run as the same user, and the build replaces the tag.

Tested locally with 1.8.56: it passed, partnersinhealth/zl-emr:latest had the same image ID before and after, and the test image was removed.

🤖 Generated with Claude Code

The test build was tagged partnersinhealth/zl-emr:latest, replacing a
developer's local copy of the published image with a build of the test
export. Build it as ocl-load-test/zl-emr:<instance> instead, and remove it at
the end. initialize needs the image before the build (to find the user that
owns openmrs-data), so the published image is tagged under the test name first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mogoodrich
mogoodrich merged commit 3f77c7a into master Nov 13, 2026
1 check passed
@mogoodrich
mogoodrich deleted the ocl-load-test-image-name branch November 13, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant