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

provider/docker: Add network create --internal flag support #10932

Merged
merged 2 commits into from
Jan 3, 2017
Merged

provider/docker: Add network create --internal flag support #10932

merged 2 commits into from
Jan 3, 2017

Conversation

lvjp
Copy link
Contributor

@lvjp lvjp commented Dec 27, 2016

Add support for the --internal flag of the docker command docker network create

@stack72
Copy link
Contributor

stack72 commented Jan 2, 2017

Hi @lvjp

Thanks for the work here - please can you add an acceptance test to show that this takes affect? That would help us push this change through faster

Thanks

Paul

Copy link
Contributor

@stack72 stack72 left a comment

Choose a reason for hiding this comment

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

Acceptance test has been requested :)

@lvjp
Copy link
Contributor Author

lvjp commented Jan 2, 2017

You was right, acceptance test was needed !

@stack72
Copy link
Contributor

stack72 commented Jan 3, 2017

Hi @lvjp

This LGTM now - thanks for adding the test and proving that both systems work as expected :)

% make testacc TEST=./builtin/providers/docker
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/01/03 11:40:36 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/docker -v  -timeout 120m
=== RUN   TestAccDockerRegistryImage_basic
--- PASS: TestAccDockerRegistryImage_basic (6.54s)
=== RUN   TestAccDockerRegistryImage_private
--- PASS: TestAccDockerRegistryImage_private (1.94s)
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccDockerContainer_basic
--- PASS: TestAccDockerContainer_basic (19.87s)
=== RUN   TestAccDockerContainer_volume
--- PASS: TestAccDockerContainer_volume (80.81s)
=== RUN   TestAccDockerContainer_customized
--- PASS: TestAccDockerContainer_customized (32.17s)
=== RUN   TestAccDockerContainer_upload
--- PASS: TestAccDockerContainer_upload (20.52s)
=== RUN   TestAccDockerImage_basic
--- PASS: TestAccDockerImage_basic (6.13s)
=== RUN   TestAccDockerImage_private
--- PASS: TestAccDockerImage_private (2.38s)
=== RUN   TestAccDockerImage_destroy
--- PASS: TestAccDockerImage_destroy (0.27s)
=== RUN   TestAccDockerImage_data
--- PASS: TestAccDockerImage_data (8.59s)
=== RUN   TestAccDockerNetwork_basic
--- PASS: TestAccDockerNetwork_basic (0.41s)
=== RUN   TestAccDockerNetwork_internal
--- PASS: TestAccDockerNetwork_internal (0.28s)
=== RUN   TestAccDockerVolume_basic
--- PASS: TestAccDockerVolume_basic (0.23s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/docker	180.190s

@stack72 stack72 merged commit f8ce2f7 into hashicorp:master Jan 3, 2017
@ghost
Copy link

ghost commented Apr 18, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants