databricks-cli/acceptance/bundle/variables
Denis Bilenko e5730bf57e
Use real terraform in acceptance tests (#2267)
## Changes
- Add a script install_terraform.py that downloads terraform and
provider and generates a config to use, inspired by
https://gist.github.com/pietern/1cb6b6f3e0a452328e13cdc75031105e
- Make acceptance tests run this script once before running the tests
and set the required env vars to make cli use this terraform
installation.
- Use OS-specific directory for things that are build by acceptance test
runner (CLI and terraform).

This enables acceptance tests against cloud #2242 and local test for
bundle deploy #2254.

## Tests
- Add an acceptance test for standalone terraform. This is useful to
debug terraform with TF_LOG=DEBUG to see that it uses local provider.
- Other acceptance tests are updated with regard to terraform exec path.
- The overall time for tests locally is unchanged (if terraform is
already fetched).
2025-01-31 13:53:13 +00:00
..
arg-repeat acc: only print non-zero exit codes in errcode function (#2222) 2025-01-24 10:47:12 +01:00
complex Enable acceptance tests for manually running against the cloud (#2120) 2025-01-14 13:50:28 +00:00
complex-cross-ref Resolve variables in a loop (#2164) 2025-01-16 14:39:54 +00:00
complex-cycle Resolve variables in a loop (#2164) 2025-01-16 14:39:54 +00:00
complex-cycle-self Resolve variables in a loop (#2164) 2025-01-16 14:39:54 +00:00
complex-simple Migrate more variable tests to acceptance (#2154) 2025-01-15 15:59:42 +01:00
complex-transitive Improve resolution of complex variables within complex variables (#2157) 2025-01-15 18:03:43 +01:00
complex-transitive-deep Resolve variables in a loop (#2164) 2025-01-16 14:39:54 +00:00
complex-transitive-deeper Add complex-transitive-deeper acceptance test (#2140) 2025-01-14 15:38:20 +00:00
complex-with-var-reference Migrate TestResolveComplexVariableWithVarReference (#2156) 2025-01-15 17:52:17 +01:00
complex-within-complex Improve resolution of complex variables within complex variables (#2157) 2025-01-15 18:03:43 +01:00
complex_multiple_files Enable acceptance tests for manually running against the cloud (#2120) 2025-01-14 13:50:28 +00:00
cycle Resolve variables in a loop (#2164) 2025-01-16 14:39:54 +00:00
double_underscore Added support for double underscore variable references (#2203) 2025-01-29 13:38:28 +00:00
empty Reading variables from file (#2171) 2025-01-23 14:35:33 +00:00
env_overrides Fix env_overrides not to use variables in workspace.profile (#2251) 2025-01-28 15:22:56 +01:00
file-defaults Restore variable file tests (#2220) 2025-01-29 13:34:26 +00:00
git-branch Use real terraform in acceptance tests (#2267) 2025-01-31 13:53:13 +00:00
host Add a test re using variable in host (#2117) 2025-01-13 12:31:09 +00:00
prepend-workspace-var Use real terraform in acceptance tests (#2267) 2025-01-31 13:53:13 +00:00
resolve-builtin acc: Include "id" into /api/2.0/preview/scim/v2/Me response (#2266) 2025-01-29 17:35:03 +00:00
resolve-empty Convert some resolve variables tests to acceptance test (#2100) 2025-01-08 17:44:52 +00:00
resolve-field-within-complex Convert some resolve variables tests to acceptance test (#2100) 2025-01-08 17:44:52 +00:00
resolve-nonstrings Migrate resolution tests to acceptance tests (#2143) 2025-01-15 11:22:23 +01:00
resolve-vars-in-root-path acc: Include "id" into /api/2.0/preview/scim/v2/Me response (#2266) 2025-01-29 17:35:03 +00:00
vanilla Reading variables from file (#2171) 2025-01-23 14:35:33 +00:00
variable_overrides_in_target Enable acceptance tests for manually running against the cloud (#2120) 2025-01-14 13:50:28 +00:00
without_definition Add acceptance tests (#2081) 2025-01-08 12:41:08 +00:00