diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b374c3819a2..51bd103f3a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,7 +152,7 @@ stages: #build off prd variables - export ECR_REPOSITORY_URI=${PRD_ACCOUNT_ID}.dkr.ecr.${PRD_REGION}.amazonaws.com - export APP_DOCKER_FILE=Dockerfile - - export TASK_DOCKER_FILE=Dockerfile + - export TASK_DOCKER_FILE=Dockerfile.tasks #TODO: update exp to prod - export APP_ENVIRONMENT=prd diff --git a/pkg/gen/ghcapi/embedded_spec.go b/pkg/gen/ghcapi/embedded_spec.go index ec08bd3f508..3d41db0769c 100644 --- a/pkg/gen/ghcapi/embedded_spec.go +++ b/pkg/gen/ghcapi/embedded_spec.go @@ -6478,7 +6478,7 @@ func init() { "operationId": "getTransportationOfficesGBLOCs", "responses": { "200": { - "description": "Successfully retrieved transportation offices", + "description": "Successfully retrieved GBLOCs", "schema": { "$ref": "#/definitions/GBLOCs" } @@ -23953,7 +23953,7 @@ func init() { "operationId": "getTransportationOfficesGBLOCs", "responses": { "200": { - "description": "Successfully retrieved transportation offices", + "description": "Successfully retrieved GBLOCs", "schema": { "$ref": "#/definitions/GBLOCs" } diff --git a/scripts/rds-snapshot-app-db b/scripts/rds-snapshot-app-db index 580c30776c1..ea2f0afd5c0 100755 --- a/scripts/rds-snapshot-app-db +++ b/scripts/rds-snapshot-app-db @@ -19,17 +19,35 @@ db_snapshot_identifier=$db_instance_identifier-$(date +%s) readonly db_snapshot_identifier readonly tags=("Key=Environment,Value=$environment" "Key=Tool,Value=$(basename "$0")") + echo echo "Wait for concurrent database snapshots for ${db_instance_identifier} to complete before continuing ..." -time aws rds wait db-snapshot-completed --cli-read-timeout 2100 --cli-connect-timeout 2100 --db-instance-identifier "$db_instance_identifier" +time aws rds wait db-snapshot-completed --db-instance-identifier "$db_instance_identifier" + echo echo "Create database snapshot for ${db_instance_identifier} with identifier ${db_snapshot_identifier}" -aws rds create-db-snapshot --cli-read-timeout 2100 --cli-connect-timeout 2100 --db-instance-identifier "$db_instance_identifier" --db-snapshot-identifier "$db_snapshot_identifier" --tags "${tags[@]}" + + +aws rds create-db-snapshot --db-instance-identifier "$db_instance_identifier" --db-snapshot-identifier "$db_snapshot_identifier" --tags "${tags[@]}" + +#we want to loop while status is not available; check after initiating the create +while true; do + db_description=$(aws rds describe-db-snapshots --db-snapshot-identifier "$db_snapshot_identifier") + db_status=$(echo "${db_description}" | jq -r ".DBSnapshots[].Status") + echo "${db_snapshot_identifier} -- ${db_status}" + if [[ "${db_status}" == "available" ]]; then + break + fi + sleep 15 +done + + +#unnecessary confirm but will leave in echo echo "Wait for current database snapshot ${db_snapshot_identifier} to complete before continuing ..." -time aws rds wait db-snapshot-completed --cli-read-timeout 2100 --cli-connect-timeout 2100 --db-snapshot-identifier "$db_snapshot_identifier" +time aws rds wait db-snapshot-completed --db-snapshot-identifier "$db_snapshot_identifier" echo echo "Describe the database snapshot ${db_snapshot_identifier}" diff --git a/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.jsx b/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.jsx index fe36c389eb7..4d23d8286d0 100644 --- a/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.jsx +++ b/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.jsx @@ -46,6 +46,12 @@ let validationShape = { secondaryDestinationAddress: Yup.object().shape({ address: OptionalAddressSchema, }), + tertiaryPickupAddress: Yup.object().shape({ + address: OptionalAddressSchema, + }), + tertiaryDestinationAddress: Yup.object().shape({ + address: OptionalAddressSchema, + }), }; const DateAndLocationForm = ({ mtoShipment, destinationDutyLocation, serviceMember, move, onBack, onSubmit }) => { @@ -53,6 +59,7 @@ const DateAndLocationForm = ({ mtoShipment, destinationDutyLocation, serviceMemb useCurrentResidence: false, pickupAddress: {}, secondaryPickupAddress: {}, + tertiaryPickupAddress: {}, hasSecondaryPickupAddress: mtoShipment?.ppmShipment?.secondaryPickupAddress ? 'true' : 'false', hasTertiaryPickupAddress: mtoShipment?.ppmShipment?.tertiaryPickupAddress ? 'true' : 'false', useCurrentDestinationAddress: false, @@ -63,7 +70,6 @@ const DateAndLocationForm = ({ mtoShipment, destinationDutyLocation, serviceMemb sitExpected: mtoShipment?.ppmShipment?.sitExpected ? 'true' : 'false', expectedDepartureDate: mtoShipment?.ppmShipment?.expectedDepartureDate || '', closeoutOffice: move?.closeoutOffice || {}, - tertiaryPickupAddress: {}, tertiaryDestinationAddress: {}, }; diff --git a/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.test.jsx b/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.test.jsx index 635f404daa7..036909735ba 100644 --- a/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.test.jsx +++ b/src/components/Customer/PPM/Booking/DateAndLocationForm/DateAndLocationForm.test.jsx @@ -184,7 +184,6 @@ describe('DateAndLocationForm component', () => { , ); - await userEvent.click(screen.getByLabelText('Use my current delivery address')); const postalCodes = screen.getAllByTestId(/ZIP/); const address1 = screen.getAllByLabelText(/Address 1/, { exact: false }); const address2 = screen.getAllByLabelText('Address 2', { exact: false }); diff --git a/swagger-def/ghc.yaml b/swagger-def/ghc.yaml index ac0ed4697fc..4e645d67f33 100644 --- a/swagger-def/ghc.yaml +++ b/swagger-def/ghc.yaml @@ -4323,7 +4323,7 @@ paths: produces: - application/json responses: - '200': + "200": description: Successfully retrieved counseling offices schema: $ref: '#/definitions/CounselingOffices'