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

fix: gracefully exit on not finding a local image #6039

Merged

Conversation

sriram-mv
Copy link
Contributor

  • For build with --use-container and --build-image

Which issue(s) does this change fix?

#6023

Why is this change necessary?

Gracefully fail and not throw a traceback

How does it address the issue?

What side effects does this change have?

Mandatory Checklist

PRs will only be reviewed after checklist is complete

  • Add input/output type hints to new functions/methods
  • Write design document if needed (Do I need to write a design document?)
  • Write/update unit tests
  • Write/update integration tests
  • Write/update functional tests if needed
  • 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.

@sriram-mv sriram-mv requested a review from a team as a code owner October 4, 2023 22:35
@github-actions github-actions bot added area/build sam build command pr/internal labels Oct 4, 2023
samcli/lib/build/app_builder.py Show resolved Hide resolved
@sriram-mv sriram-mv force-pushed the graceful_fail_docker_image_pull_build branch from 8f47580 to dcc55c1 Compare October 5, 2023 19:09
- For `build` with `--use-container` and `--build-image`
@sriram-mv sriram-mv force-pushed the graceful_fail_docker_image_pull_build branch from dcc55c1 to c216a61 Compare October 5, 2023 19:10
@sriram-mv sriram-mv added this pull request to the merge queue Oct 5, 2023
Merged via the queue into aws:develop with commit 8126aaa Oct 5, 2023
76 checks passed
moelasmar pushed a commit to moelasmar/aws-sam-cli that referenced this pull request Oct 22, 2023
- For `build` with `--use-container` and `--build-image`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build sam build command pr/internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants