Commit Graph

183 Commits (db08ee4ac59d5eb8bcfffc175489ebf461bf4a92)

Author SHA1 Message Date
Martin Atkins c12d64f340 Use t.Helper() in our test helpers
9 years ago
Martin Atkins 2e0c1d07ae Merge #15793: Locking support in HTTP remote backend
9 years ago
Ross McFarland d889ac38b0 Change remote/http store to update, more consistent with doc
9 years ago
Ross McFarland 510563b67f Fully test conf handling in httpFactory
9 years ago
Ross McFarland 69546c4b33 Pass at much more flexible remote/http backend
9 years ago
James Bardin 68da0390b7 remove legacy azure remote state code
9 years ago
Peter McAtominey f9e8e54835 backend: convert Azure remote state to a backend
9 years ago
Ross McFarland 6cdea5af5d Clean up code and make the state/http behavior more consistent
9 years ago
Ross McFarland ce4d9fb3c2 Add tests for state/http with locking
9 years ago
Ross McFarland 1d38569c91 Add Lock/Unlock support to remote/http
9 years ago
James Bardin 32ae05c342 fix strict remote.State lineage check
9 years ago
James Bardin fba5decae5 update TestState helper
9 years ago
Martin Atkins 4d53eaa6df state: more robust handling of state Serial
9 years ago
Gavin Williams 96e6bf89ec remote/swift: Remove un-used code
9 years ago
Gavin Williams ee2e390f85 remote/swift: Migrate Swift remote state to a backend
9 years ago
James Bardin 808b504bcf rename openstack provider for swift remote state
9 years ago
Tom Harvey 13583b4b8b provider/azurerm: Upgrading to AutoRest v8 (#15006)
9 years ago
Tom Harvey df2875045d provider/azurerm: Upgrading to v10 of the Azure SDK (#14004)
9 years ago
James Bardin 4866f35645 add mutexes to Local, Backup, and InmemState
9 years ago
James Bardin f0f2220abb add mutexes to remote.State
9 years ago
Gavin Williams c63ad9c0f8 state/remote/swift: Support Openstack request logging (#13583)
9 years ago
James Bardin eeddc3f8ea add some nil checks for unexpected lock failures
9 years ago
James Bardin af2e289212 remove Sleep from TestLockWithContext
9 years ago
James Bardin d1460d8c82 test LockWithContext
9 years ago
James Bardin 93b1dd6323 give LockWithContext a little backoff
9 years ago
James Bardin 3f0dcd1308 Have the clistate Lock use LockWithContext
9 years ago
James Bardin 826771a830 add state.LockWithContext
9 years ago
James Bardin 75458a182d remove extra state.Locker assertions
9 years ago
James Bardin bf6384a163 All states are lockers
9 years ago
James Bardin 9f5cf2b105 convert S3 remote state to a backend
9 years ago
Mitchell Hashimoto 1daff7a826
backend/consul: support "lock" option to disable locking
9 years ago
Ash Berlin 70de22253a Fix error message in Azure state backend (#12424)
9 years ago
Peter McAtominey cbed463b44 state/azure: add environment option for non-public cloud usage (#12364)
9 years ago
Mitchell Hashimoto 942572b574
backend/init: add atlas, remove legacy atlas remote state
9 years ago
James Bardin 7f40f90c4c remove the legacy Inmem remote state
9 years ago
James Bardin a4283d23f6 fix windows locking
9 years ago
James Bardin c0dda6a7b3 test failure for windows local locks
9 years ago
Mitchell Hashimoto 03f6c650ca
state/remote: ClientLocker is just a Client that is a state.Locker
9 years ago
Mitchell Hashimoto 9451acc5da
state/remote: add unit test to verify s3 is a ClientLocker as well
9 years ago
Mitchell Hashimoto efe754183b
state/remote: export ClientLocker, test for implementation
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin 888af93356 Have S3 check the lockID on Unlock
9 years ago
James Bardin 67bbebce08 Have consul state reutrn the lock ID
9 years ago
James Bardin 08cff7cc13 have LocalState check Lock ID on Unlock
9 years ago
James Bardin 6aa1066f7c Store and use the correct IDs in TestRemoteLocks
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 52b2343672 make state test pass with new state.Locker
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 6d32b70637 Make S3 remote state pass tests
9 years ago
James Bardin 0ad6f08204 Make remote state test run
9 years ago