Skip to content

Commit

Permalink
Merge pull request #1477 from Enterprise-CMCS/develop
Browse files Browse the repository at this point in the history
merge development to master
  • Loading branch information
Dark-Knight-1313 committed Jun 26, 2024
2 parents 8bb9bba + 125819a commit 6fcde78
Show file tree
Hide file tree
Showing 8 changed files with 1,624 additions and 8,035 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,18 @@ jobs:
if: ${{ env.branch_name != 'production'}}
run: cd services/app-api/seed-data && ./buildSeedData.py .
- name: Seed Data
# this "resets" any data explicitly provided in the seed files to what
# is in the committed code
if: ${{ env.branch_name != 'production' }}
env:
SLS_DEBUG: 'true'
BRANCH: ${{ env.STAGE_PREFIX }}${{ env.branch_name }}
run: cd services/app-api && serverless dynamodb seed --stage=$BRANCH --region=$AWS_DEFAULT_REGION --online
run: |
set +e
cd services/app-api
serverless dynamodb seed --stage=$BRANCH --region=$AWS_DEFAULT_REGION --online
if [ $? -ne 0 ]; then
echo "Seed data step failed but continuing with the pipeline."
fi
set -e
- name: Load Test Users
if: ${{ env.branch_name != 'production'}}
run: ./loadTestUsers.py $STAGE_PREFIX$branch_name
Expand Down
Loading

0 comments on commit 6fcde78

Please sign in to comment.