Commit Graph

228 Commits (1298fcd41259c2cf66306cce2453efd2c19f445d)

Author SHA1 Message Date
Nick Fagerlund c02533c889 Cloud backend: Cache service discovery in public ServicesHost field
2 years ago
Nick Fagerlund 0248b6cf90 Give cloud TestRunner its own service discovery function
2 years ago
Nick Fagerlund 054fdf93cf Publicize Cloud's token and organization fields
2 years ago
Jamie Finnigan 05b0bdac99
adopt hashicorp/cli fork of mitchellh/cli (#34429)
2 years ago
Brandon Croft 2cf2943626
Update go-tfe mocks
2 years ago
Martin Atkins b0b8d4aa6f states: Only track root module output values
2 years ago
Nick Fagerlund 4ec407af08 Disallow saved cloud plans in VCS workspaces
2 years ago
Liam Cervante e38ca6ea60
Fix race conditions in mock provider and mock tfc client (#34306)
2 years ago
Nick Fagerlund 438e47659b Remove some redundant test cases for resolveCloudConfig
3 years ago
Nick Fagerlund 26dac26fd1 fix configWithEnvVars tests
3 years ago
Nick Fagerlund 1f9c3eb405 Fix TestCloud_config
3 years ago
Nick Fagerlund d7dadca40f Re-enable disabled cloud configure tests
3 years ago
Nick Fagerlund 59c99b1231 Steal most test cases from setConfigurationFields and PrepareConfig
3 years ago
Nick Fagerlund be71ab06a8 Add a first test for resolveCloudConfig
3 years ago
Nick Fagerlund 1ae8643201 Refactor `(*Cloud).Configure`, and fix TF_WORKSPACE bug
3 years ago
Nick Fagerlund 8e1b65ebc3 Add resolveCloudConfig function
3 years ago
Radek Simko 1d1dcc4b8b
cloud: Fix typo & align 'project' field description (#33946)
3 years ago
Liam Cervante 01c0480e77
Test framework will produce regular updates in -json mode (#33953)
3 years ago
Liam Cervante 8360d7566e
Implement double cancel instead of force cancel for test cloud runs (#33951)
3 years ago
Liam Cervante e37526b4e5
Refactor cloud test run cancellation logic to always intercept signals (#33930)
3 years ago
Liam Cervante ae6b36b247
fix panic when tests don't finish executing (#33929)
3 years ago
Liam Cervante ffbcaf8bef
Implement TFC integration for private module registry test runs (#33710)
3 years ago
Brandon Croft 70cf13cae3
cloud: don't update snapshot interval unless response is from tfe.v2
3 years ago
Brandon Croft f5463ce77c
cloud: fix ShouldPersistIntermediateState should be false when header absent
3 years ago
Brandon Croft 6500b7c740
change visibility of cloud.Backend Hostname field
3 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
Brandon Croft b1d4f18a9b
Create provisional configuration version when saving cloud plan
3 years ago
Karl Kirch d7e07e66fc
Add ability to specify Terraform Cloud Project in cloud block (#33489)
3 years ago
Nick Fagerlund f98f920b67 Add error wrapper types to highlight bad plan/state data
3 years ago
Nick Fagerlund 1f35173192 Tests: Add tests for `(*Cloud).ShowPlanForRun()`
3 years ago
Nick Fagerlund 7f6b827987 Modify tfe client mocks to meet some new requirements
3 years ago
Nick Fagerlund d5938f6b45 Add `(*Cloud).ShowPlanForRun` method to support `terraform show`
3 years ago
Nick Fagerlund e0af3e25e0 Add `cloudplan.RemotePlanJSON` wrapper struct for keeping plan metadata together
3 years ago
Nick Fagerlund 2a08a5b46e Cloud: Split private `readRedactedPlan` func into two
3 years ago
Nick Fagerlund da963a13b9 Implement plan -out for Cloud
3 years ago
Nick Fagerlund f9d937a4dd Apply a confirmable run when given a saved cloud plan (#33270)
3 years ago
Nick Fagerlund 9d85f18930 Add NewSavedPlanBookmark function
3 years ago
Lauren dcccd3b266 Add error handling and tests for saved plan bookmark load/save (#33268)
3 years ago
Nick Fagerlund df7a1c821a Move SavedPlanBookmark to dedicated `internal/cloud/cloudplan` package
3 years ago
Lauren 717a36036d codify saved plan artifact contents (#33185)
3 years ago
Brandon Croft c1a730314d
Relocate localterraform.com aliasing to backend configurators
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
James Bardin cf5ebaf685 s/Schemas/ProviderSchema/
3 years ago
James Bardin 36d34135ad replace remaining types in tests
3 years ago
Brandon Croft 9fe3f7a7b4
cloud: when saving state, create a pending state version then upload
3 years ago
kmoe 5900d1177c
cloud: assert import block compatibility (#33282)
3 years ago
CJ Horton 8213513e2b
Merge pull request #33278 from hashicorp/radditude/cloud-config-generation
3 years ago
CJ Horton 6ca13bfc1e fix static check errors
3 years ago
Brandon Croft 86eed095b3
Rename disableIntermediateSnapshots > enableIntermediateSnapshots
3 years ago
CJ Horton cdce4c4a6d write generated config when using the cloud integration
3 years ago