diff --git a/packages/aws-cdk/CONTRIBUTING.md b/packages/aws-cdk/CONTRIBUTING.md index 0806a8297a242..2ad4991eef00c 100644 --- a/packages/aws-cdk/CONTRIBUTING.md +++ b/packages/aws-cdk/CONTRIBUTING.md @@ -36,6 +36,12 @@ To run a single integ test in the source tree: $ test/integ/run-against-repo test/integ/cli/test.sh -t 'SUBSTRING OF THE TEST NAME' ``` +To run regression tests in the source tree: + +``` +$ test/integ/test-cli-regression-against-current-code.sh [-t '...'] +``` + ### CLI integration tests CLI tests will exercise a number of common CLI scenarios, and deploy actual diff --git a/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/NOTES.md b/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/NOTES.md new file mode 100644 index 0000000000000..390f3f43a2d55 --- /dev/null +++ b/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/NOTES.md @@ -0,0 +1,2 @@ +Introduced a limitation on bootstrapping qualifier length +(max 10 chars) but old tests were using qualifiers of 12 chars. \ No newline at end of file diff --git a/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/skip-tests.txt b/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/skip-tests.txt new file mode 100644 index 0000000000000..fcc22f05edfec --- /dev/null +++ b/packages/aws-cdk/test/integ/cli-regression-patches/v1.61.1/skip-tests.txt @@ -0,0 +1,16 @@ +# This file is empty on purpose. Leave it here as documentation +# and an example. +# +# Copy this file to cli-regression-patches/vX.Y.Z/skip-tests.txt +# and edit it there if you want to exclude certain tests from running +# when performing a certain version's regression tests. +# +# Put a test name on a line by itself to skip it. + +upgrade legacy bootstrap stack to new bootstrap stack while in use +deploy new style synthesis to new style bootstrap +deploy new style synthesis to new style bootstrap (with docker image) +deploy old style synthesis to new style bootstrap +can dump the template, modify and use it to deploy a custom bootstrap stack +switch on termination protection, switch is left alone on re-bootstrap +add tags, left alone on re-bootstrap \ No newline at end of file