diff --git a/services-js/registry-certs/Dockerfile b/services-js/registry-certs/Dockerfile index ad5d68492..62891d856 100644 --- a/services-js/registry-certs/Dockerfile +++ b/services-js/registry-certs/Dockerfile @@ -78,7 +78,7 @@ CMD ["yarn", "start"] # To use this file: # [a] clone the digital repo # [b] from a terminal, in the registry-certs folder, run -# DOCKER_BUILDKIT=1 docker build --pull --cache-from local-dev/registry-certs:latest -f ./Dockerfile -t local-dev/registry-certs:latest --secret id=aws,src=$HOME/.aws/credentials ../.. +# DOCKER_BUILDKIT=1 docker build --pull --cache-from local-dev/registry-certs:latest -f ./Dockerfile -t local-dev/registry-certs:latest --secret id=aws,src=$HOME/.aws/credentials --platform linux/arm64 ../.. # -> this will create an image tagged local-dev/registry-certs:latest on the local machine # [c] from a terminal, in the registry-certs folder, run # docker-compose up --no-build -d registry-certs @@ -96,8 +96,9 @@ CMD ["yarn", "start"] # [1] Check your code into github # [2] Close down any shells into the container and stop the container: # docker stop registry-certs +# [2.5] Re-login into ECR with this command --> aws ecr get-login-password --region us-east-1 --profile=cityofboston | docker login --username AWS --password-stdin 251803681989.dkr.ecr.us-east-1.amazonaws.com # [3] Rebuild the container and apps by running: -# DOCKER_BUILDKIT=1 docker build --pull --cache-from local-dev/registry-certs:latest -f ./Dockerfile -t 251803681989.dkr.ecr.us-east-1.amazonaws.com/cob-digital-apps-staging/registry-certs:deploy-new-stage --secret id=aws,src=$HOME/.aws/credentials ../.. +# DOCKER_BUILDKIT=1 docker build --pull --cache-from local-dev/registry-certs:latest -f ./Dockerfile -t 251803681989.dkr.ecr.us-east-1.amazonaws.com/cob-digital-apps-staging/registry-certs:deploy-new-stage --secret id=aws,src=$HOME/.aws/credentials --platform linux/amd64 ../.. # -> this is essentially the same command as in [b] above, just uses a different tag and ensures the /app folder # is physically there and not mounted (using the docker-compose command in [c] above mounts the repo over # whatever was added into the the image's /app folder during the docker build command) diff --git a/services-js/registry-certs/client/__snapshots__/Storyshots.test.ts.snap b/services-js/registry-certs/client/__snapshots__/Storyshots.test.ts.snap index 2652b64ae..1bb2b8c34 100644 --- a/services-js/registry-certs/client/__snapshots__/Storyshots.test.ts.snap +++ b/services-js/registry-certs/client/__snapshots__/Storyshots.test.ts.snap @@ -10090,17 +10090,23 @@ exports[`Storyshots Birth/Question Components/PersonalInformation birth too rece
- - We recommend waiting at least two weeks before you request a birth certificate. - + Birth information takes up to two weeks to arrive from a hospital to the City of Boston. Please submit an order after - It generally takes two weeks for us to receive paperwork from the hospital. -
-- If you order too early, we can only hold your request for seven days while we wait for the hospital record. If we don’t receive the record in time, your request will be canceled automatically and your card will not be charged. You’ll have to resubmit your request. + 12/12/2023 + . We apologize for the inconvenience. If you + + have any questions or concerns, please + + + contact us online + + , by phone at 617-635-4175, or visit City Hall in person Monday Friday, from 9 a.m. - 4 p.m.
diff --git a/services-js/registry-certs/client/birth/questions/PersonalInformation.tsx b/services-js/registry-certs/client/birth/questions/PersonalInformation.tsx index 0bd218cdc..b6f843f34 100644 --- a/services-js/registry-certs/client/birth/questions/PersonalInformation.tsx +++ b/services-js/registry-certs/client/birth/questions/PersonalInformation.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { jsx } from '@emotion/core'; +import { jsx, css } from '@emotion/core'; import { ChangeEvent, Component, MouseEvent, ReactChild } from 'react'; import { observer } from 'mobx-react'; @@ -36,7 +36,12 @@ export default class PersonalInformation extends Component- - We recommend waiting at least two weeks before you request a birth - certificate. - {' '} - It generally takes two weeks for us to receive paperwork from the - hospital. -
- +- If you order too early, we can only hold your request for seven days - while we wait for the hospital record. If we don’t receive the record - in time, your request will be canceled automatically and your card - will not be charged. You’ll have to resubmit your request. + Birth information takes up to two weeks to arrive from a hospital to + the City of Boston. Please submit an order after{' '} + {getPickUpDate(birthDate)}. We + apologize for the inconvenience. If you have any questions or + concerns, please{' '} + + contact us online + + , by phone at 617-635-4175, or visit City Hall in person Monday + Friday, from 9 a.m. - 4 p.m.