-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1046 from awslabs/bump/2.48.0
chore(release): 2.48.0
- Loading branch information
Showing
194 changed files
with
19,500 additions
and
2,078 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
# How to use this script | ||
# | ||
# This script will refresh integration tests for multiple | ||
# Solutions Constructs sequentially and unattended. If you're | ||
# doing a release and have to update many integration tests, this is | ||
# for you. | ||
|
||
# Open a docker build environment | ||
# List all the constructs whose integration tests you want to refresh in the | ||
# export constructs list (you can delete the examples that are there) | ||
# Run this script from the top level aws-solutions-constructs folder. | ||
# | ||
# Options to accelerate | ||
# * adding --no-clean to the cdk-integ command will allow it to | ||
# finish without destroying the stack. You can then destroy the stack manually | ||
# from the console or command line so the stack destruction does not slow the process | ||
# * adding & to the end of the cdk-integ command will execute it asynchronously. This | ||
# allows you to refresh MANY constructs' tests simultaneously. Probably good to add | ||
# a sleep 10 command before the end of the loop to keep from overwhelming CloudFormation | ||
|
||
export constructs=" | ||
aws-alb-fargate | ||
aws-alb-lambda | ||
aws-apigateway-dynamodb | ||
aws-apigateway-iot | ||
aws-apigateway-kinesisstreams | ||
aws-apigateway-lambda | ||
aws-apigateway-sagemakerendpoint | ||
aws-apigateway-sqs | ||
aws-cloudfront-apigateway | ||
aws-cloudfront-apigateway-lambda | ||
aws-cloudfront-mediastore | ||
aws-cloudfront-s3 | ||
aws-cognito-apigateway-lambda | ||
aws-dynamodbstreams-lambda | ||
aws-dynamodbstreams-lambda-elasticsearch-kibana | ||
aws-eventbridge-kinesisfirehose-s3 | ||
aws-eventbridge-kinesisstreams | ||
aws-eventbridge-lambda | ||
aws-eventbridge-sns | ||
aws-eventbridge-sqs | ||
aws-eventbridge-stepfunctions | ||
aws-fargate-dynamodb | ||
aws-fargate-eventbridge | ||
aws-fargate-kinesisfirehose | ||
aws-fargate-kinesisstreams | ||
aws-fargate-opensearch | ||
aws-fargate-s3 | ||
aws-fargate-secretsmanager | ||
aws-fargate-sns | ||
aws-fargate-sqs | ||
aws-fargate-ssmstringparameter | ||
aws-fargate-stepfunctions | ||
aws-iot-kinesisfirehose-s3 | ||
aws-iot-kinesisstreams | ||
aws-iot-lambda | ||
aws-iot-lambda-dynamodb | ||
aws-iot-s3 | ||
aws-iot-sqs | ||
aws-kinesisfirehose-s3 | ||
aws-kinesisstreams-gluejob | ||
aws-kinesisstreams-kinesisfirehose-s3 | ||
aws-kinesisstreams-lambda | ||
aws-lambda-dynamodb | ||
aws-lambda-elasticachememcached | ||
aws-lambda-elasticsearch-kibana | ||
aws-lambda-eventbridge | ||
aws-lambda-kendra | ||
aws-lambda-kinesisfirehose | ||
aws-lambda-kinesisstreams | ||
aws-lambda-opensearch | ||
aws-lambda-s3 | ||
aws-lambda-sagemakerendpoint | ||
aws-lambda-secretsmanager | ||
aws-lambda-sns | ||
aws-lambda-sqs | ||
aws-lambda-sqs-lambda | ||
aws-lambda-ssmstringparameter | ||
aws-lambda-stepfunctions | ||
aws-openapigateway-lambda | ||
aws-route53-alb | ||
aws-route53-apigateway | ||
aws-s3-lambda | ||
aws-s3-sns | ||
aws-s3-sqs | ||
aws-s3-stepfunctions | ||
aws-sns-lambda | ||
aws-sns-sqs | ||
aws-sqs-lambda | ||
aws-wafwebacl-alb | ||
aws-wafwebacl-apigateway | ||
aws-wafwebacl-appsync | ||
aws-wafwebacl-cloudfront | ||
" | ||
|
||
deployment_dir=$(cd $(dirname $0) && pwd) | ||
constructs_root_dir="$deployment_dir/../.." | ||
source_dir="$deployment_dir/../../source" | ||
|
||
echo "=============================================================================================" | ||
echo "aligning versions and updating package.json for CDK v2..." | ||
/bin/bash $constructs_root_dir/deployment/v2/align-version.sh | ||
|
||
bail="--bail" | ||
runtarget="jsii" | ||
cd $source_dir/ | ||
|
||
export PATH=$source_dir/node_modules/.bin:$PATH | ||
export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}" | ||
|
||
echo "=============================================================================================" | ||
echo "installing..." | ||
yarn install --frozen-lockfile | ||
|
||
# echo "=============================================================================================" | ||
# echo "updating Import statements for CDK v2..." | ||
# /bin/bash $constructs_root_dir/rewrite-imports.sh | ||
|
||
echo "=============================================================================================" | ||
echo "building cdk-integ-tools..." | ||
cd $source_dir/tools/cdk-integ-tools | ||
npm install | ||
npm run build | ||
npm link | ||
|
||
cd $source_dir | ||
echo "=============================================================================================" | ||
echo "building..." | ||
time lerna run $bail --stream $runtarget || fail | ||
|
||
for construct in $constructs; do | ||
|
||
cd $constructs_root_dir/source/patterns/@aws-solutions-constructs/$construct | ||
echo Running in $PWD | ||
cdk-integ --no-clean & | ||
sleep 10 | ||
cd $constructs_root_dir/source/patterns/@aws-solutions-constructs | ||
done | ||
cd $constructs_root_dir | ||
./deployment/v2/align-version.sh revert |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,5 @@ | |
"./patterns/@aws-solutions-constructs/*" | ||
], | ||
"rejectCycles": "true", | ||
"version": "2.47.0" | ||
"version": "2.48.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.