Skip to content

feat(Auto ECR): Added Option to Auto Create ECR Repos During Deployment - #2815

Merged
CoshUS merged 83 commits into
aws:developfrom
CoshUS:feat/auto-ecr
Aug 20, 2021
Merged

feat(Auto ECR): Added Option to Auto Create ECR Repos During Deployment#2815
CoshUS merged 83 commits into
aws:developfrom
CoshUS:feat/auto-ecr

Conversation

@CoshUS

@CoshUS CoshUS commented Apr 16, 2021

Copy link
Copy Markdown
Contributor

Which issue(s) does this change fix?

Why is this change necessary?

How does it address the issue?

Added options to auto create ECR repos when deploying.
RFC: #2675

Also fixes Windows ANSI output during image pushes.
samcli/lib/package/stream_cursor_utils.py

What side effects does this change have?

Checklist

  • Add input/output type hints to new functions/methods
  • Write design document (Do I need to write a design document?)
  • Write unit tests
  • Write/update functional tests
  • Write/update integration tests
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed
  • Write documentation

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

@CoshUS
CoshUS marked this pull request as ready for review April 16, 2021 05:35
Comment thread samcli/commands/deploy/command.py Outdated
Comment thread samcli/commands/deploy/command.py Outdated
Comment thread samcli/commands/deploy/guided_context.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_builder.py Outdated
Comment thread samcli/lib/bootstrap/companion_stack/data_types.py
Comment thread samcli/lib/bootstrap/companion_stack/data_types.py
CoshUS and others added 2 commits April 16, 2021 12:52
Co-authored-by: Chris Rehn <crehn@outlook.com>
@CoshUS
CoshUS requested review from moelasmar and sriram-mv July 29, 2021 08:21

@mgrandis mgrandis left a comment

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.

Looks good! Just a few minor changes

Comment thread samcli/commands/deploy/guided_context.py Outdated
return stack["Outputs"]
except ClientError:
click.echo("\n\tLooking for resources needed for deployment: Not found.")
pass

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.

We should maybe have a log.debug here as well.

Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py Outdated
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py Outdated
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py Outdated
Comment thread tests/unit/lib/bootstrap/companion_stack/test_data_types.py
@CoshUS
CoshUS requested a review from mgrandis July 30, 2021 21:30

@mgrandis mgrandis left a comment

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.

Just 2 more minor changes

Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py Outdated
Comment thread samcli/lib/utils/managed_cloudformation_stack.py Outdated
@CoshUS
CoshUS requested review from mgrandis and removed request for hoffa July 30, 2021 21:56
@CoshUS
CoshUS changed the base branch from develop to staging/sam-delete-auto-ecr August 5, 2021 23:15
Comment thread samcli/commands/deploy/command.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_builder.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_builder.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_builder.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py
Comment thread samcli/lib/bootstrap/companion_stack/companion_stack_manager.py
@CoshUS
CoshUS changed the base branch from staging/sam-delete-auto-ecr to develop August 10, 2021 21:24
@CoshUS
CoshUS removed the request for review from sriram-mv August 20, 2021 07:32
@CoshUS
CoshUS merged commit 3f8bbf7 into aws:develop Aug 20, 2021
"AWSTemplateFormatVersion": "2010-09-09",
"Transform": "AWS::Serverless-2016-10-31",
"Description": "Managed Stack for AWS SAM CLI",
"Metadata": {

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.

Should we add the metadata ourselves in code, and move this entire template to its own file. We can then run cfn-lint as part of CI process on this template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants