Commit Graph

5 Commits

Author SHA1 Message Date
Andrei Ciobanu
4f57c826f0 Add download_retry_count for direct and network_mirror in CLI configuration (#3368)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-18 11:42:25 +03:00
Andrei Ciobanu
ca3c9f7388 Extract TF_PROVIDER_DOWNLOAD_RETRY env var from the getproviders package (#3338)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-13 10:00:19 +03:00
Diógenes Fernandes
ff9657f5b7 fix cmd/tofu tests by using t.Chdir instead of os.Chdir (#3285)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-09-17 12:10:13 -03:00
Martin Atkins
2d2b08517e cliconfig: Registry protocol retry count and timeout settings
These were previously settable only via environment variables. These are
now handled as part of CLI Configuration and so also settable in a new
"registry_protocols" block in a CLI configuration file, with the
environment variables now treated as if they are an additional virtual
configuration file containing the corresponding settings.

This handles our settings in our modern style where package cliconfig is
responsible for deciding the configuration and then package main reacts
to that configuration without being aware of how it is decided.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-10 11:45:38 -07:00
baa-ableton
917adc61b0 fix: resolve local mirror detection with -chdir option (#3072)
Signed-off-by: Babur Ayanlar <babur.ayanlar@ableton.com>
2025-08-13 13:13:00 +04:00