Skip to content

Commit 6a55f05

Browse files
authored
Merge branch 'main' into project-sync-action-2
2 parents 26f1e37 + 89bd724 commit 6a55f05

File tree

3,471 files changed

+2453288
-2043336
lines changed

Some content is hidden

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

3,471 files changed

+2453288
-2043336
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Codebuild PR Build
2+
3+
on:
4+
workflow_dispatch: {}
5+
merge_group: {}
6+
push:
7+
branches:
8+
- main
9+
- v2-release
10+
pull_request: {}
11+
12+
# For every PR, cancel any previous builds in progress
13+
# ... but for all other builds we keep them running
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || github.run_id }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
runs-on: codebuild-aws-cdk-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }}
21+
22+
env:
23+
PR_BUILD: true
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: "18"
33+
cache: "yarn"
34+
35+
- name: Set up Docker
36+
uses: docker/setup-buildx-action@v3
37+
38+
- name: Load Docker images
39+
id: docker-cache
40+
uses: actions/cache/restore@v4
41+
with:
42+
path: |
43+
~/.docker-images.tar
44+
key: docker-cache-${{ runner.os }}
45+
46+
- name: Restore Docker images
47+
if: ${{ steps.docker-cache.outputs.cache-hit }}
48+
run: docker image load --input ~/.docker-images.tar
49+
50+
- name: Cache build artifacts
51+
uses: actions/cache@v4
52+
with:
53+
path: |
54+
~/.s3buildcache
55+
key: s3buildcache-${{ runner.os }}
56+
57+
- name: Configure system settings
58+
run: |
59+
(command -v sysctl || sudo apt-get update && sudo apt-get install -y procps) && \
60+
sudo sysctl -w vm.max_map_count=2251954
61+
62+
- name: Build
63+
run: /bin/bash ./build.sh --ci
64+
65+
- name: Run Rosetta
66+
run: /bin/bash ./scripts/run-rosetta.sh
67+
68+
- name: Check for uncommitted changes
69+
run: git diff-index --exit-code --ignore-space-at-eol --stat HEAD
70+
71+
- name: Export Docker images
72+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
73+
run: docker image save --output ~/.docker-images.tar $(docker image list --format '{{ if ne .Repository "<none>" }}{{ .Repository }}{{ if ne .Tag "<none>" }}:{{ .Tag }}{{ end }}{{ else }}{{ .ID }}{{ end }}')
74+
75+
- name: Cache Docker images
76+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
77+
uses: actions/cache/save@v4
78+
with:
79+
path: |
80+
~/.docker-images.tar
81+
key: docker-cache-${{ runner.os }}

.github/workflows/codecov-upload.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,21 @@ jobs:
2020
github.event.workflow_run.conclusion == 'success'
2121
2222
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
2325
- name: Download Artifacts
2426
uses: actions/download-artifact@v4
2527
with:
2628
name: coverage-artifacts
27-
path: ./coverage
29+
path: ./packages/aws-cdk-lib/core/coverage
2830
github-token: ${{ secrets.GITHUB_TOKEN }}
2931
repository: ${{ github.repository }}
3032
run-id: ${{ github.event.workflow_run.id }}
3133

3234
- name: Upload to Codecov
3335
uses: codecov/codecov-action@v5
3436
with:
35-
files: ./coverage/packages/aws-cdk-lib/coverage/cobertura-coverage.xml
37+
files: ./packages/aws-cdk-lib/core/coverage/cobertura-coverage.xml
3638
fail_ci_if_error: true
3739
flags: suite.unit
3840
use_oidc: true

.github/workflows/enum-auto-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
# If a PR exists, close it
8787
if [[ -n "$prExists" ]]; then
8888
echo "Found existing PR #$prExists for module ${moduleName#aws-}, closing it..."
89-
gh pr close "$prExists" --confirm
89+
gh pr close "$prExists" -c "Closing in favor of a new PR with updated enum values"
9090
else
9191
echo "No existing PR found for ${moduleName#aws-}"
9292
fi

.github/workflows/issue-label-assign.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,5 +284,10 @@ env:
284284
{"area":"@aws-cdk/integ-runner","keywords":["integ-runner"],"labels":["@aws-cdk/integ-runner"]},
285285
{"area":"@aws-cdk/app-staging-synthesizer-alpha", "keywords":["app-staging-synthesizer", "app-staging-synthesizer-alpha"],"labels":["@aws-cdk/app-staging-synthesizer-alpha"]},
286286
{"area":"@aws-cdk/aws-location-alpha", "keywords":["aws-location", "aws-location-alpha"],"labels":["@aws-cdk/aws-location-alpha"]},
287-
{"area":"@aws-cdk/cli-lib-alpha", "keywords":["cli-lib", "cli-lib-alpha"],"labels":["@aws-cdk/cli-lib-alpha"]}
287+
{"area":"@aws-cdk/cli-lib-alpha", "keywords":["cli-lib", "cli-lib-alpha"],"labels":["@aws-cdk/cli-lib-alpha"]},
288+
{"area":"@aws-cdk/aws-applicationsignals-alpha", "keywords":["aws-applicationsignals", "aws-applicationsignals-alpha"],"labels":["@aws-cdk/aws-applicationsignals-alpha"]},
289+
{"area":"@aws-cdk/aws-s3tables-alpha", "keywords":["aws-s3tables", "aws-s3tables-alpha"],"labels":["@aws-cdk/aws-s3tables-alpha"]},
290+
{"area":"@aws-cdk/aws-pipes-enrichments-alpha", "keywords":["aws-pipes-enrichments", "aws-pipes-enrichments-alpha"],"labels":["@aws-cdk/aws-pipes-enrichments-alpha"]},
291+
{"area":"@aws-cdk/aws-pipes-sources-alpha", "keywords":["aws-pipes-sources", "aws-pipes-sources-alpha"],"labels":["@aws-cdk/aws-pipes-sources-alpha"]},
292+
{"area":"@aws-cdk/aws-pipes-targets-alpha", "keywords":["aws-pipes-targets", "aws-pipes-targets-alpha"],"labels":["@aws-cdk/aws-pipes-targets-alpha"]}
288293
]

.github/workflows/pr-build.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: PR Build
2+
3+
on:
4+
workflow_dispatch: {}
5+
merge_group: {}
6+
push:
7+
branches:
8+
- main
9+
- v2-release
10+
pull_request:
11+
branches:
12+
- main
13+
- v2-release
14+
15+
# For every PR, cancel any previous builds in progress
16+
# ... but for all other builds we keep them running
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || github.run_id }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
if: github.repository != 'aws/aws-cdk'
24+
runs-on: aws-cdk_ubuntu-latest_32-core
25+
26+
env:
27+
PR_BUILD: true
28+
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: "18"
37+
cache: "yarn"
38+
39+
- name: Set up Docker
40+
uses: docker/setup-buildx-action@v3
41+
42+
- name: Load Docker images
43+
id: docker-cache
44+
uses: actions/cache/restore@v4
45+
with:
46+
path: |
47+
~/.docker-images.tar
48+
key: docker-cache-${{ runner.os }}
49+
50+
- name: Restore Docker images
51+
if: ${{ steps.docker-cache.outputs.cache-hit }}
52+
run: docker image load --input ~/.docker-images.tar
53+
54+
- name: Cache build artifacts
55+
uses: actions/cache@v4
56+
with:
57+
path: |
58+
~/.s3buildcache
59+
key: s3buildcache-${{ runner.os }}
60+
61+
- name: Configure system settings
62+
run: |
63+
(command -v sysctl || sudo apt-get update && sudo apt-get install -y procps) && \
64+
sudo sysctl -w vm.max_map_count=2251954
65+
66+
- name: Build
67+
run: /bin/bash ./build.sh --ci
68+
69+
- name: Run Rosetta
70+
run: /bin/bash ./scripts/run-rosetta.sh
71+
72+
- name: Check for uncommitted changes
73+
run: git diff-index --exit-code --ignore-space-at-eol --stat HEAD
74+
75+
- name: Export Docker images
76+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
77+
run: docker image save --output ~/.docker-images.tar $(docker image list --format '{{ if ne .Repository "<none>" }}{{ .Repository }}{{ if ne .Tag "<none>" }}:{{ .Tag }}{{ end }}{{ else }}{{ .ID }}{{ end }}')
78+
79+
- name: Cache Docker images
80+
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
81+
uses: actions/cache/save@v4
82+
with:
83+
path: |
84+
~/.docker-images.tar
85+
key: docker-cache-${{ runner.os }}

.github/workflows/spec-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: AWS Service Spec Update
22

33
on:
44
schedule:
5-
# Every Monday at 13:37 UTC
6-
- cron: 37 13 * * 1
5+
# Every Monday at 10:15 UTC since dependency releases are on Fridays : https://github.com/cdklabs/awscdk-service-spec/releases?q=-spec&expanded=true
6+
- cron: 15 10 * * 1
77
workflow_dispatch: {}
88

99
jobs:

.mergify.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# See https://doc.mergify.io
2+
merge_queue:
3+
# Hopefully this gets Mergify to stop creating PRs just to test merges (it both messes with statistics and our automatic validations)
4+
max_parallel_checks: 1
25
queue_rules:
36
- name: default-merge
47
update_method: merge

CHANGELOG.v2.alpha.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.206.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.205.0-alpha.0...v2.206.0-alpha.0) (2025-07-16)
6+
7+
## [2.205.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.204.0-alpha.0...v2.205.0-alpha.0) (2025-07-15)
8+
9+
## [2.204.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.203.1-alpha.0...v2.204.0-alpha.0) (2025-07-04)
10+
11+
12+
### Features
13+
14+
* **lambda-python-alpha:** support uv ([#33880](https://github.com/aws/aws-cdk/issues/33880)) ([ac6f136](https://github.com/aws/aws-cdk/commit/ac6f13695ba84d5358b69c0763c2f611af54e826)), closes [#31238](https://github.com/aws/aws-cdk/issues/31238) [#32413](https://github.com/aws/aws-cdk/issues/32413)
15+
16+
## [2.203.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.203.0-alpha.0...v2.203.1-alpha.0) (2025-07-02)
17+
18+
## [2.203.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.202.0-alpha.0...v2.203.0-alpha.0) (2025-07-01)
19+
20+
21+
### Features
22+
23+
* **ec2:** support for client route enforcement for client VPN endpoint ([#34405](https://github.com/aws/aws-cdk/issues/34405)) ([063f4e7](https://github.com/aws/aws-cdk/commit/063f4e79d7416c52b622450222c5439e893ca74c))
24+
25+
26+
### Bug Fixes
27+
28+
* **ec2:** don't use inferenceAccellerators in the constructors if not needed ([#34618](https://github.com/aws/aws-cdk/issues/34618)) ([054c6c5](https://github.com/aws/aws-cdk/commit/054c6c53982b8ba33ca31af6752b1662ed5752b8)), closes [#33505](https://github.com/aws/aws-cdk/issues/33505) [/github.com/aws/aws-cdk/issues/33505#issuecomment-2770818825](https://github.com/aws//github.com/aws/aws-cdk/issues/33505/issues/issuecomment-2770818825) [#34610](https://github.com/aws/aws-cdk/issues/34610)
29+
530
## [2.202.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.201.0-alpha.0...v2.202.0-alpha.0) (2025-06-20)
631

732

0 commit comments

Comments
 (0)