Commit graph

9 commits

Author SHA1 Message Date
Martin
cf07eb7dc9
chore: Update terraform-plugin-sdk/v2 dependency (#699) 2025-04-18 12:15:43 +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
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
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
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
Manuel Vogel
0588c2071b
chore/refactor tests (#201)
* chore: format test configs for datasources

* chore: outlines load test config helper and structure

* docs(contributing): add command for resouce tests

to have an example of the regex

* refactor: move container test configs into separate files

* fix: add insecure_skip_verify for image pulls

to fix the local test setup with invalid certs

* chore(ci): remove insecure registry adaption

* chore: regenerate website

* chore: update gitignore for scipts/testing dir

* fix: replace nodejs services with go versions

* fix: move testing program versions in separate files

* test: reactivate flaky test from travis

* chore: fix linter on all go files

* fix(linter): testing go servers

* chore(ci): add env for go version

* chore(ci): name workflow steps

also moves description of available docker versions in to acc dockerfile

* Revert "test: reactivate flaky test from travis"

This reverts commit b02654acc4d6b7d02c8f3ba090e6a3f248741b10.

* docs: fix provider-ssh example

* chore: use alpine als final image for tests

* refactor: move test configs from folder into testname.tf files

* refactor: image delete log is now debug and indented

* refactor: image test config into seprate files

* refactor: move network test config into seperate files

* refactor: move plugin test config into seperate files

* chore: rename registry image test file

* refactor: move registry_image test config into seperate files

* chore: format secret test configs

* refactor: inline volume test configs

* fix: remove unused volume label test function

* refactor: move service test configs into seperate files

* test: reactivate and fix service test

* chore: simplify insecure skip verify add to http client

* chore(ci): debug into service test

* chore(ci): add testacc setup

* chore: format tf config for provider test

* chore(ci): add debug output for config.json

* fix: check service auth for emptyness

* fix: remove re-read of provider auth config

because the bug occured only in CI as the meta object might be GCd

* test: pass auth to service instead of provider

* chore: reactivate all acc tests

* test: outlines service inspect json check for full spec

* test: add service inspect json checks

* test: finish service inspect json checks

* chore(service): move test helper to end to of the file

* chore: move mapEquals to test helpers

* test: add json inspect for config

* chore: add debug inspect log for plugin, secret and volume

* test: add json inspect for secret

* test: add json inspect for image

* test: add json inspect for network

* test: add json inspect for plugin

* test: add json inspect for volume

* test: inline ds plugin test configs

* test: inline network configs

* test: move ds reg image configs into separate files

* test: reactivates container upload checks

* chore: adapt issues ref from old to new xw repo

* fix: reactivate network ingress test

and provide helpers for removing the default ingress network and leaving the swamr

* docs: rerun website gen

* test: fix reg image build and keep test

* chore: add name to todo

* chore: move ds network and plugin specs to file

* chore: format provider test spec

* chore: use simpler error message for empty strings
2021-05-31 16:11:49 +09:00
Manuel Vogel
2845519dce
fix/move helpers (#170)
* chore: rename structures file

* fix: create volume migrators

* fix: move service migrators

* fix: move network migrators

* fix: rename container migrators

* chore: move label migrators and helpers

* chore: move container structures

* chore: move network structures

* fix: move container extrahosts flattener

* fix: move container ulimits flattener

* fix: move container devices flattener

* chore: move service mappers to structures file

* chore: move image helper funcs

* chore: add constants for network refresher funcs

* chore: move plugin crud funcs to the top

* chore: move registry image funcs to the top

* chore: add resfresh func constants for volume

* chore: extract ipam config flatten func
2021-04-19 22:33:13 +09:00
renovate[bot]
42ea663ee6
fix(deps): update module github.com/golangci/golangci-lint to v1.39.0 (#166)
* fix(deps): update module github.com/golangci/golangci-lint to v1.39.0
* chore: bump version of lint action as well
* chore: fix linter
* fix: remove before hooks for releasing
* fix: remove unneeded declaration
2021-04-09 11:56:56 +02:00
Manuel Vogel
ad3e56da2b
feat: migrate to terraform-sdk v2 (#102)
* chore: runs v2 upgrade cmd
* chore: moves all files into the internal provider dir
* feat: migrates main and provider
* fix: migrates tests to provider factories
* fix: replace import state passthrough ctx func
* chore: bump tf-sdk to v2.4.4
* fix: acc test by adding stop grace period
* fix: move to validate diag functions
* test: switch from ctx TODO to Background
* feat: add state upgrade for restart_policy and auth

Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
2021-03-18 08:30:54 +01:00
Renamed from docker/resource_docker_network_funcs.go (Browse further)