Skip to content

Conversation

@glasnt
Copy link
Collaborator

@glasnt glasnt commented Jun 5, 2023

Bug: #78 is failing.

Logs: after apply, the client website is displaying 404, not the expected placeholder

Diagnosis: the placeholder deployment was failing due to missing json package.

Cause: the placeholder image was automatically re-built when #58 was merged. Previously it was using a manually-built image that was tagged "latest" that was not the latest version. json dependency was removed from the Dockerfile erroneously, and only after updating the image does it present on other deployments.

Fix: Having the image built from the same repo as changes that use it means there needs to be a segmented deployment process, where in-flight images can be used, rather than always 'latest'

Temp workaround: once this PR is created, the image will be built with this fix, which will unblock all builds and deployments.

Update: the image was also missing the envsubstr package, which wasn't noticed as there's no current mechanism to test deployments of the placeholder in the same PR the placeholder is being updated

@glasnt glasnt requested review from a team and donmccasland as code owners June 5, 2023 03:31
@glasnt glasnt changed the title fix: restore missing json dependency fix: restore missing dependencies Jun 5, 2023
Copy link
Contributor

@iennae iennae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glasnt glasnt merged commit 3fbdd5e into main Jun 7, 2023
@glasnt glasnt deleted the fix/json-npm branch June 7, 2023 00:18
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.

2 participants