terraform/plugin/discovery
Martin Atkins eed605ac05 [WIP] Re-enable the end-to-end tests (#20044)
* internal/initwd: Allow deprecated relative module paths

In Terraform 0.11 we deprecated this form but didn't have any explicit
warning for it. Now we'll still accept it but generate a warning. In a
future major release we will drop this form altogether, since it is
ambiguous with registry module source addresses.

This codepath is covered by the command/e2etest suite.

* e2e: Skip copying .exists file, if present

We use this only in the "empty" test fixture in order to let git know that
the directory exists. We need to skip copying it so that we can test
"terraform init -from-module=...", which expects to find an empty
directory.

* command/e2etests: Re-enable and fix up the e2etest "acctests"

We disabled all of the tests that accessed remote services like the
Terraform Registry while they were being updated to support the new
protocols we now expect. With those services now in place, we can
re-enable these tests.

Some details of exactly what output we print, etc, have intentionally
changed since these tests were last updated.

* e2e: refactor for modern states and plans

* command/e2etest: re-enable e2etests and update for tf 0.12 compatibility
plugin/discovery: mkdirAll instead of mkdir when creating cache dir
2019-04-29 13:03:24 -04:00
..
test-fixtures plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
testdata plugin/discovery: Use GPG keys from Registry 2018-11-20 14:09:16 -05:00
error.go Only display status link if public registry used 2019-04-05 16:49:27 -04:00
find.go Standardize on log level "WARN" rather than "WARNING" 2018-01-16 18:05:26 -08:00
find_test.go plugin/discovery: trim off .exe suffix when parsing filenames 2017-07-18 10:00:23 -07:00
get.go [WIP] Re-enable the end-to-end tests (#20044) 2019-04-29 13:03:24 -04:00
get_cache.go plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
get_cache_test.go plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
get_test.go plugin/discovery: verify checksum matches Registry response 2019-03-21 12:31:31 -05:00
hashicorp.go plugin/discovery: Verify sig against HashiCorp key 2019-03-01 14:05:51 -05:00
meta.go plugin/discovery: use go-version instead of semver 2017-06-09 14:03:59 -07:00
meta_set.go grammatical updates to comments and docs (#20195) 2019-03-21 14:05:41 -07:00
meta_set_test.go remove "~> 0.0" constraint suggestions 2017-06-16 16:25:36 -04:00
meta_test.go udpate to plugin name convention 2017-06-09 14:03:59 -07:00
requirements.go Bump installer protocol version to 5 and separate client and server protocol references 2019-01-16 15:07:57 -06:00
requirements_test.go plugin/discovery: PluginRequirements can specify SHA256 digests 2017-06-09 14:03:59 -07:00
signature.go plugin/discovery: verify checksum matches Registry response 2019-03-21 12:31:31 -05:00
version.go Prerelease versions are filtered for plugin protocol mismatches 2019-01-11 12:56:47 -06:00
version_set.go terraform: HCL2-flavored module dependency resolver 2018-10-16 18:44:26 -07:00
version_set_test.go update tests to match pre-release constraint rules 2018-10-16 18:24:47 -07:00
version_test.go Add Versions.Sort 2017-06-09 14:03:59 -07:00