Commit graph

17 commits

Author SHA1 Message Date
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
Manuel Vogel
ca26635625
fix: skip sign on compile action 2021-04-21 14:12:36 +02:00
Manuel Vogel
1159e2de73
feat: support darwin arm builds and golang 1.16 (#140)
* chore: bump to golang 1.16

* fix(ci): remove fail fast from non-matrix builds

* chore: rename release workflow from yml to yaml

* fix: use goreleaser for compile tests

* fix(make): use gorelease in compile target

* fix(ci): add gpg import step for compile
2021-03-18 23:21:49 +09: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
Manuel Vogel
3ef7a702d5
feat: add local semantic commit validation (#99)
* docs(readme): adds >= to tf requirement version
* feat(Makefile): adds setup task for cm msg sem validation
* docs(contributing): adds setup target
2020-12-27 11:18:22 +01:00
Manuel Vogel
30f2238e0b
feat: add ability to lint/check of links in documentation locally (#98)
* build: adds local check for website links
* build(make): adds website lint and setup target
* docs: fix spellings and hcl blocks
* fix(make): phony cmd for missing targets
* chore: renames website link check workflow
* fix: missing workflow path
* build(make): adds golangci-lint target and tool
* ci: adds website lint workflow
* docs(contributing): adds linter runs
* chore: improves naming of workflow jobs
* ci: moves website lint job
* chore: switches markdown checker imagee to ghcr.io/tcort/markdown-link-check:stable
2020-12-27 19:02:34 +09:00
Suzuki Shunsuke
9f9bbc0773 ci: add gofmt's '-s' option 2020-12-12 19:26:11 +09:00
Shunsuke Suzuki
942c5143d6 ci: remove unneeded make tasks 2020-12-12 01:28:35 +09:00
Manuel Vogel
62ddaf9e23
Refactors test setup (#156)
* refactors test setup according to the postgres provider
* updates readme for new test setup
2019-06-01 12:01:42 +02:00
Alex Pilon
2eed46629c
deps: use go modules for dep mgmt
run go mod tidy
remove govendor from makefile and travis config
set appropriate env vars for go modules
2019-03-11 18:19:30 -04:00
Manuel Vogel
1f563cc913
Migrate/docker-client (#70)
Migrates to the official docker client to connect to the Docker API/Deamon. Closes #32
2018-07-03 17:30:53 +02:00
Radek Simko
123e4a100e
make: Add website + website-test targets 2018-04-30 08:52:55 +01:00
Manuel Vogel
d7038e7560 Feat/swarm 3 acc test infra (#39)
* Set up test infrastructure with local registry and custom images.

* Updated travis docker version and usage of new test infra.

* Made acc tests constantly output test results.

* Tmp acc test files are ignored.

* Fixed tests with new infra.

* Allowing insecure registries for acc tests. Added fallback for v1 registries.

* Added private image cleanup after tests.

* Refined acc test structure to confirm tf provider standards with make testacc.
2018-02-09 13:11:30 -06:00
stack72
4ba8520d95 Adding back the GNUmakefile test-compile step 2017-06-30 11:15:38 +03:00
stack72
f09b744da7 Simplifying the GNUMakefile 2017-06-29 16:42:17 +03:00
Jake Champlin
0192d62271
Updating Makefile + Add gitignore 2017-06-06 16:27:01 -04:00
Jake
d8ce3db14a initial commit 2017-06-05 20:59:08 +00:00