Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cdk synth in CI #21

Merged
merged 5 commits into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,24 @@ jobs:
uses: actions/checkout@v3
- name: Static Analysis
uses: pre-commit/[email protected]
- name: Dummy secrets file
run: |
tee -a .openchallenges > /dev/null <<EOT
MARIADB_PASSWORD=dummy
MARIADB_ROOT_PASSWORD=dummy
GIT_HOST_KEY=DUMMY_GIT_HOST_KEY
GIT_PRIVATE_KEY=-----BEGIN OPENSSH PRIVATE KEY-----\nDUMMY_GIT_PRIVATE_KEY\n-----END OPENSSH PRIVATE KEY-----
AWS_LOADER_S3_ACCESS_KEY_ID=DUMMY_S3_ACCESS_KEY
AWS_LOADER_S3_SECRET_ACCESS_KEY=DUMMY_S3_SECRET_KEY
SECURITY_KEY=00000
EOT
- name: cdk synth
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: 'synth'
actions_comment: false
cdk_args: '--verbose'
debug_log: true
cdk_args: '--output ./cdk.out'
tests:
runs-on: ubuntu-latest
steps:
Expand Down
Loading