Skip to content

TASKS-598: Docker image partnersinhealth/ces-etl - #151

Merged
mseaton merged 8 commits into
masterfrom
TASKS-598
Oct 2, 2026
Merged

mseaton merged 8 commits into
masterfrom
TASKS-598

Conversation

@mseaton

@mseaton mseaton commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Part of TASKS-598. Builds partnersinhealth/ces-etl on partnersinhealth/petl, the same way as apzu-etl's image (MLW-1865): datasources/, jobs/ and an env-driven application-docker.yml, with no secrets in the image. The build and release workflows push it, tagged latest and the version. ./build-runtime-docker-image.sh builds it locally on petl:local.

The cesci OpenMRS datasource and the warehouse SQL Server datasource map onto distro-tools' PETL_MYSQL_*/PETL_SQLSERVER_*. Other sites' datasources can be set by their Spring env names.

Merge after PIH/petl#50. The deploy-to-ces-ci job still targets the legacy host. A follow-up PR at the ces-ci cutover switches it to run-petl-via-runner.yml on appclstr-01.

Testing: built locally and ran create-partitions.yml refresh-cesci-data.yml end to end against a local ces-emr instance with the CES seed. It succeeded on H2 and SQL Server job stores, creating 28 tables in openmrs_ces_ci.

Consistent with the other ETL projects: update-versions is removed (no Maven properties to update), and containerName placeholders default to empty (${...containerName:}, which needs PIH/petl#50). Merge after PIH/petl#50.

PETL base image: builds on partnersinhealth/petl:latest. Rebuilding when a new PETL image is published is TASKS-611 (dependency update tooling). Merge after PIH/petl#50 (merged), since the ${name:} defaults need it.

🤖 Generated with Claude Code

mseaton and others added 3 commits October 1, 2026 11:39
Layers the jobs, datasources and an env-driven application.yml on partnersinhealth/petl, built and
pushed by the build and release workflows, as apzu-etl's image is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mseaton and others added 2 commits October 1, 2026 16:52
…rName defaults to empty

verify.yml builds the project and the image on PRs, update-versions (a no-op: no dependencies) is
removed, and containerName placeholders default to empty (${...containerName:}).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s on a tag that just moved

check-petl-base (distro-tools' etl-base-image-affected) compares the Dockerfile's PETL_BASE_IMAGE
default with the tags petl published; a project pinned to another version skips its build and
deploys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mseaton and others added 3 commits October 1, 2026 18:20
Replaces rebuilding on petl's dispatch: the Dockerfile pins partnersinhealth/petl:latest by digest,
and Renovate (renovate.json, PETL base image only) opens a PR when a newer image is published for that
tag, merged automatically once its checks pass. A project pinned to a version tag isn't touched by a
new latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s ticketed separately

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rification is TASKS-611)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mseaton
mseaton merged commit 2c1aa03 into master Oct 2, 2026
@mseaton
mseaton deleted the TASKS-598 branch October 2, 2026 02:21
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