terraform/internal/command/e2etest
Martin Atkins b802db75d7 build: Build and run e2etest as part of the release build pipeline
This uses the decoupled build and run strategy to run the e2etests so that
we can arrange to run the tests against the real release packages produced
elsewhere in this workflow, rather than ones generated just in time by
the test harness.

The modifications to make-archive.sh here make it more consistent with its
originally-intended purpose of producing a harness for testing "real"
release executables. Our earlier compromise of making it include its own
terraform executable came from a desire to use that script as part of
manual cross-platform testing when we weren't yet set up to support
automation of those tests as we're doing here. That does mean, however,
that the terraform-e2etest package content must be combined with content
from a terraform release package in order to produce a valid contest for
running the tests.

We use a single job to cross-compile the test harness for all of the
supported platforms, because that build is relatively fast and so not
worth the overhead of matrix build, but then use a matrix build to
actually run the tests so that we can run them in a worker matching the
target platform.

We currently have access only to amd64 (x64) runners in GitHub Actions
and so for the moment this process is limited only to the subset of our
supported platforms which use that architecture.
2022-01-05 14:31:04 -08:00
..
testdata command/e2etest: TestProviderTampering 2021-10-05 10:59:59 -07:00
.gitignore Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
automation_test.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
doc.go Update various non-code references to renamed Go packages 2021-05-17 14:09:07 -07:00
init_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
main_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
make-archive.sh build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
primary_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
provider_dev_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
provider_plugin_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
providers_mirror_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
providers_tamper_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
provisioner_plugin_test.go build: Build and run e2etest as part of the release build pipeline 2022-01-05 14:31:04 -08:00
provisioner_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
remote_state_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
strip_ansi.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00
unmanaged_test.go terraform: use ProtocolVersion from unmanaged providers' reattachConfig to chose the correct PluginClient (#28190) 2021-05-18 10:59:14 -04:00
version_test.go Move command/ to internal/command/ 2021-05-17 14:09:07 -07:00