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(Public ECR): Build Images #2793

Merged
merged 9 commits into from Apr 5, 2021
Merged

feat(Public ECR): Build Images #2793

merged 9 commits into from Apr 5, 2021

Conversation

CoshUS
Copy link
Contributor

@CoshUS CoshUS commented Apr 5, 2021

Which issue(s) does this change fix?

Why is this change necessary?

How does it address the issue?

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 and others added 9 commits March 15, 2021 15:16
* Changed Build Image Registry to Public ECR

* Added  _IMAGE_URI_PREFIX

* Fixed Unit Tests

* Updated Image Format
…2720)

* Added Tests for Latest Tag

* Added use_container Check for Verify Latest Tag Tests

* Fixed DotNet and Go Build Tests

* Added Missing use_container Check for test_build_function_and_layer
* Changed Build Image Registry to Public ECR

* Added  _IMAGE_URI_PREFIX

* Fixed Unit Tests

* Updated Image Format
…2720)

* Added Tests for Latest Tag

* Added use_container Check for Verify Latest Tag Tests

* Fixed DotNet and Go Build Tests

* Added Missing use_container Check for test_build_function_and_layer
* Added Latest Tag Check

* Added --build-image Option

* Added Unit Tests

* Added Help Text and Fixed PyLint

* Fixed Path Validation for Unit Tests

* Updated Type Hintings

* Added _parse_key_value_pair

* Updated tag Handling for Image Pulls

* Added Throwing Exception with Invalid Build Images

* Fixed PyLint Issue
…2780)

* Added integration tests

* Added click requirement on -u presence for container based options

* Added click class that checks -u presence for container based options

* Reformatting and fixing test cases

* Fix for integration test failures

* Added support for layers

* Resolve conflict

* Refactoring file location

* Addressing review comments, refactoring

* Reformatting logging sentence

* Refactoring container check for simplicity

* Clarifying test case

* Added unit tests on layer builds

* Improving readability

* Refactoring to simplify

* Removing unnecessary lines

* Refactoring integration test

* Shortening error message

* Adjusting test behaviour

* Added new unit tests

* Test refactoring

* Added new test class

* Removed unused import

* Improving help text
@qingchm qingchm self-requested a review April 5, 2021 23:06
@qingchm qingchm marked this pull request as ready for review April 5, 2021 23:09
@CoshUS CoshUS changed the title Feat/public ecr feat(Public ECR): Build Images Apr 5, 2021
@qingchm qingchm merged commit 54644dd into develop Apr 5, 2021
moelasmar pushed a commit to moelasmar/aws-sam-cli that referenced this pull request Jul 1, 2021
* feat(Public ECR): Changed Build Image Registry to Public ECR (aws#2708)

* Changed Build Image Registry to Public ECR

* Added  _IMAGE_URI_PREFIX

* Fixed Unit Tests

* Updated Image Format

* feat(Public ECR): Updated Test Image Name and Added Latest Tag Check (aws#2720)

* Added Tests for Latest Tag

* Added use_container Check for Verify Latest Tag Tests

* Fixed DotNet and Go Build Tests

* Added Missing use_container Check for test_build_function_and_layer

* feat(Public ECR): Changed Build Image Registry to Public ECR (aws#2708)

* Changed Build Image Registry to Public ECR

* Added  _IMAGE_URI_PREFIX

* Fixed Unit Tests

* Updated Image Format

* feat(Public ECR): Updated Test Image Name and Added Latest Tag Check (aws#2720)

* Added Tests for Latest Tag

* Added use_container Check for Verify Latest Tag Tests

* Fixed DotNet and Go Build Tests

* Added Missing use_container Check for test_build_function_and_layer

* feat(Public ECR): Added --build-image Options (aws#2725)

* Added Latest Tag Check

* Added --build-image Option

* Added Unit Tests

* Added Help Text and Fixed PyLint

* Fixed Path Validation for Unit Tests

* Updated Type Hintings

* Added _parse_key_value_pair

* Updated tag Handling for Image Pulls

* Added Throwing Exception with Invalid Build Images

* Fixed PyLint Issue

* Feat: added integration tests, container tag check and layer support  (aws#2780)

* Added integration tests

* Added click requirement on -u presence for container based options

* Added click class that checks -u presence for container based options

* Reformatting and fixing test cases

* Fix for integration test failures

* Added support for layers

* Resolve conflict

* Refactoring file location

* Addressing review comments, refactoring

* Reformatting logging sentence

* Refactoring container check for simplicity

* Clarifying test case

* Added unit tests on layer builds

* Improving readability

* Refactoring to simplify

* Removing unnecessary lines

* Refactoring integration test

* Shortening error message

* Adjusting test behaviour

* Added new unit tests

* Test refactoring

* Added new test class

* Removed unused import

* Improving help text

Co-authored-by: Qingchuan Ma <69653965+qingchm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants