Commit graph

68 commits

Author SHA1 Message Date
Gustavo Michels
b15ea021d7
feat(container): add MAC address to state (#523)
Co-authored-by: Gustavo Michels <gmichels@nanthealth.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2023-03-15 13:42:33 +01:00
Evan Farrar
e075398af1
docs: correct spelling of "networks_advanced" (#517) 2023-02-20 09:27:23 +01:00
Martin Wentzel
3d4f20d5e4 chore: Prepare release v3.0.1 2023-01-13 15:57:50 +01:00
Martin Wentzel
925047a2b3 chore: Prepare release v3.0.0 2023-01-13 13:47:19 +01:00
Martin
646d3aa154
feat: Prepare v3 release (#503)
* feat: Remove deprecated docker_container attributes.

* feat: Remove deprecated docker_service atttribute.

* feat: Remove deprecated `build` attribute from docker_registry_image.

* feat: Remove deprecated attributes of docker_image.

* docs: Generate and update documentation.

* fix: Add MigrateState for docker_container again.

* docs: Fix docs linting errors.

* docs: Fix tf formatting in docs.
2023-01-13 13:11:51 +01:00
Martin Wentzel
617f2ed44e docs: Update documentation. 2023-01-09 11:45:29 +01:00
Martin Wentzel
59d265802a chore: Prepare release v2.25.0 2023-01-05 13:33:33 +01:00
Martin
661c6628ff
feat: Migrate build block to docker_image (#501)
* feat: docker_image now has all build capabilities from docker_registry_image

* tests: Move all docker_registry_image build tests to docker_image.

* fix: Change build.context to optional.

* docs: Update docs.
2023-01-05 13:27:40 +01:00
Manuel Vogel
a5332be18d
feat(service): add alias for networks (#241)
* feat(service): outlines alias for networks

* feat: Add driver_opts sub-attribute.

* fix: network driver options type conversions.

* fix: Temporarily fix docker_service tests.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
Co-authored-by: Martin Wentzel <martin.wentzel@kreuzwerker.de>
2023-01-04 14:03:13 +01:00
Martin
5ffe0f3628
feat: Add platform attribute to docker_image resource (#500)
* feat: Add platform attribute to docker_image resource

* docs: Add updated docker_image documentation.
2022-12-28 11:38:42 +01:00
Martin
19191883d5
feat: Add sysctl implementation to container of docker_service. (#499) 2022-12-23 15:29:17 +01:00
Martin
b30ba0c07c
docs: Add documentation of remote hosts. (#498) 2022-12-23 14:56:08 +01:00
Martin Wentzel
18aee85381 chore: Prepare release v2.24.0 2022-12-23 12:25:04 +01:00
Martin
8a4be13ce1
feat: cgroupns support (#497)
* feat: Add cgroupns mode to docker container.

* docs: Create docs.
2022-12-23 10:45:12 +01:00
Joseph Lenox
9233454972
feat: Add triggers attribute to docker_registry_image (#496)
Co-authored-by: WassimKallel <wassimkallel@think-it.io>
2022-12-22 19:48:04 +01:00
Martin
380cebf01e
feat: Support registries with disabled auth (#494)
* feat: Support registries with no auth.

* tests: Test registry with disabled auth.

* docs: Update provider documentation.
2022-12-22 16:55:26 +01:00
Martin Wentzel
e54559b7e0 docs: Fix generated website. 2022-12-22 14:36:24 +01:00
Joseph Lenox
3f67a3df9d
feat: add IPAM options block for docker networks (#491)
* Hack in IPAM options as they are the same data structure as network options.

* Add IPAM options to read refresh

* docs: Add `ipam_options` to network documentation.

* docs: Revise IPAM options documentation to make more clear as to what it does.

* refactor: remove Computed options as prompted from review
2022-12-21 17:24:51 +01:00
Andre Miras
6d936c58d9
docs: Update command typo (#487)
Doc regenerated with `make website-generation`
2022-12-15 10:50:34 +01:00
Martin Wentzel
4dd3603786 chore: Prepare release v2.23.1 2022-11-23 16:59:24 +01:00
Martin Wentzel
3489fbbafc chore: Prepare release v2.23.0 2022-11-02 11:57:57 +01:00
Boris HUISGEN
e1cf4151a1
feat: wait container healthy state (#467) 2022-11-02 09:19:45 +01:00
Buk Bukowski
3534622b92
feat: add docker logs data source (#471)
* working docker-logs

Signed-off-by: bukowa <gitbukowa@gmail.com>

* add tests

Signed-off-by: bukowa <gitbukowa@gmail.com>

* add description to logs_list_string

Signed-off-by: bukowa <gitbukowa@gmail.com>

* allow discarding docker-logs headers

Signed-off-by: bukowa <gitbukowa@gmail.com>

* add auto generated docs

Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>

Signed-off-by: bukowa <gitbukowa@gmail.com>
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
2022-10-17 13:50:45 +02:00
Martin Wentzel
418d333f96 chore: Prepare release v2.22.0 2022-09-20 16:50:02 +02:00
Tyler Sullivan
d6077e672c
feat: Configurable timeout for docker_container resource stateChangeConf (#454)
* make the docker_container resource stateChangeConf timeout configurable

* remove commented out code

* update docs

* use milliseconds for consistency

* update description to say milliseconds

* fix log fmt to show actual seconds from milliseconds, and make website-generation

* fix: import state for containerReadRefreshTimeoutMillisecondsDefault

* fix: typo in comment

Co-authored-by: Tyler Sullivan <tyler.sullivan@smartsheet.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-09-13 15:44:25 +02:00
Martin Wentzel
0d82189137 chore: Prepare release v2.21.0 2022-09-05 15:44:30 +02:00
Martin
f34bec792b
fix: Replace deprecated .latest attribute with new image_id. (#453) 2022-09-05 15:14:45 +02:00
Martin
ad65027896
feat: Add image_id attribute to docker_image resource. (#450) 2022-09-05 13:55:41 +02:00
Martin Wentzel
89d400b5c3 docs: Fix docker config example. 2022-09-02 15:15:09 +02:00
Martin Wentzel
3ff136ef0f chore: Prepare release v2.20.3 2022-08-31 09:13:27 +02:00
Martin Wentzel
57a5d44b1f chore: Prepare release v2.20.2 2022-08-10 16:13:21 +02:00
Martin Wentzel
78e4a2bbe4 chore: Prepare release v2.20.1 2022-08-10 14:59:49 +02:00
Martin
59fcfcc269
feat: Implement triggers attribute for docker_image. (#425)
* feat: Implement triggers attribute for docker_image.

* fix: Update repo_digest value in test.
2022-08-10 13:57:14 +02:00
Martin Wentzel
074c94cabc docs: Improve docker network usage documentation [skip-ci] 2022-08-01 13:22:15 +02:00
Martin Wentzel
3ea34ffb02 chore: Prepare release v2.20.0 2022-07-28 14:18:46 +02:00
Martin
777e292b7f
feat: Implementation of docker_tag resource. (#418)
* feat: Basic implementation of docker_tag resource.

* feat: Adding new AccDockerTag tests to ci pipeline.

* fix: Update failing tests.

* docs: Update tags documentation.

* fix: Fix docker_tags test.

* fix: docker_tag tests now download platform specific images.

* fix: also pull correct busybox image for dockert_tag test.
2022-07-28 14:03:16 +02:00
Martin
cf3f8d6457
feat: Implement support for insecure registries (#414)
* feat: Add new tests for insecure registries.

* chore: Refactor code into parseImageOptions and add tests.

* feat: normalizeRegistryAddress supports http addresses.

* feat: keys of authConfigs are now stored without protocol.

* chore: Refactor of docker registry fallback in parseImageOptions.

* refactor: Improve tests and implementation of parseImageOptions

* feat: Implement support for http registries.

* fix: authConfig unit tests now reflect newest structure.

* fix: docker_image_registry data source can pull without authentication.

* fix: Refactor setup of http headers for registry requests.

* docs: Add note about http registries.

* docs: Fix linting error in docs.
2022-07-22 11:19:15 +02:00
Martin Wentzel
c4e12ff625 chore: Prepare release v2.19.0 2022-07-15 13:07:43 +02:00
Martin
df4b76aa04
fix: Enable authentication to multiple registries again. (#400)
* fix: Enable authentication to multiple registries again.

* fix: Tests run when conflictsWith is disabled.

* chore: Improve docs for multiple registry auth.

* tests: Add multiple registry auth test.

* fix: Correct index of auth structure.

* chore: Add newest docs [ci skip]
2022-07-15 13:05:26 +02:00
Martin Wentzel
efd73ce9ff chore: Prepare release v2.18.1 2022-07-14 15:38:11 +02:00
Martin Wentzel
a85c9e7c79 chore: prepare release v2.18.0 2022-07-11 15:48:46 +02:00
Martin
cf2cb85e4c
fix: Switch to proper go tools mechanism to fix website-* workflows. (#399)
* fix: Switch to proper go tools mechanism.

* fix: Add missing changes of website-lint github action.

* fix: Re-add some commands to make setup.

* docs: Fix service markdown file.

* fix(deps): Update golangci-lint version to match the one used in github action.

* fix: Add missing entry to go.sum
2022-07-11 14:55:15 +02:00
Stéphane Este-Gracias
6fd5b02a0d
feat: add runtime, stop_signal and stop_timeout properties to the docker_container resource (#364)
* feat: add property runtime to docker_container

Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>

* feat: add properties stop_signal & stop_timeout

Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>

* fix: stop_timeout cast

Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>

* fix: add Computed to avoid recreation

Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>
2022-07-11 12:27:47 +02:00
Martin Wentzel
9e728fa653 chore: prepare release v2.17.0 2022-06-23 11:23:24 +02:00
Martin
7e569e1813
chore(ci): Update website-generation workflow (#386)
* chore(ci): Update website-generation workflow

* chore(docs): Apply new formatting.

* chore: Add update go.mod and go.sum files.
2022-06-17 12:09:59 +02:00
Manuel Vogel
a8517ea302 chore: prepare release v2.16.0 2022-01-24 10:38:07 +01:00
Manuel Vogel
3edb3c68b5
docs: fix service options (#337)
* chore: re-add tfplugindocs
* docs: adds ssh_opts of #335 in example
* docs: regenerate the website
* docs: fix service options block
* docs: beautify service docs
* docs: fix typo
2022-01-23 12:18:07 +01:00
Nolan Woods
24336bc89f
feat: add parameter for SSH options (#335) 2022-01-18 14:37:50 +09:00
Manuel Vogel
3fbe7d3a34
fix: pass container rm flag (#322)
* fix: pass container rm flag

* fix: deletion of containers

* docs: website gen

* docs: add stargazers

* fix(docs): for #321
2021-12-03 19:38:55 +09:00
Shekhar Kumar
0da4706851
docs: update registry_image.md (#321) 2021-12-02 13:46:09 +01:00