-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ordinaryexperts/feature/taskcat
wip taskcat tests
- Loading branch information
Showing
5 changed files
with
72 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Main Test | ||
name: Main Test | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
schedule: | ||
- cron: '12 19 * * 1' # run Mondays at 12:12pm pacific | ||
|
||
jobs: | ||
taskcat: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: install | ||
run: make update-common | ||
- name: build | ||
run: make build | ||
- name: test | ||
run: make test-main | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }} | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: taskcat_outputs | ||
path: test/main-test/taskcat_outputs/ | ||
- name: clean snapshots | ||
if: always() | ||
run: make clean-snapshots-tcat | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }} | ||
- name: clean logs | ||
if: always() | ||
run: make clean-logs-tcat | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.OE_PATTERNS_TASKCAT_DEV_GITHUB_AWS_SECRET_ACCESS_KEY }} |
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,5 +1,8 @@ | ||
# Unreleased | ||
|
||
* Adding TaskCat tests | ||
* Upgrade OE Common Constructs to 4.1.4 | ||
|
||
# 2.1.0 | ||
|
||
* Upgrade Mastodon to 4.3.1 | ||
|
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 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
install_requires=[ | ||
f"aws-cdk-lib=={CDK_VERSION}", | ||
f"constructs>=10.0.0,<11.0.0", | ||
f"oe-patterns-cdk-common@git+https://github.com/ordinaryexperts/[email protected].0" | ||
f"oe-patterns-cdk-common@git+https://github.com/ordinaryexperts/[email protected].4" | ||
], | ||
|
||
python_requires=">=3.6", | ||
|
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,21 @@ | ||
general: | ||
s3_bucket: github-user-and-bucket-taskcatbucket-2zppaw3wi3sx | ||
project: | ||
name: oe-patterns-mastodon | ||
regions: | ||
- us-east-1 | ||
template: ./template.yaml | ||
tests: | ||
allResources: | ||
parameters: | ||
AlbCertificateArn: arn:aws:acm:us-east-1:992593896645:certificate/943928d7-bfce-469c-b1bf-11561024580e | ||
AlbIngressCidr: 0.0.0.0/0 | ||
DnsHostname: "oe-patterns-mastodon-taskcat-$[taskcat_random-string].dev.patterns.ordinaryexperts.com" | ||
DnsRoute53HostedZoneName: dev.patterns.ordinaryexperts.com | ||
PipelineArtifactBucketName: github-user-and-bucket-taskcatbucket-2zppaw3wi3sx | ||
SesCreateDomainIdentity: "false" | ||
VpcId: vpc-00425deda4c835455 | ||
VpcPrivateSubnet1Id: subnet-030c94b9795c6cb96 | ||
VpcPrivateSubnet2Id: subnet-079290412ce63c4d5 | ||
VpcPublicSubnet1Id: subnet-0c2f5d4daa1792c8d | ||
VpcPublicSubnet2Id: subnet-060c39a6ded9e89d7 |