mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 02:37:43 -05:00
Following the lead of similar earlier work on testing the installation of provider packages from OCI repositories, this new test exercises the new OCI-based module source address syntax in an end-to-end fashion by directly running "tofu init". For the reasons described inline, this test uses a local test server as its target OCI Registry and therefore needs to rely on a Go standard library feature for overriding the trusted TLS certs which only works on Unix systems other than macOS, and therefore this test will only run when the e2etest suite is run on Linux systems. This matches the same compromise we previously made for the provider installation flavor of this test, with the same assumption that our module installer isn't doing anything particularly platform-specific and that we're doing this in e2etest only because that's an effective way to test that "package main" is wiring all of the internal components together correctly. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
5.4 KiB
5.4 KiB