Commit graph

169 commits

Author SHA1 Message Date
Nemo
49bb47b68d Marks the links property as deprecated 2018-04-02 11:49:45 +05:30
Nemo
c2597e760c Adds warning about the link feature 2018-03-10 20:20:56 +05:30
Manuel Vogel
da1272279e
Updated dockerclient to bf3bc17bb (#46)
updated volumes options
2018-03-07 10:19:02 +01:00
Manuel Vogel
36fd7383c3
Update go-dockerclient 2018-02-22 08:09:18 +01:00
Manuel Vogel
d7038e7560 Feat/swarm 3 acc test infra (#39)
* Set up test infrastructure with local registry and custom images.

* Updated travis docker version and usage of new test infra.

* Made acc tests constantly output test results.

* Tmp acc test files are ignored.

* Fixed tests with new infra.

* Allowing insecure registries for acc tests. Added fallback for v1 registries.

* Added private image cleanup after tests.

* Refined acc test structure to confirm tf provider standards with make testacc.
2018-02-09 13:11:30 -06:00
Manuel Vogel
5a40076c95
Feat/swarm 2 refactorings (#38)
* Removed id attribute of network resource.
* Extracted common validators. Removed custom hash functions.
2018-01-29 12:01:46 +01:00
Manuel Vogel
656c8a8c2f
Feat/swarm 1 update deps (#37)
* Removed id attribute of the network resource.
* Update dependencies. Mainly `go-dockerclient`
2018-01-24 09:31:23 +01:00
Peter Nyilas
98bede4dbe add prefix 'library' only to official images in the path (#27) 2018-01-02 10:31:06 +01:00
Sébastien Maccagnoni
b06fa7e2ba Allow the awslogs log driver (#28) 2018-01-02 10:25:42 +01:00
Manuel Vogel
c8bbdbc091
Fixes layout and notes in docs. (#26)
* Fixed layout in the documentation.
* Remove notes that only the public registry is supported.
* Added description for environment variables for docker registry authentication.
2017-12-06 23:05:36 +02:00
tf-release-bot
5f666d5fc0 Cleanup after v0.1.1 release 2017-11-21 15:41:09 +00:00
tf-release-bot
b6e48f4726
v0.1.1 2017-11-21 15:38:04 +00:00
Manuel Vogel
de85fbe010
Update CHANGELOG.md
Added to support private registries item.
2017-11-21 10:17:47 +01:00
Manuel Vogel
76925f68f8
Feat/private registry support (#21)
* Add support for private registry auth. Adapted documentation and tests.
* Clarified README.
2017-11-21 10:14:07 +01:00
Radek Simko
9e21a8f683
Make CoC and support channels more visible
https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/
https://help.github.com/articles/adding-support-resources-to-your-project/
2017-11-01 23:04:55 +01:00
Radek Simko
f3f85a1ff1
Merge pull request #23 from JamesLaverack/patch-1
Correct comment in `docker_network` documentation
2017-10-30 13:46:22 +00:00
James Laverack
71c4b2fca4
Correct comment in docker_network documentation 2017-10-28 00:29:54 +01:00
Manuel Vogel
d40a6ee037 Correct git paths in the README.md file 2017-10-23 12:11:15 -07:00
Jake Champlin
6fe964a91a
Fixing logo 2017-08-31 11:05:07 -04:00
Radek Simko
6f2c6ecb1f Merge pull request #18 from terraform-providers/vendor-tf-0.10
vendor: github.com/hashicorp/terraform/...@v0.10.0
2017-08-10 15:06:37 +02:00
Radek Simko
d6c0f49d3c
vendor: github.com/hashicorp/terraform/...@v0.10.0 2017-08-10 13:45:58 +02:00
Radek Simko
d69c97cc1e
vendor: Ignore github.com/hashicorp/terraform/backend
This is to avoid dependency sprawl - e.g. vendoring AWS or Azure SDK
when we don't really need remote backend functionality
in provider code - it's core's responsibility.
2017-08-10 13:45:01 +02:00
Jake Champlin
7d8bd85827
Fixing link in README 2017-07-21 11:38:16 -04:00
stack72
4ba8520d95 Adding back the GNUmakefile test-compile step 2017-06-30 11:15:38 +03:00
stack72
f09b744da7 Simplifying the GNUMakefile 2017-06-29 16:42:17 +03:00
Jake Champlin
ae9022e117
Fix Changelog Links Script for docker provider 2017-06-26 09:49:48 -05:00
TeamCity
ca6e9f4b4a Cleanup after v0.1.0 release 2017-06-20 19:58:35 +00:00
TeamCity
c1972d47e1
v0.1.0 2017-06-20 19:52:47 +00:00
Paul Stack
a1f86a4882 Update CHANGELOG.md 2017-06-20 17:14:37 +03:00
Jake Champlin
548fc49f41
Updating Makefile + Add gitignore 2017-06-09 14:28:56 -04:00
Jake Champlin
1948a08ef0 Transfer of provider code 2017-06-09 16:43:23 +00:00
Jake Champlin
188282a166 Merge branch 'master' of /home/ubuntu/terraform-vendor 2017-06-09 16:42:37 +00:00
Jake Champlin
9b2a237069 Transfer docker provider 2017-06-09 16:42:36 +00:00
Jake Champlin
41d2fe02b4
Transfer of provider website docs 2017-06-09 10:51:52 -04:00
Jake Champlin
99320e95ff
Merge branch 'master' of /Users/jake/terraform 2017-06-09 10:51:51 -04:00
Jake Champlin
70f6f24d98
Transfer docker provider website 2017-06-09 10:51:49 -04:00
Jake Champlin
0192d62271
Updating Makefile + Add gitignore 2017-06-06 16:27:01 -04:00
Jake Champlin
eb5570722e
Initial transfer of provider code 2017-06-06 11:50:36 -04:00
Jake Champlin
ed37678895
Merge branch 'master' of /Users/jake/terraform 2017-06-06 11:50:32 -04:00
Jake Champlin
e23185d484
Transfer docker provider 2017-06-06 11:50:32 -04:00
Jake Champlin
07229bd816
Add Issue Template 2017-06-06 09:16:54 -04:00
Jake
d8ce3db14a initial commit 2017-06-05 20:59:08 +00:00
Januar
7446f70146 provider/docker network alias (#14710)
* Add Network Alias configuration with network options

* Handle case where there's no network option

* Handle use case where network option is not available

* Handle use case where network option is not available

* Network alias only on user defined network

* Update documentation for docker provider on network aliases

* Remove unused variable

* Update documentation

* add unit test for docker container network

* fix unit test for docker container network
2017-05-22 09:20:32 -04:00
Januar
ae86731aa7 provider/docker network alias (#14710)
* Add Network Alias configuration with network options

* Handle case where there's no network option

* Handle use case where network option is not available

* Handle use case where network option is not available

* Network alias only on user defined network

* Update documentation for docker provider on network aliases

* Remove unused variable

* Update documentation

* add unit test for docker container network

* fix unit test for docker container network
2017-05-22 09:20:32 -04:00
Malte Brodersen
4e40753b5a Allow Windows Docker containers to map volumes (#13584)
* fix regex for windows path

* Fix escaping

* move validate function out and create test
2017-05-15 13:09:50 +03:00
Max Riveiro
27f815e839 Massively add HCL source tag in docs Markdown files
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00
Paul Stack
a61f0bb490 provider/docker: Removing the note on docker provider about Terraform (#12676)
0.4

Fixes: #12670
2017-03-14 15:15:54 +02:00
Daniel Portella
ae63f9ce26 provider/docker: added support for linux capabilities (#12045)
* added support for linux capabilities

Refs #11623

Added capabilities block
Added tests for it
Added documentation for it.

My PC doesnt support memory swap so it errors there.

```
$ make testacc TEST=./builtin/providers/docker TESTARGS='-run=TestAccDockerContainer_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/17 14:57:08 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/docker -v -run=TestAccDockerContainer_ -timeout 120m
=== RUN   TestAccDockerContainer_basic
--- PASS: TestAccDockerContainer_basic (44.50s)
=== RUN   TestAccDockerContainer_volume
--- PASS: TestAccDockerContainer_volume (40.73s)
=== RUN   TestAccDockerContainer_customized
--- FAIL: TestAccDockerContainer_customized (50.27s)
	testing.go:265: Step 0 error: Check failed: Check 2/2 error: Container has wrong memory swap setting: -1
	Please check that you machine supports memory swap (you can do that by running 'docker info' command).
=== RUN   TestAccDockerContainer_upload
--- PASS: TestAccDockerContainer_upload (38.56s)
FAIL
exit status 1
FAIL	github.com/hashicorp/terraform/builtin/providers/docker	174.070s
Makefile:48: recipe for target 'testacc' failed
make: *** [testacc] Error 1
```

* Documentation changes.

* added maxitems and rerun tests
2017-03-07 18:48:20 +02:00
Daniel Portella
741c1150ba provider/docker: added support for linux capabilities (#12045)
* added support for linux capabilities

Refs #11623

Added capabilities block
Added tests for it
Added documentation for it.

My PC doesnt support memory swap so it errors there.

```
$ make testacc TEST=./builtin/providers/docker TESTARGS='-run=TestAccDockerContainer_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/17 14:57:08 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/docker -v -run=TestAccDockerContainer_ -timeout 120m
=== RUN   TestAccDockerContainer_basic
--- PASS: TestAccDockerContainer_basic (44.50s)
=== RUN   TestAccDockerContainer_volume
--- PASS: TestAccDockerContainer_volume (40.73s)
=== RUN   TestAccDockerContainer_customized
--- FAIL: TestAccDockerContainer_customized (50.27s)
	testing.go:265: Step 0 error: Check failed: Check 2/2 error: Container has wrong memory swap setting: -1
	Please check that you machine supports memory swap (you can do that by running 'docker info' command).
=== RUN   TestAccDockerContainer_upload
--- PASS: TestAccDockerContainer_upload (38.56s)
FAIL
exit status 1
FAIL	github.com/hashicorp/terraform/builtin/providers/docker	174.070s
Makefile:48: recipe for target 'testacc' failed
make: *** [testacc] Error 1
```

* Documentation changes.

* added maxitems and rerun tests
2017-03-07 18:48:20 +02:00
George Christou
f45feac72c website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00