Skip to content

Commit

Permalink
Merge pull request #793 from GSA/792-update-bf-tome-static
Browse files Browse the repository at this point in the history
Update bf tome static - Remove draft json from static site
  • Loading branch information
FatmaBakir authored Jan 17, 2024
2 parents 6ac35be + 2fa071d commit 8224e04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
sed -i "s#^ image: .*cms-latest*# image: $DOCKERREPO:$IMAGE_TAG#" manifest.yml
sed -i "s#^ - secauthsecrets##" manifest.yml
sed -i "s#- name: cms#- name: benefit-finder-cms-${CIRCLE_BRANCH}#" manifest.yml
sed -i "s#^ memory: 1.5G# memory: 512M#" manifest.yml
sed -i "s#^ memory: 1.5G# memory: 1G#" manifest.yml
sed -i "s#^ - database# - benefit-finder-mysql-${CIRCLE_BRANCH}#" manifest.yml
sed -i "s#^ - secrets# - benefit-finder-secrets-${CIRCLE_BRANCH}#" manifest.yml
sed -i "s#^ - storage# - benefit-finder-storage-${CIRCLE_BRANCH}#" manifest.yml
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
command: |
export CIRCLE_BRANCH="dev"
# cf run-task benefit-finder-cms-${CIRCLE_BRANCH} --command "pwd && ls -l && sh /var/www/scripts/static-generation.sh" --name "bf-static-${CIRCLE_BRANCH}" -k "2G" -m ${TOME_MEMORY}
cf run-task benefit-finder-cms-${CIRCLE_BRANCH} --command "pwd && ls -l && sh /var/www/scripts/bf-tome-run.sh" --name "bf-static-${CIRCLE_BRANCH}" -k "2G" -m ${TOME_MEMORY}
cf run-task benefit-finder-cms-${CIRCLE_BRANCH} --command "pwd && ls -l && sh /var/www/scripts/bf-tome-run.sh" --name "bf-static-${CIRCLE_BRANCH}" -k "2G" -m "1G"
static-site-generation-main:
docker:
Expand Down
1 change: 1 addition & 0 deletions bin/cloudgov/bf-tome-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ echo "Removing unwanted files ... "
rm -rf $RENDER_DIR/jsonapi/ 2>&1 | tee -a $TOMELOG
rm -rf $RENDER_DIR/node/ 2>&1 | tee -a $TOMELOG
rm -rf $RENDER_DIR/es/node/ 2>&1 | tee -a $TOMELOG
rm -rf $RENDER_DIR/benefit-finder/api/draft/life-event/ 2>&1 | tee -a $TOMELOG

# # duplicate the logic used by the bootstrap script to find the static site hostname
# WWW_HOST=$(echo $VCAP_APPLICATION | jq -r '.["application_uris"][]' | grep 'www\.usa\.gov' | head -n 1)
Expand Down

0 comments on commit 8224e04

Please sign in to comment.