Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ecs): introduce a new Image type, TagParameterContainerImage, to be used in CodePipeline #11795

Merged
merged 4 commits into from
Dec 7, 2020

Conversation

skinny85
Copy link
Contributor

While CDK Pipelines is the idiomatic way of deploying ECS applications in CDK,
it does not handle the case where the application's source code is kept in a separate source code repository from the CDK infrastructure code.
This adds a new class to the ECS module,
TagParameterContainerImage, that allows deploying a service managed that way through CodePipeline.

Related to #1237
Related to #7746


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

gitpod-io bot commented Nov 30, 2020

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 30, 2020
@skinny85 skinny85 changed the title feat(ecs): introduce a new Image type, TagParameterContainerImage, meant to be used in CodePipeline feat(ecs): introduce a new Image type, TagParameterContainerImage, to be used in CodePipeline Nov 30, 2020
@SoManyHs SoManyHs added the @aws-cdk/aws-ecs Related to Amazon Elastic Container label Nov 30, 2020
@skinny85 skinny85 force-pushed the feat/pipeline-container-image branch from 1b4a2a6 to ffced5c Compare December 1, 2020 19:15
Copy link
Contributor

@SoManyHs SoManyHs left a comment

Choose a reason for hiding this comment

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

Mostly copy-edit nits, but otherwise this is great!

packages/@aws-cdk/aws-codepipeline-actions/README.md Outdated Show resolved Hide resolved
* for example in a CodePipeline that pushes a new tag of the image to the repository during a build step,
* and then provides that new tag through the Parameter in the deploy step.
*
* @see #tagParameterName
Copy link
Contributor

Choose a reason for hiding this comment

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

For some reason tagParameterName sounds...kind of weird. Not quite intuitive? But reading the description of what it is I'm not sure I can think of a better name. Maybe ContainerImageTagParameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, are you commenting on the name of the getter, the name of the class, or both? 😃

Copy link
Contributor

Choose a reason for hiding this comment

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

both

skinny85 and others added 4 commits December 7, 2020 14:37
…ant to be used in CodePipeline

While CDK Pipelines is the idiomatic way of deploying ECS applications in CDK,
it does not handle the case where the application's source code is kept in a separate source code repository from the CDK infrastructure code.
This adds a new class to the ECS module,
`TagParameterContainerImage`, that allows deploying a service managed that way through CodePipeline.

Related to aws#1237
Related to aws#7746
Co-authored-by: Hsing-Hui Hsu <[email protected]>
@skinny85 skinny85 force-pushed the feat/pipeline-container-image branch from fad029d to 3ff478c Compare December 7, 2020 22:40
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 3ff478c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Dec 7, 2020

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 4182c40 into aws:master Dec 7, 2020
@skinny85 skinny85 deleted the feat/pipeline-container-image branch December 8, 2020 18:25
flochaz pushed a commit to flochaz/aws-cdk that referenced this pull request Jan 5, 2021
… be used in CodePipeline (aws#11795)

While CDK Pipelines is the idiomatic way of deploying ECS applications in CDK,
it does not handle the case where the application's source code is kept in a separate source code repository from the CDK infrastructure code.
This adds a new class to the ECS module,
`TagParameterContainerImage`, that allows deploying a service managed that way through CodePipeline.

Related to aws#1237
Related to aws#7746

----

*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/aws-ecs Related to Amazon Elastic Container 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