Skip to content

Commit 4abaa1a

Browse files
Merge branch 'main' into feature/sagemaker-serverless-variants-23148
2 parents 83c635e + 1fb4c78 commit 4abaa1a

File tree

34 files changed

+63577
-147
lines changed

34 files changed

+63577
-147
lines changed

.github/workflows/codebuild-pr-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030

3131
env:
3232
PR_BUILD: true
33+
JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION: true
3334

3435
steps:
3536
- name: Checkout code

.github/workflows/integration-test-deployment.yml

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
workflow_dispatch: {}
88
merge_group: {}
99
pull_request_target:
10+
types:
11+
- opened
12+
- synchronize
13+
- reopened
14+
- labeled
1015
branches:
1116
- main
1217
paths:
@@ -21,26 +26,18 @@ jobs:
2126
integration_test_deployment:
2227
runs-on: codebuild-aws-cdk-github-actions-deployment-integ-runner-${{ github.run_id }}-${{ github.run_attempt }}
2328
environment: deployment-integ-test # Do not change or remove this without discussing with Appsec
24-
if: contains(github.event.pull_request.labels.*.name, 'pr/needs-integration-tests-deployment ')
29+
if: contains(github.event.pull_request.labels.*.name, 'pr/needs-integration-tests-deployment')
2530
name: 'Deploy integration test snapshots (requires `pr/needs-integration-tests-deployment` label)'
2631

2732
env:
2833
PR_BUILD: true
2934

3035
steps:
31-
- name: Checkout BASE
32-
uses: actions/checkout@v5
33-
with:
34-
ref: ${{ github.event.pull_request.base.sha }}
35-
fetch-depth: 0
36-
path: base
37-
3836
- name: Checkout HEAD
3937
uses: actions/checkout@v5
4038
with:
4139
ref: ${{ github.event.pull_request.head.sha }}
4240
fetch-depth: 0
43-
path: head
4441

4542
- name: Configure AWS credentials
4643
uses: aws-actions/configure-aws-credentials@v5
@@ -55,8 +52,7 @@ jobs:
5552
node-version: "lts/*"
5653
cache: "yarn"
5754
cache-dependency-path: |
58-
base/yarn.lock
59-
head/yarn.lock
55+
yarn.lock
6056
6157
- name: Set up Docker
6258
uses: docker/setup-buildx-action@v3
@@ -85,26 +81,18 @@ jobs:
8581
run: |
8682
(command -v sysctl || sudo apt-get update && sudo apt-get install -y procps) && \
8783
sudo sysctl -w vm.max_map_count=2251954
88-
89-
- name: Install dependencies for integration-test-deployment (BASE)
90-
working-directory: base
91-
run: yarn --cwd tools/@aws-cdk/integration-test-deployment install
92-
93-
- name: Build deployment-integ (BASE)
94-
working-directory: base
95-
run: yarn --cwd tools/@aws-cdk/integration-test-deployment build
9684
97-
- name: Install dependencies for Integration Tests (HEAD)
98-
working-directory: head
85+
- name: Install dependencies for Integration Tests
9986
run: yarn install
87+
88+
- name: Build deployment-integ
89+
run: yarn --cwd tools/@aws-cdk/integration-test-deployment build
10090

101-
- name: Build Integration Tests (HEAD)
102-
working-directory: head
91+
- name: Build Integration Tests
10392
run: npx lerna run build --scope=@aws-cdk-testing/framework-integ
10493

105-
- name: Run integration tests from HEAD using integration-test-deployment script from BASE
106-
run: yarn --cwd ../base/tools/@aws-cdk/integration-test-deployment/ integration-test-deployment
107-
working-directory: head
94+
- name: Run integration tests using integration-test-deployment script
95+
run: yarn run atmosphere-integ-test
10896
env:
10997
CDK_ATMOSPHERE_ENDPOINT: ${{ vars.CDK_ATMOSPHERE_ENDPOINT }}
11098
CDK_ATMOSPHERE_POOL: ${{ vars.CDK_ATMOSPHERE_POOL}}

.github/workflows/pr-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525

2626
env:
2727
PR_BUILD: true
28+
JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION: true
2829

2930
steps:
3031
- name: Checkout code

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"pack": "./pack.sh",
1313
"compat": "./scripts/check-api-compatibility.sh",
1414
"bump": "./bump.sh",
15-
"build-all": "tsc -b"
15+
"build-all": "tsc -b",
16+
"atmosphere-integ-test": "lerna run build --scope @aws-cdk/integration-test-deployment && node tools/@aws-cdk/integration-test-deployment/bin/index.js"
1617
},
1718
"devDependencies": {
1819
"@nx/workspace": "^20",
@@ -25,9 +26,9 @@
2526
"fs-extra": "^9.1.0",
2627
"graceful-fs": "^4.2.11",
2728
"jest-junit": "^13.2.0",
28-
"jsii-diff": "1.113.0",
29-
"jsii-pacmak": "1.113.0",
30-
"jsii-reflect": "1.113.0",
29+
"jsii-diff": "1.116.0",
30+
"jsii-pacmak": "1.116.0",
31+
"jsii-reflect": "1.116.0",
3132
"lerna": "^8.2.4",
3233
"nx": "^20",
3334
"semver": "^7.7.2",

packages/@aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/http/integ.invoke-json-path.js.snapshot/HttpInvokeTestDefaultTestDeployAssertBA1B4726.assets.json

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-stepfunctions-tasks/test/http/integ.invoke-json-path.js.snapshot/HttpInvokeTestDefaultTestDeployAssertBA1B4726.template.json

Lines changed: 188 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)