Commit graph

11 commits

Author SHA1 Message Date
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
Suzuki Shunsuke
f213e3a348 style: format with gofumpt
https://github.com/mvdan/gofumpt

```
$ gofumpt -l -s -w docker/*
```
2020-12-12 19:26:11 +09:00
dubo-dubon-duponey
a64378ac59
feat: adds support for OCI manifests (#316)
Close #315 

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2020-12-01 14:06:27 +01:00
dubo-dubon-duponey
27a9f37c69 Move to standalone plugin SDK (#200)
Closes #197 
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-09 20:25:38 +02:00
Matteo Castellini
f3e27203d1 Calculate digest when missing from registry response headers (#188)
Closes #186
2019-10-06 11:25:02 +02:00
Alex Pilon
aab8fac508
provider: Ensured Go 1.11 in TravisCI and README
provider: Run go fix
provider: Run go fmt
provider: Encode go version 1.11.5 to .go-version file
2019-03-11 18:19:29 -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
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
Peter Nyilas
98bede4dbe add prefix 'library' only to official images in the path (#27) 2018-01-02 10:31:06 +01:00
Manuel Vogel
76925f68f8
Feat/private registry support (#21)
* Add support for private registry auth. Adapted documentation and tests.
* Clarified README.
2017-11-21 10:14:07 +01:00
Jake Champlin
e23185d484
Transfer docker provider 2017-06-06 11:50:32 -04:00
Renamed from data_source_docker_registry_image.go (Browse further)