Commit Graph

61 Commits

Author SHA1 Message Date
Trent Mick
afe1972b69 joyent/node-triton#163 "skipAffinityTests" option for test/config.json is not documented in test/config.json.sample
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Approved by: Julien Gilli <julien.gilli@joyent.com>
2017-01-12 11:41:45 -08:00
Chris Burroughs
ad7d608011 joyent/node-triton#108 support passphrase protected keys
Reviewed by: Trent Mick <trent.mick@joyent.com>
Approved by: Trent Mick <trent.mick@joyent.com>
2016-12-13 19:01:32 +00:00
Yang Yong
a2c83aab56 joyent/node-triton#64 support instance renaming
Reviewed by: Trent Mick <trentm@gmail.com>
Approved by: Trent Mick <trentm@gmail.com>
2016-11-24 16:47:32 +00:00
Trent Mick
a48d7629dd joyent/node-triton#111 want triton env --unset,-u option emit env to unset relevant envvars 2016-04-22 12:55:32 -07:00
Trent Mick
e068c7abcf joyent/node-triton#82 locality flag/property at creation (far/near as in sdc-createmachine)
a.k.a. "Affinity", `triton create -a,--affinity RULE ...`
2016-04-11 17:04:52 -07:00
Trent Mick
25e74f5c4e joyent/node-triton#46 Triton help for setting up and using Docker against a Triton DC (fix profile create test case) 2016-03-28 13:13:19 -07:00
Trent Mick
1e2b19c0e6 joyent/node-triton#103 triton ip <inst> to output the instance's primaryIp 2016-03-11 15:21:19 -08:00
Trent Mick
3824623404 PUBAPI-1266: Add instance disable-firewall/enable-firewall to node-triton (CR changes)
- Don't need confirmation/--force for undoable commands
- Drop duration from output message after wait. I don't feel the time
  for this should ever be long enough that the number is interesting
  enough to get top billing.
- If "shouldn't get here", then it should be an assert.
- Use '_' instead of '__' for unused options.
- Drop the res.instId hack. Instead use a partial faux instance
  in place where other endpoints return a machine object.
- Add 'tritoninstance' bash completion.
- Group together with 'fwrules' in 'triton inst' help output.
2016-03-11 11:24:44 -08:00
Marsell Kukuljevic
fb20159053 PUBAPI-1266 - add support for instance (en|dis)able-firewall. 2016-03-12 01:09:26 +11:00
Trent Mick
88c52d1610 node-triton#98 triton inst get ID fails obtusely on a destroyed instance 2016-03-02 00:05:06 -08:00
Marsell Kukuljevic
634350018a PUBAPI-1233/PUBAPI-1234 Add firewalls and snapshots to node-triton
triton fwrule ...
triton instance snapshot ...

Reviewed-By: Trent Mick (with some contributions)
2016-03-01 22:38:21 -08:00
Trent Mick
314a05b082 node-triton#95 Add test case for 'triton img create', changelog update 2016-02-15 10:03:08 -08:00
Trent Mick
4760defd05 joyent/node-triton#88: triton inst ... support for updating tags 2016-02-11 09:46:43 -08:00
Trent Mick
edb28b6791 node-triton#86 "triton profiles" should not require a current profile 2016-02-02 22:03:01 -08:00
Trent Mick
72bb22f07d fix test error if CNS is enabled in the DC 2016-01-25 23:36:05 -08:00
Trent Mick
8d235b8e28 'triton image create' et al
Fixes #76: `triton image create ...` and `triton image wait ...`
Fixes #72: want `triton image` to still return image details even when it is not in 'active' state
2016-01-19 12:30:46 -08:00
Trent Mick
5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -08:00
Marsell Kukuljevic
09954b3f55 clistyle: some more tritonapi tests. 2016-01-14 09:15:58 +11:00
Trent Mick
3f427adff1 clistyle: updated bash completion (much improved, fixes limitation that subsubcmds weren't supported) 2016-01-09 16:55:12 -08:00
Trent Mick
922ca13816 clistyle: Much improved bash completions (importantly for the clistyle changes, it supports subsubcommands) 2016-01-08 11:08:07 -08:00
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
Trent Mick
e21635eaa3 clistyle: part of 'triton instance ...' 2016-01-04 10:46:56 -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
adb4c851b9 joyent/node-triton#68 Support specifying networks at instance create time 2015-12-31 09:55:31 -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