Skip to content

Commit

Permalink
#24 #23 Upgrade to AWS CDK v2 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Apr 14, 2023
1 parent 2b9cd8e commit f68c606
Show file tree
Hide file tree
Showing 19 changed files with 248 additions and 150 deletions.
2 changes: 0 additions & 2 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ sources:
- maven_central
linkReplacements:
- "https://github.com/google/gson/gson|https://github.com/google/gson"
excludes:
- regex: "E-PK-CORE-53: The dependencies.md file has outdated content.*"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Now you can add a ci user for the project you want to test:

* In the project repository create a new CDK stack:

```
```shell
cdk init app --language=java
```
* Now remove the autogenerated stack (for example `rm src/main/java/com/myorg/TestStack.java`. The exact stack name depends on the folder name).
Expand Down
12 changes: 2 additions & 10 deletions cdk.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{
"app": "mvn -e -q compile exec:java",
"context": {
"@aws-cdk/core:enableStackNameDuplicates": "true",
"aws-cdk:enableDiffNoFail": "true",
"@aws-cdk/core:stackRelativeExports": "true",
"@aws-cdk/aws-ecr-assets:dockerIgnoreSupport": true,
"@aws-cdk/aws-secretsmanager:parseOwnedSecretName": true,
"@aws-cdk/aws-kms:defaultKeyPolicies": true,
"@aws-cdk/aws-s3:grantWriteWithoutAcl": true
}
}
"context": {}
}
163 changes: 83 additions & 80 deletions dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions doc/changes/changes_2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# CI Isolation AWS 2.0.0, released 2023-04-14

Code name: Upgrade to AWS CDK v2

## Summary

This release upgrades AWS CDK from v1 to v2 which is a breaking change. See the [AWS CDK migration guide](https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html) for details.

## Features

* #24: Upgraded to AWS CDK v2

## Bugfixes

* #23: Removed exclude for "E-PK-CORE-53 dependencies.md file has outdated content"

## Dependency Updates

### Compile Dependency Updates

* Added `software.amazon.awscdk:aws-cdk-lib:2.74.0`
* Removed `software.amazon.awscdk:codebuild:1.197.0`
* Removed `software.amazon.awscdk:core:1.197.0`
* Removed `software.amazon.awscdk:events-targets:1.197.0`
* Removed `software.amazon.awscdk:events:1.197.0`
* Removed `software.amazon.awscdk:iam:1.197.0`
* Added `software.constructs:constructs:10.1.310`

### Test Dependency Updates

* Removed `org.junit.jupiter:junit-jupiter-engine:5.9.2`
* Added `org.slf4j:slf4j-jdk14:2.0.7`
* Updated `software.amazon.awssdk:cloudformation:2.20.24` to `2.20.46`
* Updated `software.amazon.awssdk:codebuild:2.20.24` to `2.20.46`
* Updated `software.amazon.awssdk:iam:2.20.24` to `2.20.46`
* Updated `software.amazon.awssdk:sts:2.20.24` to `2.20.46`

### Plugin Dependency Updates

* Updated `com.exasol:error-code-crawler-maven-plugin:1.2.2` to `1.2.3`
* Updated `com.exasol:project-keeper-maven-plugin:2.9.4` to `2.9.7`
* Updated `org.apache.maven.plugins:maven-compiler-plugin:3.10.1` to `3.11.0`
* Updated `org.apache.maven.plugins:maven-deploy-plugin:3.1.0` to `3.1.1`
* Updated `org.apache.maven.plugins:maven-enforcer-plugin:3.2.1` to `3.3.0`
* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.4.1` to `3.5.0`
* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8` to `3.0.0`
* Added `org.basepom.maven:duplicate-finder-maven-plugin:1.5.1`
* Updated `org.codehaus.mojo:flatten-maven-plugin:1.3.0` to `1.4.1`
* Updated `org.codehaus.mojo:versions-maven-plugin:2.14.2` to `2.15.0`
* Updated `org.jacoco:jacoco-maven-plugin:0.8.8` to `0.8.9`
2 changes: 1 addition & 1 deletion error_code_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ error-tags:
CI2-AWS:
packages:
- com.exasol.ciisolation.aws
highest-index: 8
highest-index: 9

0 comments on commit f68c606

Please sign in to comment.