Skip to content

Commit

Permalink
Merge pull request #52 from aws-samples/fix-timeout
Browse files Browse the repository at this point in the history
Increase timeout to fix deploy issue
  • Loading branch information
ConnorKirk committed Jul 24, 2023
2 parents 402c902 + 1053e1f commit 5dff3fa
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
# Setup
- name: Set up Python 3.7
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up Nodejs 16
python-version: '3.10' # have to use quotes due to 0 being removed
- name: Set up Nodejs 18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Install node dependencies
run: npm i
- name: Install python dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
# Setup
- name: Set up Python 3.7
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up Nodejs 16
python-version: '3.10' # have to use quotes due to 0 being removed
- name: Set up Nodejs 18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Install dependencies
run: npm i
- name: Install python dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
restore-keys: |
# Setup
- name: Set up Nodejs 16
- name: Set up Nodejs 18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikiped

The following applications are required to contribute:

* Node.js >=v12
* Node.js >=v18
* AWS CLI

To start, run `npm install`.
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
awscli==1.25.97
awscli==1.29.9
cfn_flip==1.3.0
cfn_lint==0.68.1
cfn_lint==0.78.2
8 changes: 4 additions & 4 deletions src/cfn/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Transform: AWS::Serverless-2016-10-31

Globals:
Function:
Runtime: nodejs16.x
MemorySize: 128
Timeout: 60
Runtime: nodejs18.x
MemorySize: 1024
Timeout: 300
Environment:
Variables:
COGNITO_IDENTITY_POOL: !Ref CognitoIdentityPool
Expand All @@ -16,7 +16,7 @@ Globals:
CREATE_CLOUDFRONT_DISTRIBUTION: !Ref CreateCloudFrontDistribution
REGION: !Ref AWS::Region
TO_BUCKET: !Ref WebUIBucket
VERSION: "1.7"
VERSION: "1.8"

Parameters:
AdminEmail:
Expand Down

0 comments on commit 5dff3fa

Please sign in to comment.