Skip to content

Commit 99736cc

Browse files
authored
Merge branch 'main' into rds-aurora-pgsql-versions
2 parents 7ad0ee6 + 4eed0d9 commit 99736cc

File tree

115 files changed

+3199
-548
lines changed

Some content is hidden

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

115 files changed

+3199
-548
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Codecov Collect
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
collect:
11+
name: Collect Coverage
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Node
19+
uses: actions/setup-node@v4
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Build Library
25+
run: npx lerna run build --scope=aws-cdk-lib
26+
27+
- name: Run Core tests
28+
run: cd packages/aws-cdk-lib && yarn test core
29+
30+
- name: Upload Coverage and PR Info
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: coverage-artifacts
34+
path: |
35+
packages/aws-cdk-lib/coverage/cobertura-coverage.xml
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Codecov Upload
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Codecov Collect"]
6+
types:
7+
- completed
8+
9+
permissions:
10+
contents: write
11+
id-token: write
12+
13+
jobs:
14+
upload:
15+
name: Upload to Codecov
16+
runs-on: ubuntu-latest
17+
if: >
18+
github.event.workflow_run.event == 'pull_request' &&
19+
github.event.workflow_run.conclusion == 'success'
20+
21+
steps:
22+
- name: Download Artifacts
23+
uses: actions/download-artifact@v4
24+
with:
25+
name: coverage-artifacts
26+
path: ./coverage
27+
repository: ${{ github.repository }}
28+
run-id: ${{ github.event.workflow_run.id }}
29+
30+
- name: Upload to Codecov
31+
uses: codecov/codecov-action@v5
32+
with:
33+
files: ./coverage/packages/aws-cdk-lib/coverage/cobertura-coverage.xml
34+
fail_ci_if_error: true
35+
flags: suite.unit
36+
use_oidc: true

.github/workflows/security-guardian.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ on:
33
pull_request: {}
44

55
jobs:
6+
log-skip:
7+
if: |
8+
startsWith(github.event.pull_request.title, 'chore(release):') ||
9+
startsWith(github.event.pull_request.title, 'chore(merge-back):')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: echo "Skipping Security Guardian for release/merge-back PR"
613
run-security-guardian:
14+
if: |
15+
!startsWith(github.event.pull_request.title, 'chore(release):') &&
16+
!startsWith(github.event.pull_request.title, 'chore(merge-back):')
717
runs-on: ubuntu-latest
818
steps:
9-
- name: Skip check for release PRs
10-
if: |
11-
(
12-
startsWith(github.event.pull_request.title, 'chore(release):') ||
13-
startsWith(github.event.pull_request.title, 'chore(merge-back):')
14-
)
15-
run: echo "Skipping Security Guardian for release PR" && exit 0
16-
1719
- name: Checkout
1820
uses: actions/checkout@v4
1921
with:
20-
fetch-depth: 0 # Required to enable full git diff
22+
fetch-depth: 0
2123

2224
- name: Install cfn-guard
2325
run: |

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"jsii-reflect": "1.112.0",
3131
"lerna": "^8.2.2",
3232
"nx": "^20",
33-
"semver": "^7.7.1",
33+
"semver": "^7.7.2",
3434
"standard-version": "^9.5.0",
35-
"ts-jest": "^29.3.2",
35+
"ts-jest": "^29.3.3",
3636
"ts-node": "^10.9.2",
3737
"typescript": "~5.5.4"
3838
},

packages/@aws-cdk-testing/framework-integ/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "Apache-2.0",
3131
"devDependencies": {
3232
"@aws-cdk/cdk-build-tools": "0.0.0",
33-
"@aws-cdk/integ-runner": "^2.186.6",
33+
"@aws-cdk/integ-runner": "^2.186.7",
3434
"@aws-cdk/pkglint": "0.0.0",
3535
"@aws-sdk/client-acm": "3.632.0",
3636
"@aws-sdk/client-rds": "3.632.0",
@@ -47,7 +47,7 @@
4747
"@aws-cdk/lambda-layer-kubectl-v31": "^2.0.3",
4848
"@aws-cdk/lambda-layer-kubectl-v32": "^2.1.0",
4949
"aws-cdk-lib": "0.0.0",
50-
"cdk8s": "2.69.67",
50+
"cdk8s": "2.69.68",
5151
"cdk8s-plus-27": "2.9.5",
5252
"constructs": "^10.0.0"
5353
},

packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch-actions/test/integ.lambda-alarm-multiple-stepscalingpolicy.js.snapshot/cdk.out

Lines changed: 1 addition & 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-cloudwatch-actions/test/integ.lambda-alarm-multiple-stepscalingpolicy.js.snapshot/integ.json

Lines changed: 13 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-cloudwatch-actions/test/integ.lambda-alarm-multiple-stepscalingpolicy.js.snapshot/lambda-alarm-multiple-stepscalingpolicy.assets.json

Lines changed: 20 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)