Commit graph

653 commits

Author SHA1 Message Date
Martin Wentzel
e6844b08cd chore: Fix release targets in Makefile. 2022-07-18 14:36:00 +02:00
renovate[bot]
f7c715039e
chore(deps): update goreleaser/goreleaser-action action to v3 (#389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 10:00:13 +02:00
renovate[bot]
be5cc0b0c6
chore(deps): update actions/setup-go action to v3 (#353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 09:23:59 +02:00
renovate[bot]
a1bd6f1180
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.19.0 (#410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 08:48:13 +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
d12e13fac9
fix: ECR authentication (#409)
* chore: Adding makefile targets for local building.

* fix: Implement proper parsing of different ECR auth mechanisms.

* chore: Fix typos and cleanup Makefil [skip ci]
2022-07-15 12:25:36 +02:00
Martin
100db97ffa
feat: Add gpu flag to docker_container resource (#405)
* feat: Add gpu flag do docker_container resource.

* docs: Enhance gpus flag documentation.
2022-07-15 11:15:28 +02:00
Martin Wentzel
efd73ce9ff chore: Prepare release v2.18.1 2022-07-14 15:38:11 +02:00
Martin Wentzel
08eed6e9cd chore: Automate changelog generation [skip ci] 2022-07-14 15:36:05 +02:00
renovate[bot]
bce9b6b17d
fix(deps): update module github.com/moby/buildkit to v0.10.3 (#394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-07-14 15:04:18 +02:00
Martin
faa3ec5a39
fix: Improve searchLocalImages error handling. (#407)
* fix: Improve searchLocalImages error handling.

* fix: Fix wrong sha format in docker image tests
2022-07-14 14:30:29 +02:00
Martin
6d6f9bb905
fix: Throw errors when any part of docker config file handling goes wrong. (#406) 2022-07-14 13:45:17 +02:00
Martin
78c42d7657
fix: Enables having a Dockerfile outside the context (#402)
* tests: Add failing test for Dockerfile outside context.

* fix: Enable support for Dockerfiles outside context.

Also extract some code to functions.

* fix: Adding docker outside context test and implementation for docker_registry_image.
2022-07-13 09:01:52 +02:00
renovate[bot]
6ac477b3c1
chore(deps): update actions/checkout action to v3 (#354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 10:58:05 +02:00
Martin Wentzel
a85c9e7c79 chore: prepare release v2.18.0 2022-07-11 15:48:46 +02:00
Martin
401ff5e8ad
fix: Correctly handle build files and context for docker_registry_image (#398)
* tests: Add file_permission test which is failing for now.

* tests: Add whitelist_dockerignore test which is failing for now.

* fix: Various issues with docker_registry_image build process.
2022-07-11 15:18:55 +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
Marcel Meulemans
af072b22aa
fix: compare relative paths when excluding, fixes kreuzwerker#280 (#397) 2022-07-07 15:08:57 +02:00
renovate[bot]
224c3d170f
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.18.0 (#396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 08:44:12 +02:00
renovate[bot]
6714c98298
fix(deps): update module github.com/golangci/golangci-lint to v1.46.2 (#341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-27 15:46:35 +02:00
renovate[bot]
17fb3f90f5
fix(deps): update module github.com/docker/distribution to v2.8.1 (#348)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-27 15:35:32 +02:00
Martin Wentzel
9e728fa653 chore: prepare release v2.17.0 2022-06-23 11:23:24 +02:00
Martin
dc8757e5f3
feat(src): Enable buildkit when client has support. (#387)
* feat(src): Enable buildkit when client has support.

* fix: Increase timeout of testsuite to 12min

* fix: docker_image datasource tests use smaller busybox image.

* fix: Use image version which are available on arm64.

* fix: Remove session dialer from buildkit implementation.

Did not do really anything

* feat: Buildkit is now working.

* fix: Disable linting for one specific line.

* fix: Fixes TestAccDockerImage_basic test.

The used image names in the two subtests must be different.
2022-06-23 10:32:31 +02:00
Martin Wentzel
37b40325d9 chore: Exclude examples directory from renovate. 2022-06-22 21:33:56 +02:00
Martin Wentzel
607df6087b fix: update go package files directly on master to fix build. 2022-06-21 19:34:50 +02:00
Martin
4284adb0ec
fix(ci): Pipeline updates (#390)
* fix(ci): Increase github actions timeout to 15 min.
* fix(ci): Add testdata to renovate ignorePaths.
2022-06-21 08:57:18 +02:00
renovate[bot]
e16813808c
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.17.0 (#357)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-17 15:20:55 +02:00
renovate[bot]
cd77d88c53
fix(deps): update module github.com/docker/cli to v20.10.17 (#324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-17 14:02:05 +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
Alexander Niebuhr
3c22540321
fix: correct authentication for ghcr.io registry(#349)
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-06-16 19:47:17 +02:00
Stephen Lacy
0beb476c08
chore(src): improve image delete error message (#359)
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-06-10 20:06:31 +02:00
Manuel Vogel
3926de97a2
chore(ci): split acc test into resources (#382)
* chore(ci): split acc test into resources

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix: bump terraform-plugin-sdk/v2 to v2.16.0

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix(ci): Set fail-fast to false.

* fix(ci): reduce to tf version 0.15.x and 1.1.x

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix(ci): us tf version gh action

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix(ci): env name for TESTSUITE_TIMEOUT

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix(ci): increase test suite timeout to 480s

Signed-off-by: Manuel Vogel <mavogel@posteo.de>

* fix(src): Replace deprecated plugin.Debug with plugin.Serve.

Co-authored-by: Martin Wentzel <martin.wentzel@kreuzwerker.de>
2022-06-09 15:32:45 +02:00
renovate[bot]
28ffab5e1f
chore(deps): update golangci/golangci-lint-action action to v3 (#352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2022-04-22 15:45:28 +02:00
Shunsuke Suzuki
b3bcdde93a
chore: remove the workflow to close stale issues and pull requests (#371) 2022-04-22 12:00:28 +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
renovate[bot]
5e1cfb7e7c
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.10.1 (#323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 15:09:46 +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
renovate[bot]
7fc945d01b
fix(deps): update module github.com/golangci/golangci-lint to v1.43.0 (#306)
* fix(deps): update module github.com/golangci/golangci-lint to v1.43.0
* chore(ci): bump golangci-lint version
* fix: linter issues
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-12-02 10:58:17 +01:00
renovate[bot]
3c5bacfe22
chore(deps): update tj-actions/verify-changed-files action to v8.8 (#308)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 17:38:02 +01:00
renovate[bot]
642037a5ad
fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.5.1 (#311)
* fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.5.1
* fix: go get for tfplugindocs

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-12-01 15:41:13 +01:00
renovate[bot]
1d78b710ba
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.9.0 (#317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 10:14:55 +01:00
renovate[bot]
87f93f5294
fix(deps): update module github.com/docker/cli to v20.10.11 (#316)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-12-01 09:05:00 +01:00
renovate[bot]
e07e766681
fix(deps): update module github.com/docker/docker to v20.10.10 (#297)
* fix(deps): update module github.com/docker/docker to v20.10.10
* chore(ci): adapt acc test docker version
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-11-30 16:26:54 +01:00
Shunsuke Suzuki
62827ae478
fix: add nil check of DriverConfig (#315) 2021-11-30 15:30:45 +01:00
Shunsuke Suzuki
1e55894715
fix(container): remove log_driver's default value and make log_driver computed (#270)
* fix(container): remove log_driver's default value and make log_driver `computed`
* fix: update the description
* docs: make website-generation

Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-11-30 07:51:49 +01:00