Commit graph

65 commits

Author SHA1 Message Date
renovate[bot]
b4b8a97a1d
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.21.0 (#434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-09-02 15:32:31 +02:00
renovate[bot]
02a6655da0
fix(deps): update module github.com/golangci/golangci-lint to v1.49.0 (#441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 09:17:34 +02:00
renovate[bot]
95fba60607
fix(deps): update module github.com/docker/go-units to v0.5.0 (#445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 08:49:41 +02:00
renovate[bot]
2017ec81fa
fix(deps): update module github.com/moby/buildkit to v0.10.4 (#440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-08-29 16:17:53 +02:00
renovate[bot]
494b4ad0d2
fix(deps): update module github.com/katbyte/terrafmt to v0.5.2 (#437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 13:42:41 +02:00
Martin Wentzel
55cef36541 Revert "fix(deps): update module github.com/golangci/golangci-lint to v1.48.0 (#423)"
This reverts commit 6a35b2182e.
2022-08-10 16:00:23 +02:00
renovate[bot]
6a35b2182e
fix(deps): update module github.com/golangci/golangci-lint to v1.48.0 (#423)
* fix(deps): update module github.com/golangci/golangci-lint to v1.48.0

* fix: Fix compile.yaml workflow. (#431)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2022-08-10 15:54:53 +02:00
renovate[bot]
6db80ccbb0
fix(deps): update module github.com/katbyte/terrafmt to v0.5.1 (#429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 11:10:38 +02:00
renovate[bot]
8bf3f88190
fix(deps): update module github.com/golangci/golangci-lint to v1.47.2 (#411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 14:23:51 +02:00
renovate[bot]
48a1dcf332
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.20.0 (#422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 14:05:47 +02:00
renovate[bot]
984edeed30
chore(deps): update module go to 1.18 (#412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 09:48:18 +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
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
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
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]
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
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
607df6087b fix: update go package files directly on master to fix build. 2022-06-21 19:34:50 +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
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
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
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
Bulgantamir
8304bfd0ae
Fixed typo (#310) 2021-11-15 23:57:55 +09:00
renovate[bot]
bd2955cc81
fix(deps): update module github.com/docker/cli to v20.10.10 (#296)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 08:45:10 +02:00
renovate[bot]
592b5636ba
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.8.0 (#298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-10-21 06:43:16 +02:00
renovate[bot]
412d25a0cb
fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.5.0 (#286)
* fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.5.0
* chore(deps): update terraform-plugin-docs to v0.5.0
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-09-13 13:57:34 +02:00
Manuel Vogel
328ce72308
chore(deps): unify require sections in go.mod files 2021-09-07 15:23:47 +02:00
renovate[bot]
5fb3f23792
chore(deps): update golang to v1.17 (#272)
* chore(deps): update golang docker tag to v1.17
* chore: update to golang 1.17

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-09-07 14:13:40 +02:00
renovate[bot]
3d41205695
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.7.1 (#279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 12:04:48 +02:00
Manuel Vogel
5665da93bc
chore: re go gets terraform-plugin-docs 2021-08-11 10:03:39 +02:00
renovate[bot]
570009a876
fix(deps): update module github.com/docker/docker to v20.10.8 (#256)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 18:47:01 +09:00
renovate[bot]
570b6cb03f
fix(deps): update module github.com/docker/cli to v20.10.8 (#255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 11:07:00 +09:00
Manuel Vogel
44081ad4b1
docs/service entrypoint (#244)
* chore: add tfplugin docs to deps
* docs(service): enhance the explanation of the command attribute
2021-07-07 11:41:27 +02:00
renovate[bot]
190f915c21
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.7.0 (#236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 17:40:19 +02:00
Manuel Vogel
bc554257e4
fix/service delete deadline (#227)
* fix: service container wait

only apply if the destroy grace period is larger than 0s. Interpret also the wait result chan and errors

* chore(service): explains why we ignore certain errors

* chore: readds terraform-plugin-docs

* docs(service): explains the behavior if the grace period is 0s

* fix(service): ignore certain errors on wait error

* refactor: introduce more speaking error contains ignorable message method

because it's more precise on what's happening in the code
2021-06-22 22:11:32 +09:00
renovate[bot]
1ebe5511ef
fix(deps): update module github.com/docker/docker to v20.10.7 (#218)
* fix(deps): update module github.com/docker/docker to v20.10.7
* chore: update GitHub actions and testacc file

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-06-21 09:55:55 +02:00
renovate[bot]
7f4c14d1f5
fix(deps): update module github.com/docker/cli to v20.10.7 (#217)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 18:55:23 +09:00
Manuel Vogel
6c796e15a5
feat/doc generation (#193)
* chore: add tfplugindocs tool

* feat: add tfplugin doc dependency and make target

* chore: apply documentation generation

* docs(contributing): update for documentation generation

* fix: adapt website-lint target to new do folder

* docs(network): update ds descriptions

* docs: add template for index.md

* docs: add network resource generation

* chore(ci): updates paths for website checks

* docs: add plugin data source generation

* docs: add import cmd for network resource

* docs: add plugin resource generation

* feat: outlines remaining resources with example and import cmd

* feat: add descriptions to docs

* chore: add DevSkim ignores and fix capitalized errors

* docs: complete ds registry image

* docs: add container resource generation

* docs: add lables description to missing resources

* docs: remove computed:true from network data

so the list is rendered in the description

* Revert "docs: remove computed:true from network data"

This reverts commit dce9b7a5a2.

* docs: add docker image descriptions to generate the docs

* docs: add docker registry image descriptions to generate the docs

* docs: add docker service descriptions to generate the docs

* docs: add docker volume descriptions to generate the docs

* docs(index): clarifies description

so more docker resources are mentioned

* docs(network): fixes required and read-only attributes

so the ds can only be read by-name

* docs(plugin): clarifies the ds docs attributes

* docs: fix typo registry image ds

* docs(config): clarifies attributes and enhances examples

Provide a long example and import command

* fix(config): make data non-sensitive

Because only secrets data is

* docs(containter): clarifies attributes

and enhances examples with import

* docs(config): fix typo

* docs(image): clarifies attributes and remove import

* docs(network): clarifies attributes and adapts import

* docs(plugin): clarifies attributes and import

* docs(registry_image): clarifies attributes and removes import

* chore(secret): remove typo

* docs(service): clarifies attributes and import

* docs(volume): clarifies attributes and import

* fix: correct md linter rules after doc gen

* docs(volume): regenerated

* docs: add config custom template

* docs: add templates for all resources

* docs(config): templates all sections and examples

for better redability and structure

* docs(config): fix md linter

* docs(container): templates all sections and examples

* docs(image): templates all sections and examples

* docs(image): fix import resource by renaming

* docs(network): templates all sections and examples

* docs(service): templates all sections and examples

* docs(volume): templates all sections and examples

* fix(lint): replace website with doc directory

* fix(ci): link check file extension check

* fix: markdown links

* chore: remove old website folder

* chore: fix website-lint terrafmr dir and pattern

* fix: lint fix target website folder

* fix: website links

* docs(provider): update examples

with templates on auth and certs

* docs(provider): add tf-plugin-docs line

* docs(contributing): split doc generation section

* docs: final brush up for readability and structure

* chore(ci): add website-generation job

to see if files changed and it should run locally again

* chore(ci): remove explicit docker setup

from website lint because it's installed by default
2021-05-21 21:30:56 +09:00
renovate[bot]
f8907bfd61
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.6.1 (#181)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-30 09:48:50 +09:00
renovate[bot]
9f1bca1178
fix(deps): update module github.com/docker/cli to v20.10.6 (#175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 16:57:57 +02:00
renovate[bot]
3854fbdd9e
fix(deps): update module github.com/docker/docker to v20.10.6 (#174)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 16:03:29 +02:00
renovate[bot]
08110e2a23
fix(deps): update module github.com/docker/cli to v20.10.5 (#164)
* chore: fix docker/cli version
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-04-12 15:11:29 +02:00
renovate[bot]
b37d84db62
fix(deps): update module github.com/docker/docker to v20.10.5 (#165)
* fix(deps): update module github.com/docker/docker to v20.10.5

* fix(deps): update module github.com/docker/docker to v20.10.5

* chore: bump acc test docker version

* chore(build): reorder goproxies

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-04-12 17:34:02 +09:00
renovate[bot]
8580171347
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.5.0 (#167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 09:05:10 +02:00