-
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 branch 'main' into feature/PENG-2585--ci-validation
- Loading branch information
Showing
8 changed files
with
425 additions
and
19 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
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 |
---|---|---|
|
@@ -50,3 +50,49 @@ jobs: | |
run: | | ||
poetry run mypy image_factory --pretty | ||
poetry run ruff check image_factory | ||
synth-stack: | ||
name: synth-stack | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22.8.0' | ||
|
||
- name: Install Poetry | ||
uses: Gr1N/setup-poetry@v8 | ||
with: | ||
poetry-version: 1.8.3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
cache: 'poetry' | ||
|
||
- name: Install CDK | ||
run: | | ||
npm install -g [email protected] | ||
- name: Cache cdk.out | ||
uses: actions/cache@v4 | ||
with: | ||
path: cdk.out | ||
key: cdk-out | ||
|
||
- name: Setup AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
|
||
- name: Install Python packages | ||
run: | | ||
poetry install --with=website | ||
- name: Publish the deploy script | ||
run: | | ||
cdk synth --path-metadata false --version-reporting false |
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 |
---|---|---|
|
@@ -8,4 +8,6 @@ output-* | |
*.fd | ||
seeds-cloudimg.iso | ||
*.tar.gz | ||
*.img | ||
*.img | ||
|
||
cdk.out/ |
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,6 @@ | ||
{ | ||
"app":"poetry run python3 ./website.py", | ||
"context":{ | ||
"@aws-cdk/core:newStyleStackSynthesis":true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.