Skip to content

Fix cli-plugins build.#1701

Merged
vdemeester merged 1 commit intodocker:masterfrom
ijc:plugin-build-fixes
Mar 5, 2019
Merged

Fix cli-plugins build.#1701
vdemeester merged 1 commit intodocker:masterfrom
ijc:plugin-build-fixes

Conversation

@ijc
Copy link
Contributor

@ijc ijc commented Mar 1, 2019

Seems I rebased over b039db9 ("Make it possible to override the volume
mounts and shell for the dev container") at some point and failed to notice
that some of the variable names had changed.

Signed-off-by: Ian Campbell ijc@docker.com

@ijc
Copy link
Contributor Author

ijc commented Mar 1, 2019

I had a look to see if I should be tweaking the CI but it seems none of these targets (build, cross etc) are tested there -- the test-e2e which is run builds things internally to its own image and all the circle stuff is open coded in circle.yml rather than using the makefile targets. I won't look at this further here.

@codecov-io
Copy link

Codecov Report

Merging #1701 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1701   +/-   ##
=======================================
  Coverage   56.12%   56.12%           
=======================================
  Files         306      306           
  Lines       21030    21030           
=======================================
  Hits        11803    11803           
  Misses       8373     8373           
  Partials      854      854

@codecov-io
Copy link

codecov-io commented Mar 1, 2019

Codecov Report

Merging #1701 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1701   +/-   ##
=======================================
  Coverage   56.18%   56.18%           
=======================================
  Files         306      306           
  Lines       21006    21006           
=======================================
  Hits        11803    11803           
  Misses       8349     8349           
  Partials      854      854

Seems I rebased over b039db9 ("Make it possible to override the volume
mounts and shell for the dev container") at some point and failed to notice
that some of the variable names had changed.

In the meantime the underlying issue was fixed in docker#1698 but here we switch to
using `$(DOCKER_RUN)`. This means that these rules now use
`$(DOCKER_RUN_NAME_OPTION)` and thus obey the `$(DOCKER_CLI_CONTAINER_NAME)`
variable.

Signed-off-by: Ian Campbell <ijc@docker.com>
@ijc ijc force-pushed the plugin-build-fixes branch from 6b85267 to 38480d9 Compare March 4, 2019 10:18
@ijc
Copy link
Contributor Author

ijc commented Mar 4, 2019

Looks like @silvin-lubecki also fixed in 2c6b2cc (#1698).

I rebased the switch to use $(DOCKER_RUN) and rewrote the commit message:

    Use `$(DOCKER_RUN)` for cli plugins build.
    
    Seems I rebased over b039db985a4b ("Make it possible to override the volume
    mounts and shell for the dev container") at some point and failed to notice
    that some of the variable names had changed.
    
    In the meantime the underlying issue was fixed in #1698 but here we switch to
    using `$(DOCKER_RUN)`. This means that these rules now use
    `$(DOCKER_RUN_NAME_OPTION)` and thus obey the `$(DOCKER_CLI_CONTAINER_NAME)`
    variable.
    
    Signed-off-by: Ian Campbell <ijc@docker.com>

Not sure if this is still valuable or not. Feel free to close or merge as you see fit.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member

ping @silvin-lubecki @vdemeester @tiborvass PTAL

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

@vdemeester vdemeester merged commit 8f68971 into docker:master Mar 5, 2019
@GordonTheTurtle GordonTheTurtle added this to the 19.03.0 milestone Mar 5, 2019
@ijc ijc deleted the plugin-build-fixes branch March 5, 2019 11:10
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