Skip to content

chore: use -alpha.0 version suffix when installing alpha packages in the v2-release pipeline#19596

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
madeline-k:sam-integration-tests-alpha-version
Mar 28, 2022
Merged

chore: use -alpha.0 version suffix when installing alpha packages in the v2-release pipeline#19596
mergify[bot] merged 2 commits intoaws:masterfrom
madeline-k:sam-integration-tests-alpha-version

Conversation

@madeline-k
Copy link
Copy Markdown
Contributor

The CLI integration tests are currently failing in the v2-release pipeline, because the framework version used in this pipeline is the actual framework version that is about to be released (e.g. 2.18.0). In this case, replacing rc with alpha does not get us the correct version for installing alpha modules. The version of the alpha modules is 2.18.0-alpha.0.


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use cdk-integ to deploy the infrastructure and generate the snapshot (i.e. cdk-integ without --dry-run)?

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 Mar 28, 2022

@madeline-k madeline-k requested a review from a team March 28, 2022 19:23
@github-actions github-actions bot added p2 @aws-cdk/pipelines CDK Pipelines library labels Mar 28, 2022
@madeline-k madeline-k requested a review from otaviomacedo March 28, 2022 19:23
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 28, 2022
@madeline-k madeline-k changed the title chore: use -alpha.0 version suffix when intalling alpha packages in the v2-release pipeline chore: use -alpha.0 version suffix when installing alpha packages in the v2-release pipeline Mar 28, 2022
@madeline-k madeline-k added p1 package/tools Related to AWS CDK Tools or CLI and removed p2 @aws-cdk/pipelines CDK Pipelines library labels Mar 28, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 28, 2022

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).

'constructs': '^3',
});
} else {
const alphaInstallationVersion = installationVersion.includes('rc') ? installationVersion.replace('rc', 'alpha') : `${installationVersion}-alpha.0`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@mergify mergify bot merged commit 431fa03 into aws:master Mar 28, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 28, 2022

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: ae0af67
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
…the v2-release pipeline (aws#19596)

The CLI integration tests are currently failing in the v2-release pipeline, because the framework version used in this pipeline is the actual framework version that is about to be released (e.g. 2.18.0). In this case, replacing `rc` with `alpha` does not get us the correct version for installing alpha modules. The version of the alpha modules is 2.18.0-alpha.0.


----

### All Submissions:

* [ ] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
	* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?

*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

contribution/core This is a PR that came from AWS. p1 package/tools Related to AWS CDK Tools or CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants