Move the Typescript stacks to a typescript/ directory
Make run_integration_tests.sh check the language of each stack, instead of assuming all stacks are in Typescript. Make the script require that path of a typescript stack should be like typescript/<name>.ts.
Testing Guidelines
Run aws-vault exec sso-serverless-sandbox-account-admin -- scripts/run_integration_tests.sh. It finished successfully and the output was same as before.
Background
integration_tests/stacks/
contains a few example Typescript stacksintegration_tests/snapshots/
contains the expected snapshots generated from the stacksscripts/run_integration_tests.sh
generates snapshots from the stacks, and compare the generated stacks with expected stacksMotivation
The test only covers TypeScript stacks. We want to cover Python and Go stacks as well to prevent issues like https://github.com/DataDog/datadog-cdk-constructs/issues/294, where the Python package was broken.
What does this PR do?
typescript/
directoryrun_integration_tests.sh
check the language of each stack, instead of assuming all stacks are in Typescript. Make the script require that path of a typescript stack should be liketypescript/<name>.ts
.Testing Guidelines
Run
aws-vault exec sso-serverless-sandbox-account-admin -- scripts/run_integration_tests.sh
. It finished successfully and the output was same as before.Additional Notes
Types of Changes
Check all that apply