Skip to content

Commit

Permalink
DAS-1899: Fixing deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
william-valencia authored and macrouch committed Oct 17, 2023
1 parent ad60b25 commit d956e67
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
3 changes: 3 additions & 0 deletions bin/deploy-bamboo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ FROM node:18.16-bullseye
COPY . /build
WORKDIR /build
RUN npm ci --omit=dev
RUN apt-get update
RUN apt-get install -y python3 python3-pip python-is-python3
RUN pip install -r requirements.txt
EOF

dockerTag=edsc-$bamboo_STAGE_NAME
Expand Down
37 changes: 34 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"qs": "^6.11.0",
"serverless-offline": "^12.0.4",
"serverless-plugin-log-subscription": "^2.2.0",
"serverless-python-requirements": "^6.0.0",
"serverless-python-requirements": "github:william-valencia/serverless-python-requirements#master",
"serverless-webpack": "^5.11.0",
"serverless": "^3.28.1",
"snakecase-keys": "^5.4.5",
Expand Down
3 changes: 3 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ functions:
handler: src/earthdataVarinfo/handler.main
ephemeralStorageSize: 2048
timeout: ${env:LAMBDA_TIMEOUT, '30'}
package:
patterns:
- '!node_modules/**'

resources:
Resources:
Expand Down

0 comments on commit d956e67

Please sign in to comment.