Commit Graph

584 Commits (03f6c650ca9e78fc0d80d430ca1ec2a52c262da4)

Author SHA1 Message Date
James Bardin a372e9c54b fix state migration lock info
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin f2e496a14c Have backend operations properly unlock state
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 67dc16c9ca Make backend/local test pass
9 years ago
Mitchell Hashimoto b7a143fffb
command/state: improved error message on state lock fail
9 years ago
Mitchell Hashimoto 18bc77c359
command/state: up the threshold for showing lock info
9 years ago
Mitchell Hashimoto 90f3d40c1f
command: use new state lock/unlock helpers for better UX
9 years ago
Mitchell Hashimoto 34f438b635
command/state: helpers for UX with lock/unlock state
9 years ago
Kazumichi Yamamoto cd7f69ab11 New provider arukas (#11171)
9 years ago
George Hartzell e39f4e1993 Typo: determien -> determine (#11888)
9 years ago
James Bardin 0c1b138719 Add state locking during backend init
9 years ago
James Bardin 5c2e945b3c Fix format string and typos
9 years ago
Mitchell Hashimoto a5ab6e447b command/apply: update help text to be "parallel" instead of concurrent
9 years ago
James Bardin 5ca5a3c78a Merge pull request #11724 from hashicorp/jbardin/state-locking
9 years ago
James Bardin 65abe98047 Remove lock command and rename lock/force-unlock
9 years ago
Mitchell Hashimoto 0c97c5a3d9
command: tests should move to temporary cwd
9 years ago
James Bardin 015198ca11 Add lock/unlock commands
9 years ago
James Bardin b80ae5e13e Add source path argument to testLockState
9 years ago
James Bardin eb8e5ac739 Change CLI flag to '-lock'
9 years ago
James Bardin 07903189f1 s/Meta.lockState/Meta.stateLock/g
9 years ago
James Bardin cd96bb5aca Add test/untaint tests with locked state
9 years ago
James Bardin 82e59cd826 Add test for destroy with locked state
9 years ago
James Bardin 9fa436e0bd Add test for locked state in plan
9 years ago
James Bardin f3e4c05250 build the statelocker binary before running
9 years ago
James Bardin bd65ddbcaa Add test for apply/refresh on locked state files
9 years ago
James Bardin fb60b6f6f2 Add separate program for locking state files
9 years ago
James Bardin 6a20c35d61 apply-test
9 years ago
James Bardin 91608843a4 Add state locking in taint/untaint
9 years ago
James Bardin a157ebbccd add -lock-state usage to plan/refresh/apply/destr
9 years ago
James Bardin 94f2f4d6ae Create state files first for backup tests
9 years ago
James Bardin dd19cb202d add locking to plan and refresh commands
9 years ago
James Bardin 9cdba1f199 enable local state locking for apply
9 years ago
James Bardin 9acb86a182 Merge pull request #11187 from hashicorp/jbardin/state-locking
9 years ago
Seth Vargo 0d39123cb0
Update error message when no outputs are defined
9 years ago
Seth Vargo 037d4b6c87
Suggest refresh instead of apply
9 years ago
James Bardin 11d601ad6d TestRefresh_badState can be re-enabled
9 years ago
James Bardin 1380bbedb2 don't print err in Fatalf when it's nil
9 years ago
James Bardin b8bd4846db fix test despite original comments
9 years ago
James Bardin 39ca4fa2f8 Ensure that backend tests check for data in state
9 years ago
James Bardin 8f7f1917f2 Remove state file data when writing a nil state
9 years ago
James Bardin eb59b5925e Fix some tests, and make rest fail with good errs
9 years ago
Mitchell Hashimoto 61881d2795 Merge pull request #10934 from hashicorp/f-provisioner-stop
9 years ago
Mitchell Hashimoto b8c310c61e
command: update test failure to correct message
9 years ago
Mitchell Hashimoto 09242fab09
terraform: remove legacy graph builder
9 years ago
Mitchell Hashimoto 83cc54bfbe
updated generate output
9 years ago
Mitchell Hashimoto 09e0727d5e
command/plan: revert test change on this output
9 years ago
Mitchell Hashimoto d9bc1572eb
command: remove old State funcs
9 years ago
Mitchell Hashimoto ad7b063262
command: convert to use backends
9 years ago