-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Small fixes * Fixing linting * Adding tests * Run linting on HyperEnv * Runs on ubuntu-latest * Fixing permissions * Fix IAM role * Fixing test * Fixing test * Fixing test * Upgrading RDS * Fixing tests * Reducing builds * Fixing regex * Fixing lambda * Fixing dashboard lambda * Fixing lambda * Cleaning up
- Loading branch information
1 parent
a49a934
commit e87c296
Showing
11 changed files
with
2,611 additions
and
1,157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
name: Lint | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
|
||
runs-on: ['ubuntu-latest'] | ||
steps: | ||
|
||
- uses: 'actions/checkout@v2' | ||
|
||
- uses: 'actions/setup-python@v2' | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: yamlllint | ||
run: | | ||
pip install yamllint==1.35.1 | ||
yamllint module.yml && yamllint test/*.yml | ||
- name: cfn-lint | ||
run: | | ||
pip install cfn-lint==1.20.1 | ||
cfn-lint -i W3002 -t module.yml && cfn-lint -i W3002 -t test/*.yml | ||
- name: license | ||
run: | | ||
grep -q "LICENSE-2.0" module.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
permissions: | ||
id-token: write | ||
contents: read | ||
concurrency: | ||
group: test | ||
cancel-in-progress: false | ||
jobs: | ||
build: | ||
runs-on: ['ubuntu-latest'] | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
role-to-assume: 'arn:aws:iam::068189904525:role/github-openid-connect' | ||
aws-region: 'eu-west-1' | ||
role-duration-seconds: 7200 # 2 hours | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
- name: test | ||
run: | | ||
npm ci | ||
cd test | ||
npm ci | ||
CFN_PACKAGE_BUCKET_NAME=cf-templates-1a2zmgbg9ut4o-eu-west-1 npm test | ||
cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"private": true, | ||
"dependencies": { | ||
"cfn-response": "1.0.1" | ||
} | ||
"private": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.