Skip to content

Commit

Permalink
Mege latest develop (#1479)
Browse files Browse the repository at this point in the history
* Update serverless.yml

changed x-content-type-options to lowercase to see if the value will change

* Update api-gateway.yml

Another addition to set the x-Content-Type-Options to nosniff

* Update api-gateway.yml

Fix error where code was placed

* Add aws-sdk, esbuild, and configuration to fix the legacy source to kafka

* set default timeout to 2.5minutes for all api lambda (#1475)

* continue pipeline even if issues with seed data (#1478)

---------

Co-authored-by: Dark-Knight-1313 <[email protected]>
Co-authored-by: Mike Dial <[email protected]>
  • Loading branch information
3 people committed Jul 1, 2024
1 parent d7c2e80 commit 17c175e
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 17c175e

Please sign in to comment.