Commit graph

135 commits

Author SHA1 Message Date
Martin
ec595a4ade
fix: test attribute of docker_service healthcheck is not required (#815)
Some checks failed
Acc Tests / acc-test (TestAccDockerConfig, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerConfig, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 1.8.x) (push) Has been cancelled
Compile Binaries / compile-fast (push) Has been cancelled
Compile Binaries / compile (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
Unit Tests / unit-test (push) Has been cancelled
Website Checks / markdown-link-check (push) Has been cancelled
Docs and Website Lint / website-generation (push) Has been cancelled
Docs and Website Lint / website-lint-spellcheck-tffmt (push) Has been cancelled
Docs and Website Lint / markdown-lint (push) Has been cancelled
2025-10-31 00:16:52 +01:00
Martin
5c27d970fc
fix: docker_service label can be updated without recreate (#814) 2025-10-30 23:22:09 +01:00
Martin
70852379ec
feat: Implement caching of docker provider (#808)
Some checks failed
Acc Tests / acc-test (TestAccDockerConfig, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerConfig, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerNetwork, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerPlugin, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerSecret, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerTag, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (TestAccDockerVolume, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerContainer, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerRegistryImage, 1.8.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 0.15.x) (push) Has been cancelled
Acc Tests / acc-test (true, TestAccDockerService, 1.8.x) (push) Has been cancelled
Compile Binaries / compile-fast (push) Has been cancelled
Compile Binaries / compile (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
Unit Tests / unit-test (push) Has been cancelled
Website Checks / markdown-link-check (push) Has been cancelled
Docs and Website Lint / website-generation (push) Has been cancelled
Docs and Website Lint / website-lint-spellcheck-tffmt (push) Has been cancelled
Docs and Website Lint / markdown-lint (push) Has been cancelled
2025-10-16 20:18:34 +02:00
Martin
ac05128fba
feat: Add build attribute for docker_registry_image (#805) 2025-10-08 19:39:40 +02:00
renovate[bot]
2a6f384a6f
fix(deps): update module github.com/docker/cli to v28.4.0+incompatible (#781)
* fix(deps): update module github.com/docker/cli to v28.4.0+incompatible

* chore: Update deprecated types with new ones

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wentzel <nitram.wentzel@gmail.com>
2025-10-01 17:32:01 +02:00
renovate[bot]
1ceb95b61b
fix(deps): update module golang.org/x/sync to v0.17.0 (#785)
* fix(deps): update module golang.org/x/sync to v0.17.0

* fix(lint): cleanup error strings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wentzel <nitram.wentzel@gmail.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-10-01 09:03:26 +02:00
Martin
974fe956aa
feat: Add build option for additional contexts (#798) 2025-09-30 22:55:12 +02:00
Martin
587fa20b96
fix(buildx): Recreate builder if deleted out-of-band (#797) 2025-09-29 22:08:43 +02:00
Martin
949a709069
fix(container): omit sending systempaths=unconfied to daemon (#796) 2025-09-28 22:35:16 +02:00
Martin
9a17ba0670
feat: implement mac_address for networks_advanced (#794) 2025-09-26 13:14:14 +02:00
Martin
e2c8d0b73a
feat: Implement docker cluster volume (#793)
* feat: Implement docker cluster volume

* fix: linter findings

* fix: Make cluster attribute updateable
2025-09-25 23:32:53 +02:00
Martin
1791d687bd
feat: Implement memory_reservation and network_mode enhancements (#773) 2025-08-13 18:21:43 +02:00
Martin
7f9e9ae610
feat: Implement cache_from and cache_to for docker_image (#772) 2025-08-13 16:53:32 +02:00
Martin
b53a6ba6e4
fix: Correctly get and set nanoCPUs for docker_container (#771) 2025-08-13 16:33:16 +02:00
Copilot
78c64d5888
Add timeout support to docker_registry_image resource (#769)
* Initial plan

* Initial analysis and planning for docker_registry_image timeout support

Co-authored-by: Junkern <3775779+Junkern@users.noreply.github.com>

* feat: Add timeout support to docker_registry_image resource

Co-authored-by: Junkern <3775779+Junkern@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Junkern <3775779+Junkern@users.noreply.github.com>
2025-08-13 14:42:18 +02:00
Martin
ba02ff283e
fix: Remove wrong buildkit version assignment (#747)
* fix: Remove wrong buildkit version assignment

* fix: buildkit session handling
2025-06-13 20:33:39 +02:00
Martin
96db9e3781
fix: Reading non existant volume should recreate (#749) 2025-06-13 14:04:55 +02:00
Jan Losinski
8491731144
fix: Typo in cgroup_parent handling (#746)
fixes #745
2025-06-11 19:20:37 +02:00
Martin
6b1330a447
feat: Allow digest in image name (#744) 2025-06-06 10:15:52 +02:00
Jan Losinski
b0f47cd7ee
feat: allow to set the cgroup parent for container (#609)
It is already possible to set this to the image builder
but not to the container.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-06-04 20:06:28 +02:00
Martin
e0eaa5e7d3
chore(ci): Add retryon429 for markdownlint (#736)
* chore(ci): Add retryon429 for markdownlint

* fix: endpoint parameter when creating builder

* fix: Improve error messages for public ECR push

* chore: Linting and improve documentation
2025-06-04 19:51:09 +02:00
Martin
6f1d33f6ac
fix: Implement buildx fixes for general buildkit support and platform handling (#734)
* fix: Implement buildx fixes for general buildkit support and platform handling

* chore: Revert to having buildkit for non-buildx build attribute
2025-05-24 15:52:00 +02:00
renovate[bot]
da2a7967c8
fix(deps): update module github.com/moby/buildkit to v0.22.0 (#731)
* fix(deps): update module github.com/moby/buildkit to v0.22.0

* chore: Replace imports for deprecated functions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wentzel <nitram.wentzel@gmail.com>
2025-05-24 13:33:06 +02:00
Martin
51cb585f1c
fix: Make endpoint validation less strict (#733) 2025-05-24 10:49:46 +02:00
Martin
042f771a81
feat: Implement correct cpu scheduler settings (#732) 2025-05-24 10:12:30 +02:00
mayaozer
773483ba57
feat: Add implementaion of capabilities in docker servic (#727)
* feat: Add implementaion of capabilities in docker service

* fix: linting

---------

Co-authored-by: Maya Ozer <mayaozer@Mayas-MacBook-Air.local>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-05-24 09:15:55 +02:00
Martin
e708af48e5
feat: implement Buildx builder resource (#724) 2025-05-09 16:00:42 +02:00
Martin
b9181a75e4
feat: Implement using of buildx for docker_image (#717)
* feat: Implement using of buildx for docker_image

* fix: secrets in docker_image

* fix: fmt issues

* test: Add test for build_log_file

* chore: Disable flaky test and update goreleaser to exclude not possible build

* feat: Small refactoring and documentation improvements
2025-05-06 22:21:09 +02:00
Pavel Motyrev
46a6a72595
feat: Support registries that return empty auth scope #646 2025-04-29 16:21:08 +02:00
Martin
62970c2d5a
feat: Implement registry_image_manifests data source (#714)
* feat: Implement registry_image_manifests data source

* fix: Golint errors
2025-04-29 06:19:37 +02:00
Martin
d638dddb1e
feat: Implement healthcheck start interval (#713) 2025-04-27 16:03:02 +02:00
Martin
0d414d194b
fix: Prevent recreation of image name is intentionally set to a fixed value (#711)
* fix: Prevent recreation of image name is intentionally set to a fixed value

* chore: Fix linting and formatting
2025-04-25 08:49:44 +02:00
Martin
42249d3144
feat: Implement volume_options subpath (#710) 2025-04-24 23:13:01 +02:00
Martin
0663aeb1a4
fix: Improve container wait handling (#709)
* fix: Improve container wait handling

* chore: Noop change to trigger CI

* fix: Adapt expected error regexp
2025-04-24 22:15:05 +02:00
Martin
9466469b45
fix: Use auth_config block also for registry_image delete functionality (#708) 2025-04-24 18:29:42 +02:00
Martin
54649a1909
feat: Implement support for docker context (#704) 2025-04-18 23:22:06 +02:00
Martin
e47077458c
feat: disable_docker_daemon_check for provider (#703) 2025-04-18 19:25:13 +02:00
Martin
5aced9fca7
feat: Implement tag triggers for docker_tag resource (#702) 2025-04-18 18:00:22 +02:00
Martin
98ccee6b68
feat: Implement auth_config for docker_registry_image (#701)
* feat: Implement auth_config for docker_registry_image

* fix: Formatting
2025-04-18 17:16:05 +02:00
Martin
cf07eb7dc9
chore: Update terraform-plugin-sdk/v2 dependency (#699) 2025-04-18 12:15:43 +02:00
Martin
6f144047c4
fix: Store correctly ports from server (#698) 2025-04-17 21:56:12 +02:00
Martin
13998c12bb
chore: Update docker/docker and docker/cli to newest stable (#695)
* chore: Updatedocker/docker and docker/cli to newest stable

* fix: Update docker_container capabilities test

* fix: Update setting of network options
2025-04-17 19:22:08 +02:00
Martin
d5e501c65b
feat: Implement upload permissions in docker_container resource (#693) 2025-04-16 09:12:51 +02:00
Martin
4b2fdcc868
feat: Implement docker_image timeouts (#692) 2025-04-15 21:47:43 +02:00
Martin
50afa9f1f5
docs: Consolidated update of docs from several PRs (#691)
Contains the changes of the following PRs

https://github.com/kreuzwerker/terraform-provider-docker/pull/576 @triggerNZ
https://github.com/kreuzwerker/terraform-provider-docker/pull/536 @Tyonar
https://github.com/kreuzwerker/terraform-provider-docker/pull/539 @matthew-palmer
https://github.com/kreuzwerker/terraform-provider-docker/pull/541 @siddharthab
https://github.com/kreuzwerker/terraform-provider-docker/pull/546 @akeamc
https://github.com/kreuzwerker/terraform-provider-docker/pull/549 @manju-rn
https://github.com/kreuzwerker/terraform-provider-docker/pull/665 @tparikka
https://github.com/kreuzwerker/terraform-provider-docker/pull/559 @tk3fftk
2025-04-15 20:04:02 +02:00
Martin
4a46383d4c
fix: Authentication to ECR public (#690)
Originally proposed by @achille-roussel in https://github.com/kreuzwerker/terraform-provider-docker/pull/666
2025-04-15 19:05:52 +02:00
Martin
dacb5dfe73
chore: Upgrade golangci-lint to next major version (#686)
* chore: Upgrade golangci-lint to next major version

* chore: Add //nolint to new tests

---------

Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-15 18:54:25 +02:00
Emanuel Skrenković
64b95701e3
feat: Add support for build-secrets (#604)
Enables passing of build-secrets through the 'secrets' block inside
'build'.
The feature is only available when using Buildkit.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-15 09:15:04 +02:00
Martin
f1630865be
fix: Use build_args everywhere and update documentation (#681)
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-11 22:54:57 +02:00
Benjamin Staffin
ae80eb7d7b
fix: Compress build context before sending it to Docker (#461)
This fixes #439 by gzipping the build context, which prevents the Docker
API from misinterpreting the stream as a plain text Dockerfile.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 13:03:00 +02:00