Skip to content

chore(CDK V2 canaries): allow canary tests to run with a specific aws-cdk version#17285

Merged
mergify[bot] merged 7 commits intoaws:masterfrom
madeline-k:v2-canaries
Nov 3, 2021
Merged

chore(CDK V2 canaries): allow canary tests to run with a specific aws-cdk version#17285
mergify[bot] merged 7 commits intoaws:masterfrom
madeline-k:v2-canaries

Conversation

@madeline-k
Copy link
Copy Markdown
Contributor

@madeline-k madeline-k commented Nov 2, 2021

If an environment variable, $RELEASE_TAG is defined, it will be appended to the end of the npm install aws-cdk@ command. This will allow us to run canaries that test against v2 by specifying RELEASE_TAG=next in the environment variables. If $RELEASE_TAG is not defined, npm install aws-cdk@latest will be used.

This PR also includes a comment in release-notes.ts that the v2 publishing verification canary is dependent on the format of the release notes.

part of #16593, see https://github.com/cdklabs/cdk-ops/pull/1769


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Nov 2, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 2, 2021
@madeline-k madeline-k requested review from a team and njlynch November 2, 2021 23:35
@njlynch
Copy link
Copy Markdown
Contributor

njlynch commented Nov 3, 2021

@rix0rrr beat you to it by about 8 hours, I think -- #17276. Let's sync up about this and https://github.com/cdklabs/cdk-ops/pull/1769 and figure out the best path forward.

@github-actions github-actions bot added the aws-cdk-lib Related to the aws-cdk-lib package label Nov 3, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 3, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit af61fa6 into aws:master Nov 3, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 3, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 493bc1f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…-cdk version (aws#17285)

If an environment variable, `$RELEASE_TAG` is defined, it will be appended to the end of the `npm install aws-cdk@` command. This will allow us to run canaries that test against v2 by specifying `RELEASE_TAG=next` in the environment variables. If `$RELEASE_TAG` is not defined, `npm install aws-cdk@latest` will be used. 

This PR also includes a comment in `release-notes.ts` that the v2 publishing verification canary is dependent on the format of the release notes. 
 
part of aws#16593, see https://github.com/cdklabs/cdk-ops/pull/1769 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-cdk-lib Related to the aws-cdk-lib package contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants