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

[pkg-export-docker] Exit (abort) when docker commands fail. #3491

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

fnichol
Copy link
Collaborator

@fnichol fnichol commented Oct 4, 2017

This change checks and honors the exit codes from any relevant docker
commands that are executed. This includes:

  • docker build (always called)
  • docker login (used when publishing, if requested)
  • docker logout (used when publishing, if requested)
  • docker push (used when publishing, if requested)
  • docker rmi (used when cleaning up images, if requested)

tenor-55792477

This change checks and honors the exit codes from any relevant `docker`
commands that are executed. This includes:

* `docker build` (always called)
* `docker login` (used when publishing, if requested)
* `docker logout` (used when publishing, if requested)
* `docker push` (used when publishing, if requested)
* `docker rmi` (used when cleaning up images, if requested)

Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
@thesentinels
Copy link
Contributor

Thanks for the pull request! Here is what will happen next:

  1. Your PR will be reviewed by the maintainers
  2. If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!

@reset
Copy link
Collaborator

reset commented Oct 4, 2017

tenor-173280760

@reset reset merged commit 9d204bc into master Oct 4, 2017
@reset reset deleted the fnichol/pkg-export-docker-exit-codes branch October 4, 2017 03:47
@eeyun eeyun added I-linux and removed P-linux labels Mar 6, 2018
@christophermaier christophermaier added Platform: Linux Deals with Linux-specific behavior Type: Bug Issues that describe broken functionality and removed I-linux labels Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus:Exporter Platform: Linux Deals with Linux-specific behavior Type: Bug Issues that describe broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants