lalyos
92540d3d88
fixing version numbers RCs should be labeled x.x.x-rcx
...
see conversation with ryanuber: https://github.com/hashicorp/go-checkpoint/issues/2#issuecomment-73199209
2015-02-07 16:56:56 +01:00
Emil Hessman
b40c2fe997
command: fix test failure on Windows
...
URLs are `/`-based. Windows path Separator is `\`.
Convert `\` in test fixture path to `/` with filepath.ToSlash
such that proper URLs are constructed even on Windows.
Fixes a test failure on Windows.
2015-01-28 08:13:44 +01:00
Emil Hessman
92e68c1ee6
command: fix test failure on Windows
...
Adjust the laddr argument to net.Listen to the form host:port,
as documented for net.Dial.
Fixes a test failure on Windows.
2015-01-28 08:10:52 +01:00
Phil Kates
b211d69dde
Fix typo in refresh command error
...
Noticed this while I was digging around to see how the commands work.
2015-01-17 15:43:04 -08:00
Mitchell Hashimoto
fb3f10efb0
command/apply: ask for user variables before validation [GH-736]
2015-01-16 10:46:38 -08:00
Mitchell Hashimoto
90138825a2
command/apply: don't init if no args given [GH-780]
...
I really don't know how to unit test this since I don't know what input
triggers this except that it has been reporting a few times in the wild.
2015-01-16 10:22:20 -08:00
Armon Dadgar
b69239e7f8
command/meta: Adding additional nil guards
2015-01-07 13:28:15 -08:00
Armon Dadgar
408ae62306
command/apply: Handle remote state in a plan file
2015-01-07 13:08:32 -08:00
Kevin van Zonneveld
07505ed159
Fix typo: expacts -> expects
2015-01-03 17:59:55 +01:00
Emil Hessman
fc36b1cd94
command: vet fix
...
Fixes the following vet report:
command/remote.go:165: wrong number of args for format in Sprintf call: 1 needed but 2 args
2014-12-17 13:02:19 +01:00
Armon Dadgar
cce881aadd
command/show: enable printing of remote state
2014-12-10 13:27:11 -08:00
Armon Dadgar
07e5f3ff41
command/remote: Improve UI output for remote
2014-12-10 13:27:11 -08:00
Armon Dadgar
bcd348aebd
command: updating tests
2014-12-10 13:27:10 -08:00
Armon Dadgar
6a84be0686
command: updating for pluggable backends
2014-12-10 13:27:10 -08:00
Armon Dadgar
ba01e27026
command: Refresh remote state when loading
2014-12-10 13:27:09 -08:00
Armon Dadgar
dab47b0d48
command/plan: remote enable
2014-12-10 13:27:09 -08:00
Armon Dadgar
b6265cf1a2
command/refresh: Remote enable
2014-12-10 13:27:09 -08:00
Armon Dadgar
0fb87e499d
command: Meta provides the state output path
2014-12-10 13:27:09 -08:00
Armon Dadgar
0c9436f37b
command/output: Remote enable
2014-12-10 13:27:09 -08:00
Armon Dadgar
53704db4ee
command: Enable reading remote-enabled state
2014-12-10 13:27:09 -08:00
Armon Dadgar
bf10111745
command/apply: Move state persistence to Meta
2014-12-10 13:27:09 -08:00
Armon Dadgar
c24123ff8a
command/remote: Adding tests
2014-12-10 13:27:08 -08:00
Armon Dadgar
b4b44dd0a8
command/remote: Refresh state before the disable
2014-12-10 13:27:08 -08:00
Armon Dadgar
6e7cffd60b
command/init: Only initialize a blank state with remote
2014-12-10 13:27:08 -08:00
Armon Dadgar
9168a0f1ce
command: Simplify push/pull, depend on remote command for setup
2014-12-10 13:27:08 -08:00
Armon Dadgar
1945e2099a
command/remote: Use PersistState
2014-12-10 13:27:08 -08:00
Armon Dadgar
4e44443aa3
command/remote: Working on the details
2014-12-10 13:27:08 -08:00
Armon Dadgar
b3871c0c5a
command/remote: Adding skeleton
2014-12-10 13:27:08 -08:00
Armon Dadgar
09d7fb7c27
command: cleanup test function names
2014-12-10 13:27:08 -08:00
Armon Dadgar
7ba0c003f2
command/push: Allow existing state file to enable remote
2014-12-10 13:27:08 -08:00
Armon Dadgar
38002904f4
command/push: Adding the push command
2014-12-10 13:27:08 -08:00
Armon Dadgar
722a885113
command/init: Testing remote flags
2014-12-10 13:27:07 -08:00
Armon Dadgar
34df217514
command/pull: Adding the pull command
2014-12-10 13:27:07 -08:00
Armon Dadgar
d332b8ad58
remote: implement refresh state
2014-12-10 13:27:07 -08:00
Armon Dadgar
29b3310a49
command/init: integrate remote state storage
2014-12-10 13:27:06 -08:00
Armon Dadgar
5b745e5d46
command: Run validation before asking for input. Fixes #602
2014-12-08 18:32:03 -08:00
Emil Hessman
31dd7d8391
command/init: use a more semantic name to identiy the test routine for issue 518
2014-11-20 19:17:04 +01:00
Emil Hessman
82e4bab178
command/init: test for issue 518
2014-11-04 21:19:39 +01:00
Panagiotis Moustafellos
3d51bae4b2
switch phrasing
2014-10-15 18:57:24 +03:00
Panagiotis Moustafellos
08515edc43
fixed typo on terraform destroy
2014-10-15 11:17:56 +03:00
Mitchell Hashimoto
70191d22a6
Add checkpoint
2014-10-13 14:05:43 -07:00
Mitchell Hashimoto
5f6fe1f931
command: put the modules in ".terraform/modules"
...
This also fixes a case where tests wre leaking files
2014-10-13 12:05:28 -07:00
Mitchell Hashimoto
c6a165f8c6
command: prov UI should trim only right spaces
2014-10-12 09:59:08 -07:00
Mitchell Hashimoto
fbeb99ee83
command: make sure the output has a line from a provisioner to output
2014-10-11 17:40:28 -07:00
Mitchell Hashimoto
8fc134caa1
command/destroy: don't show outputs
2014-10-11 17:37:28 -07:00
Mitchell Hashimoto
bb698217f8
command: split on \r too
2014-10-11 17:35:32 -07:00
Mitchell Hashimoto
0914e17a2a
command/apply: more than one ctrl-c properly exits immediately
2014-10-11 13:23:15 -07:00
Mitchell Hashimoto
dac5f0e3df
command/show: update help
2014-10-11 12:57:47 -07:00
Mitchell Hashimoto
069f758efb
command/show: show default state with no args [GH-349]
2014-10-11 12:56:55 -07:00
Mitchell Hashimoto
16b023bd2b
command: ask for the proper level of input
2014-10-08 10:29:54 -07:00