* chore: Upgrade golangci-lint to next major version
* chore: Add //nolint to new tests
---------
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
* chore: Update gorelease publish github token
* chore: Update makefile commands to match new svi version
* chore: Prepare release v3.1.1
---------
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
* chore: update Go version to 1.22 for consistency across workflows, jobs, and modules.
* build: Update GitHub Actions setup-go and golangci-lint versions.
* refactor: Replace ioutil.ReadFile and ioutil.ReadAll with os.ReadFile and io.ReadAll.
* go fmt
* 🔄 Update actions/checkout and actions/setup-go to v4 and v5, respectively.
* ✨ Refactor: Add b64 function to convert file to base64 in testacc_setup.sh.
* ✨ Update Go version requirement in CONTRIBUTING.md.
* ✨ Fix typo and improve error message format.
* ✨ enhance: Improve error message in TestAccDockerContainer_uploadAsBase64.
* ✨ Fix: Update file permissions for test2.txt in docker container tests.
* feat: Download static docker image in acc_tests
* feat: Removing docker install from acc test job.
* feat: Only run private registry for selected tests.
* chore: Remove not needed env variables from acc-tests.
* chore: Ignore compile job for tags and test-only commits.
* chore: Remove vet and errcheck from Makefile.
* 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
* 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.
* 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>
* chore: bump tools golang version to 1.16
* fix(deps): update module github.com/golangci/golangci-lint to v1.40.1
* chore(ci): bump golangci-lint to use v1.40.1
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
* 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
* 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
* fix: create container refresh function
* fix: adapt statefunc delays and timeouts to reflect for loop
* feat: add testaccDockerfile for local development
* chore(ci): bump terraform versions and add 0.15.2