feat: publish worker images for both Aurora services - #9
Merged
Merged
Conversation
The repository shipped a placeholder Dockerfile (hashicorp/http-echo returning
"Hola mundo"), so no worker image was ever published for either service. With
tofu-modules >= v7.x the agent runs services from the image their package
declares, which leaves Aurora stuck on the legacy exec flow — the only entry in
an otherwise worker-orchestrated catalogue — while every other service
(services-s-3, services-dynamo-db, services-postgresql-rds) runs from its own
image.
Mirrors services-postgresql-rds, which has the same shape: one repository, two
service paths, two images off the shared gRPC worker bridge.
Dockerfile.aurora-postgres-server aws-cli, gomplate, OpenTofu 1.10.10
Dockerfile.aurora-postgres-db the same plus postgresql16-client, which
aurora-postgres-db/scripts/aws/reassign_owned
drives with psql
Both bake the package in at /app/pkg and point the bridge at the service path
and its entrypoint.
release.yml is replaced with the two-image chain from services-postgresql-rds:
release-please cuts one version, the release-publish-oci chain builds, pushes
and registers the server image, and a parallel pair of jobs does the same for
the db image against the same tag, so both artifacts land in the release notes.
Needs the same configuration as the RDS repository before the first release:
secrets AWS_ROLE_ARN_ECR_PUSH and ARTIFACT_NP_API_KEY, and variable
NP_ARTIFACT_NRN.
sebastiancorrea81
approved these changes
Sep 14, 2026
actions-nullplatform's newest tag (v1.3.2, May 2026) predates release-publish-oci.yml, which landed in September, so @v1.3.2 does not resolve. Pinned to main's commit instead, which is immutable and does contain the workflow. Move it to a tag once one is cut that includes the file.
v1.4.0 is the first tag that contains release-publish-oci.yml (the workflow landed in September; v1.3.2 is from May), so the commit pin can become a version.
This was referenced Sep 14, 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.
Why
The repository ships a placeholder Dockerfile:
So no worker image is published for either service. Checked against
public.ecr.aws: nothing exists undernullplatform/services/aurora-postgres-server,.../aurora-postgres-db, or any other spelling, whileservices/s3,services/dynamo-dbandservices/rds-postgres-*are all there.With tofu-modules >= v7.x the agent runs a service from the image its package declares. Without one, Aurora cannot carry
package_artifactsand stays on the legacy exec flow — the agent has to clone the repository and run scripts off disk. In the implementation where this surfaced it is the only entry left in the old model, next to six worker-orchestrated ones.What
Mirrors
services-postgresql-rds, which has the identical shape: one repository, two service paths, two images off the shared gRPC worker bridge.Dockerfile.aurora-postgres-serverDockerfile.aurora-postgres-dbpostgresql16-clientThe db image needs the postgres client because
aurora-postgres-db/scripts/aws/reassign_owneddrivespsql. OpenTofu is pinned at 1.10.10 rather than taken from apk, because the specs init an S3 backend withuse_lockfile = trueand alpine packages 1.7.x.release.ymlis replaced with the two-image chain from the RDS repository, so both artifacts are registered against the same tag and both land in the release notes.Before the first release
Same configuration the RDS repository already carries: secrets
AWS_ROLE_ARN_ECR_PUSHandARTIFACT_NP_API_KEY, and variableNP_ARTIFACT_NRN. I could not verify those are present here.Not verified
I did not build the images. The tooling list comes from reading what the workflows call (
tofuin 30 files,awsin 23,psqlin one under the db path), so a first build may surface a missing package.