X Tutup
Skip to content

Added support for --quiet flag on docker push#1220

Closed
justyntemme wants to merge 3 commits intodocker:masterfrom
justyntemme:master
Closed

Added support for --quiet flag on docker push#1220
justyntemme wants to merge 3 commits intodocker:masterfrom
justyntemme:master

Conversation

@justyntemme
Copy link
Contributor

Signed-off-by: Justyn Temme justyntemme@gmail.com

- What I did

Added --quiet flag for docker push
Fix for #958

- How I did it

Passing a flag to either write out the content body of the response, or simply output nothing

- How to verify it
docker push --quiet tagged/image
- Description for the changelog

Added a --quiet flag for docker push

- A picture of a cute animal (not mandatory but encouraged)

cute bunny

@justyntemme
Copy link
Contributor Author

Will fix lint within the hour.

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "master" git@github.com:justyntemme/cli.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354290488
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

ktomk and others added 3 commits July 18, 2018 13:56
test to show current behavior is wrong at parsing an environment file
defining an undefined variable - it must not be defined!

NOTE: this test assume the $HOME variable is always set (see POSIX, this
      normally is the case, e.g. the test suite remains stable).

Signed-off-by: Tom Klingenberg <tklingenberg@lastflood.net>
previously docker did import environment variables if they were present
but created them if they were not when it was asked via a --env-file
cli option to import but not create them.

fix is to only import the variable into the environment if it is present.

additionally do not import variable names of zero-length (which are lines
w/ a potential variable definition w/o a variable name).

refs:

- docker/for-linux#284

Signed-off-by: Tom Klingenberg <tklingenberg@lastflood.net>
Signed-off-by: Justyn Temme <justyntemme@gmail.com>
@thaJeztah
Copy link
Member

continued in #1221

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.

4 participants

X Tutup