Commit graph

108 commits

Author SHA1 Message Date
Suzuki Shunsuke
4e8a837e08 Wait for state until endpoint spec is exposed 2020-01-13 09:48:38 +09:00
Manuel Vogel
a7f6cc9300
fix(service): ports flattening (#233)
Closes #222 
* fix(service): changes ports from set to list. adapts tests. marks published port computed. uses endpoint spec from api to flatten.
2019-12-27 16:48:21 +01:00
Manuel Vogel
45e3127fb9
feat: adds config file content as plain string (#232)
Closes #224 
* feat(provider): adds plain registry content property
* docs(provider): new plain config property
* chore: comments why the order of auth parsing should not be changed
2019-12-18 20:55:12 +01:00
Manuel Vogel
f4dd2188f1
feat: make UID, GID, & mode for secrets and configs configurable (#231)
Closes #216 
* feat(service): makes uid, gid and file mode configurable
* docs(service): updates config and secret configuration
2019-12-18 19:04:01 +01:00
Manuel Vogel
fe7f625ad9
fix: replica to 0 in current schema. Closes #221 2019-12-17 18:11:21 +01:00
Manuel Vogel
e8321d7a0e
Merge branch 'xf/allow-zero-replicas' of git://github.com/xanderflood/terraform-provider-docker into xanderflood-xf/allow-zero-replicas 2019-12-17 18:08:28 +01:00
Manuel Vogel
8f41054638
fix: label for network and volume after improt 2019-12-17 17:28:25 +01:00
Manuel Vogel
2c8e63b44d
Merge branch 'xf/labels-iface' of git://github.com/xanderflood/terraform-provider-docker into xanderflood-xf/labels-iface 2019-12-17 17:28:09 +01:00
Manuel Vogel
434ca8c64b
feat: adds import for resources (#196)
Closes #99. Adds import for config service volume
2019-11-23 14:42:05 +01:00
Xander Flood
836e3e490a fix sprintf formatter 2019-11-17 10:50:50 -05:00
Xander Flood
15c89f00a2 allow zero replicas 2019-11-17 10:35:28 -05:00
Xander Flood
4d158b4ba0 tests for label migration 2019-11-16 09:11:17 -05:00
Xander Flood
e990b2db03 some debugging 2019-11-15 21:33:05 -05:00
Xander Flood
aa19860726 fix service test mount set key 2019-11-15 00:08:45 -05:00
Xander Flood
d878091f95 refactor migration code and fix a couple tests 2019-11-14 17:44:58 -05:00
Xander Flood
b9d61dc535 some more migration 2019-11-14 17:10:48 -05:00
Xander Flood
080d80702a service 2019-11-14 08:06:50 -05:00
Xander Flood
32067443ca volume 2019-11-14 07:58:53 -05:00
Xander Flood
5babf5fb17 secret and network cleanup 2019-11-12 17:41:59 -05:00
Xander Flood
e391230447 migrate the container resource 2019-11-10 15:15:42 -05:00
Xander Flood
cfb13bb532 skip the size var 2019-11-09 07:03:15 -05:00
Xander Flood
0c39299bad try this! 2019-11-09 00:03:19 -05:00
Xander Flood
b9dd25a94d try this again? 2019-11-08 23:29:23 -05:00
Xander Flood
7e84878d39 get a look at all the Attributes 2019-11-08 23:15:34 -05:00
Xander Flood
95211f04f7 try straight indices 2019-11-08 19:13:31 -05:00
Xander Flood
7f548cd95a specify labels are optional 2019-11-08 18:56:55 -05:00
Xander Flood
1aa89c5e21 use %v not %s 2019-11-08 18:44:08 -05:00
Xander Flood
2ddb6c9308 woops 2019-11-08 18:33:52 -05:00
Xander Flood
24c3dc0386 trying something different 2019-11-08 18:24:50 -05:00
dubo-dubon-duponey
4d3eb6ca33 Add support for readonly containers (#206)
Closes #203 

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-25 12:14:09 +02:00
dubo-dubon-duponey
a36a58b792 Remove logging drivers white-list (#209)
See #207 for discussion and fixes #208

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-14 19:37:13 +02:00
dubo-dubon-duponey
cc95649930 Updated logdrivers to match docker officially supported options (#207)
Closes #204 

See https://docs.docker.com/config/containers/logging/configure/ section “Supported“ logging drivers

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-13 20:38:03 +02:00
dubo-dubon-duponey
27a9f37c69 Move to standalone plugin SDK (#200)
Closes #197 
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-09 20:25:38 +02:00
Manuel Vogel
2ec6bba9b7
fix: binary upload as base 64 content (#194)
Closes #48 
* feat: adds new content_base64 property for upload
* feat: adds logic for base64 content processing
* test: for new upload property
* docs: for new upload property
* docs: adapts container upload to aws example docs
* fix: adds a comment for non-working conflicts with within lists
* docs: updates for non-supported conflict within lists and sets
* tests: updates notes on disabled checks
* fix: validation for container upload configs
* docs: validation for container upload configs
* fix(test): add must not run flag for invalid upload config container
2019-10-07 23:00:57 +02:00
Manuel Vogel
cb9c327ae4
fix: service env truncation for multiple delimiters (#193)
Closes #121 
* test: adds failing test for service env with multiple delimiters
* fix: mapping of multiple delimiters for string slice to map
2019-10-06 12:11:11 +02:00
Matteo Castellini
f3e27203d1 Calculate digest when missing from registry response headers (#188)
Closes #186
2019-10-06 11:25:02 +02:00
Srinidhi Kaushik
11fd002b15 Add shm_size' attribute for docker_container' resource. (#190)
Closes #164 
* Adds `shm_size' attribute for `docker_container' resource.
* Updates test cases.
* Updates documentation.
2019-10-06 11:16:27 +02:00
dubo-dubon-duponey
007a6db130 Add support for group-add (#192)
Fixes #191

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-06 11:13:24 +02:00
appilon
f75443a060 remove usage of config pkg (#183)
upgrade terraform sdk to v0.12.8
2019-09-23 20:15:30 +02:00
Manuel Vogel
36567a2a9b
feat: add container ipc mode. (#182)
Closes #12
2019-09-23 20:11:59 +02:00
Manuel Vogel
42031f27fb
feat: adds container working dir (#181)
Closes #146
2019-09-23 19:41:20 +02:00
Laurie Odgers
8d4a71be3d fix: destroy_grace_seconds are considered (#179)
Closes #174
2019-08-29 20:04:50 +02:00
Ibrohim Kholilul Islam
94b94b0478 Using APIVersion negotiation instead of fixed version (#177)
Closes #137
2019-08-20 22:16:03 +02:00
Matthew Burtless
42354a7e62 Add support for sysctls (#172) 2019-08-15 17:23:39 +02:00
Manuel Vogel
e8bd46c3c3
ci: skips test which is flaky only on travis 2019-08-08 20:14:51 +02:00
Sid Verma
53f74755e4 Fix no-op in container when all 'ports' blocks are deleted. (#168)
* docker_container Fix no-op when all port blocks are deleted
* Update changelog for v2.1.1
* Closes #167
2019-08-02 00:16:50 +02:00
Sergei Ivanov
d305e9de04 Adds cross-platform support for generic Docker credential helper. (#159)
Support for MacOS was added in #143, here it is extended to other OSes in a generic way.
2019-07-16 19:41:06 +02:00
Matt Keeler
a789ce2036 Update to Terraform 0.12 (#150). Closes #144
* Update to terraform 0.12
* Fix acceptance tests to make syntax 0.12 compatible.
2019-06-11 00:24:55 +02:00
Manuel Vogel
e323be8f55
Fixes for flaky tests (#154)
* adds delay for fetching auth config
* refactor registry auth retrieval. adds retry if not found
* reactivates full build in script and travis
2019-05-31 15:08:32 +02:00
Manuel Vogel
c56d60d30f
updates docker api version to 1.39 and adapts changelog 2019-05-26 22:10:26 +02:00