Commit Graph

205 Commits

Author SHA1 Message Date
Brian Bennett
525952a663 Compatibility with ed25519 keys in ssh-agent 2015-10-07 22:28:11 -07:00
Trent Mick
8fb0b696f7 bumpver for subsequent work 2015-10-07 15:51:29 -07:00
Trent Mick
57310740eb 2.1.1 2015-10-07 15:51:20 -07:00
Trent Mick
f7d9dc0ba2 joyent/node-triton#40 Divorce wanted between profile keyId and keyId actually sent to server
fixes #40
2015-10-07 15:49:49 -07:00
Trent Mick
0ee966e1c8 joyent/node-triton#39 change the test config 'destructiveAllowed' var to 'writeActionsAllowed'
Fixes #39
2015-10-07 12:19:26 -07:00
Trent Mick
796f4d069e bumpver for subsequent work 2015-10-06 23:33:40 -07:00
Trent Mick
741abc968e 2.1.0 2015-10-06 23:33:29 -07:00
Trent Mick
a71a1ddba3 fix 'name' var usage; style nit on for-loop usage for early out 2015-10-06 23:33:18 -07:00
Trent Mick
b73766d399 style nits, no functional change 2015-10-06 23:28:25 -07:00
Trent Mick
8ece8d0024 Integration test config handling improvements. Add 'ResourceNotFound' error and fine tune exit status handling.
Fixes #37.
2015-10-06 23:24:42 -07:00
Dave Eddy
d79083b9a1 start/stop/reboot/delete take multiple arguments, fixes #38 2015-10-06 16:54:55 -04:00
Dave Eddy
3cbf85a121 show image name and version when UUID is specified, fixes #29 2015-10-05 16:34:24 -04:00
Trent Mick
a67341b1b0 'make test' now runs unit and integration tests.
'make test-unit' just the unit tests (pre-commit updated to just the latter
Fix one typo in destructiveAllowed.
2015-10-05 07:31:49 -07:00
Trent Mick
a26164f01f trying for "$version" message for the commit that is the release commit 2015-10-05 06:47:15 -07:00
Dave Eddy
b225896a5e place config require logic inside try/catch 2015-10-01 12:28:06 -04:00
Dave Eddy
3ba8f312f1 add TRITON_TEST_PROFILE and TRITON_TEST_DESTRUCTIVE_ALLOWED 2015-10-01 12:27:05 -04:00
Trent Mick
b9df8e6693 prep for future dev 2015-09-30 15:14:41 -07:00
Trent Mick
f3b8386c40 prepare for 2.0.0 release 2015-09-30 15:14:33 -07:00
Trent Mick
dced8d2256 not sure we need a 'make clean' before publishing 2015-09-30 15:14:05 -07:00
Trent Mick
c538670dd4 prepping for using 'make cutarelease' for quick release tagging and publishing 2015-09-30 15:08:26 -07:00
Trent Mick
82239010d3 ensure cruft doesn't get into npm published tarballs 2015-09-30 15:00:46 -07:00
Trent Mick
2853627e89 bump to 2.0.0 for new 'triton' npm package name 2015-09-30 14:37:28 -07:00
Dave Eddy
faca038854 exports main module 2015-09-29 18:15:08 -04:00
Dave Eddy
e7109071de cloudapi and tritonapi exports should match 2015-09-29 18:13:34 -04:00
Dave Eddy
464851843a add "list" and "ls" aliases for "instances", fixes #34 2015-09-29 18:01:18 -04:00
Dave Eddy
e3335c5dc2 add profiles tests 2015-09-29 14:45:52 -04:00
Dave Eddy
055c64efc5 move triton wrapper to h.safeTriton, add profile comment 2015-09-29 14:45:34 -04:00
Dave Eddy
1eefcccf38 more integration tests 2015-09-29 12:53:34 -04:00
Trent Mick
a01c7eede6 'triton profile -a' fix when invalid keyId 2015-09-28 12:27:58 -07:00
Trent Mick
daecb2979b export 'promptField', broken by refactor before commit 2015-09-28 12:24:50 -07:00
Trent Mick
aeebcf19f0 'triton profile -a' from stdin, JSON file or interactively 2015-09-28 12:20:21 -07:00
Trent Mick
a5ee77a48e profile(s) in cli-subcommands test 2015-09-25 14:16:16 -07:00
Trent Mick
1759b29f2f Add test/ to make check, and fix that. 2015-09-25 12:24:37 -07:00
Trent Mick
bf21ac467a 'triton profile{,s}' all except 'triton profile -a' 2015-09-25 12:19:29 -07:00
Dave Eddy
403e4bd204 opts.skip for destructive stuff 2015-09-25 13:45:16 -04:00
Dave Eddy
2eeb68cba5 document destructiveAllowed, use TRITON_* vars for tests 2015-09-25 13:24:12 -04:00
Trent Mick
f38bfb68f1 should support TRITON_KEY_ID as well 2015-09-25 10:22:58 -07:00
Dave Eddy
7169b06772 destructive => destructiveAllowed 2015-09-25 13:13:39 -04:00
Dave Eddy
e5c5f2d54c use env profile for integration tests 2015-09-25 13:10:39 -04:00
Dave Eddy
04c7b638d7 key_id => keyId 2015-09-25 13:08:00 -04:00
Dave Eddy
4bbb43fcc9 foundation for integration tests 2015-09-24 17:48:26 -04:00
Trent Mick
b238fcf52f improve on a DEPTH_ZERO_SELF_SIGNED_CERT error
from:
    triton account: error: DEPTH_ZERO_SELF_SIGNED_CERT
to this:
    triton account: error (SelfSignedCert): could not access CloudAPI https://10.88.88.3 because it uses a self-signed TLS certificate and your current profile is not configured for insecure access: DEPTH_ZERO_SELF_SIGNED_CERT
2015-09-23 21:10:52 -07:00
Trent Mick
ee07395eae joyent/node-triton#30 triton commands blow up obtusely if getting HTML content back from cloudapi endpoints
Fixes #30
2015-09-23 12:32:09 -07:00
Trent Mick
818a6b0afe no bigspinner by default: use '-ww' for a spinner, '-www' bigger, '-wwww' max 2015-09-23 09:30:06 -07:00
Dave Eddy
289d9389a4 bump tabula, fixes #21 2015-09-23 12:25:48 -04:00
Dave Eddy
6cc9fa3e70 integration tests for all sub commands usage 2015-09-22 13:55:42 -04:00
Dave Eddy
ee9f897f22 filter for name and version if supplied 2015-09-21 18:57:53 -04:00
Dave Eddy
46927aeed7 integration tests updates
- support Array or String when using execPlus
- pass SSH_AUTH_SOCK to support ssh-agent signing
- use current node binary with process.execPath
- config.insecure defaults to false if undefined
2015-09-21 18:48:59 -04:00
Dave Eddy
a6d9bad267 filter image version on the server 2015-09-21 17:16:47 -04:00
Dave Eddy
aaeb58730b fix create UUID bug 2015-09-21 17:12:33 -04:00