Skip to content

Commit 480be09

Browse files
authored
Merge pull request #2962 from aws/release-v1.60.0
Release 1.60.0 (to main)
2 parents 48eb41d + 49927a6 commit 480be09

File tree

377 files changed

+264635
-162593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+264635
-162593
lines changed

.cfnlintrc.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ ignore_templates:
5757
- tests/translator/output/**/connector_sfn_to_function.json
5858
- tests/translator/output/**/connector_sns_to_function.json
5959
- tests/translator/output/**/connector_table_to_function.json
60+
- tests/translator/output/**/documentdb_with_intrinsics.json # TODO: remove once DocumentDDB is available
6061
- tests/translator/output/**/eventbridgerule_with_dlq.json
6162
- tests/translator/output/**/function_event_conditions.json
6263
- tests/translator/output/**/function_with_alias_and_code_sha256.json
@@ -77,6 +78,8 @@ ignore_templates:
7778
- tests/translator/output/**/function_with_deployment_preference_multiple_combinations_conditions_without_passthrough.json
7879
- tests/translator/output/**/function_with_deployment_preference_passthrough_condition_with_supported_intrinsics.json
7980
- tests/translator/output/**/function_with_dlq.json
81+
- tests/translator/output/**/function_with_documentdb_with_kms.json # TODO: remove once DocumentDDB is available
82+
- tests/translator/output/**/function_with_documentdb.json # TODO: remove once DocumentDDB is available
8083
- tests/translator/output/**/function_with_event_dest.json
8184
- tests/translator/output/**/function_with_event_dest_basic.json
8285
- tests/translator/output/**/function_with_event_dest_conditional.json
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Check compatibility
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
check-compatibility:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout the PR
12+
uses: actions/checkout@v3
13+
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.10"
17+
18+
- name: Extract PR public interfaces
19+
run: |
20+
make init
21+
bin/public_interface.py extract > "${{ runner.temp }}"/interfaces.new.json
22+
23+
- name: Backup PR bin/public_interface.py
24+
run: |
25+
# Keep a copy of bin/public_interface.py
26+
# So we are using the same bin/public_interface.py to process old/new codebase.
27+
cp bin/public_interface.py "${{ runner.temp }}"/public_interface.py
28+
29+
- name: Checkout the base
30+
uses: actions/checkout@v3
31+
with:
32+
ref: "${{ github.base_ref }}"
33+
34+
- name: Extract original public interfaces
35+
run: |
36+
make init
37+
# Recover bin/public_interface.py
38+
cp "${{ runner.temp }}"/public_interface.py bin/public_interface.py
39+
bin/public_interface.py extract > "${{ runner.temp }}"/interfaces.original.json
40+
41+
- name: Detect compatibility breaking changes
42+
id: detect
43+
run: |
44+
bin/public_interface.py check "${{ runner.temp }}"/interfaces.original.json "${{ runner.temp }}"/interfaces.new.json

.github/workflows/schema.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Update schema
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * 1-5" # Weekdays
7+
8+
jobs:
9+
update:
10+
if: github.repository == 'aws/serverless-application-model'
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.10"
22+
23+
- name: Update schema
24+
id: schema
25+
run: |
26+
make init
27+
make schema-all
28+
# Sets condition steps.schema.outputs.changed to true if anything changed
29+
git diff --exit-code || echo "changed=true" >> $GITHUB_OUTPUT
30+
31+
- name: Push change to temporary branch
32+
if: steps.schema.outputs.changed
33+
run: |
34+
git config user.name github-actions
35+
git config user.email [email protected]
36+
git checkout -b tmp/schema/$GITHUB_RUN_ID/$GITHUB_RUN_ATTEMPT
37+
git add -u
38+
git commit -m "chore(schema): update"
39+
git push --set-upstream origin tmp/schema/$GITHUB_RUN_ID/$GITHUB_RUN_ATTEMPT
40+
41+
- name: Create PR
42+
if: steps.schema.outputs.changed
43+
run: printf '> **Note**\n> If checks do not start, close then reopen this pull request.\n\nCreated by the [`schema.yml`](https://github.com/aws/serverless-application-model/blob/develop/.github/workflows/schema.yml) workflow.\n' | gh pr create --fill --base develop --body-file -
44+
env:
45+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)