Commit Graph

36 Commits

Author SHA1 Message Date
Marsell Kukuljevic
ea759565c7 clistyle: some account key UI fixes. 2016-01-05 23:14:42 +11:00
Trent Mick
88bbfdfba7 clistyle: networks should be hidden, no whoami 2016-01-04 22:57:24 -08:00
Trent Mick
13b525cca7 clistyle: 'triton network ...' 2016-01-04 21:53:52 -08:00
Trent Mick
d2c20a5161 clistyle: rest of 'triton instance ...' 2016-01-04 13:08:16 -08:00
Trent Mick
accf1f969e clistyle: Fix help output cli basic test for recent changes 2016-01-04 12:28:47 -08:00
Marsell Kukuljevic
fb80f734f6 clistyle: fix path problem with keys tests. 2016-01-05 07:15:38 +11:00
Trent Mick
83c6448202 clistyle: Some fixes to integration tests for 'triton inst' changes 2016-01-04 10:46:57 -08:00
Marsell Kukuljevic
96216c6e61 clistyle: add support for account keys, expand subcommand tests,
some trivial bug fixes.
2016-01-04 10:46:24 -08:00
Trent Mick
f4246b5faf clistyle: triton profile ... 2016-01-04 10:46:24 -08:00
Trent Mick
632d5a6568 style: triton img ... 2016-01-04 10:45:50 -08:00
Trent Mick
559162896f clistyle: triton pkg ... 2016-01-04 10:45:50 -08:00
Trent Mick
8f666b7aca joyent/node-triton#67 triton create should support assigning tags
Fixes #67.
2015-12-30 16:12:17 -08:00
Trent Mick
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
440d09f8b7 joyent/node-triton#59 triton create -m,--metadata etc. for adding metadata on instance creation 2015-12-07 11:28:59 -08:00
Trent Mick
6918fb93f7 joyent/node-triton#54 'triton rbac reset', 'triton [rbac] keys' default output changes, 'triton rbac apply' implicit usage of './rbac-user-keys' dir, drop shortIds for 'triton rbac ...' 2015-11-21 12:41:16 -08: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
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
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
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
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
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
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
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
Dave Eddy
6cc9fa3e70 integration tests for all sub commands usage 2015-09-22 13:55:42 -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
Trent Mick
58a7c9977b joyent/node-triton#4 triton networks/network to support shortId as well and to include fabric
flag
2015-09-02 00:03:17 -07:00
Trent Mick
333c47ae26 a start at a test framework 2015-09-01 00:31:00 -07:00