Content releases on Tugboat use a buildtype of vagovdev since #1700, following #1630.
This code inserts URLs pointing to S3 buckets unless the buildtype is set to localhost.
Consequently, local changes to these files will not be picked up in the built frontend, as they reference those in the content.dev.va.gov S3 bucket.
We should probably change our buildtype back to localhost or add a new buildtype, tugboat. The abstraction is leaky but it would probably take more effort than it is worth to fix at that level. This may take some discovery to determine an appropriate approach.
Acceptance Criteria
[ ] Tugboat content releases reference local assets.
[ ] No adverse impact for other values of buildtype.
Description
See this Slack thread.
Content releases on Tugboat use a
buildtype
ofvagovdev
since #1700, following #1630.This code inserts URLs pointing to S3 buckets unless the
buildtype
is set tolocalhost
.Consequently, local changes to these files will not be picked up in the built frontend, as they reference those in the
content.dev.va.gov
S3 bucket.We should probably change our
buildtype
back tolocalhost
or add a newbuildtype
,tugboat
. The abstraction is leaky but it would probably take more effort than it is worth to fix at that level. This may take some discovery to determine an appropriate approach.Acceptance Criteria
buildtype
.