Commit Graph

85 Commits

Author SHA1 Message Date
Chris Burroughs
3a369e4bb8 joyent/node-triton#137 triton CLI tool fails in default usecase
Reviewed by: Chris Burroughs <chris.burroughs@joyent.com>
Approved by: Chris Burroughs <chris.burroughs@joyent.com>
2016-12-21 19:27:46 +00: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
Trent Mick
fabe0a0841 joyent/node-triton#113 error help for usage errors
This builds on cmdln 4.x's "errHelp" facilities.
2016-06-08 14:13:21 -07:00
Trent Mick
ad20360306 joyent/node-triton#120 triton -r,--role ROLE ... to be able to take up an RBAC role 2016-06-07 14:19:06 -07: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
8cd4dd80eb joyent/node-triton#46 Triton help for setting up and using Docker against a Triton DC
This implements all but step #4 (`triton docker ...`) in the proposal.
2016-03-18 16:51:22 -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
e3b5e6b016 joyent/node-triton#101 Bash completion for server-side data: instances, images, etc. 2016-03-09 09:22:33 -08: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
70c7bbd434 node-triton#90 triton CLI should summarize err.body.errors from CloudAPI 2016-02-12 11:09:55 -08:00
Trent Mick
54923c9ae3 Windows path fixes (should basically run on windows now)
Fixes #83.
2016-01-28 13:41:22 -08:00
Trent Mick
fb8aec6229 unhide 'triton completion' 2016-01-14 09:22:39 -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
Trent Mick
88bbfdfba7 clistyle: networks should be hidden, no whoami 2016-01-04 22:57:24 -08:00
Trent Mick
d2c20a5161 clistyle: rest of 'triton instance ...' 2016-01-04 13:08:16 -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
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
4576918909 joyent/node-triton#58: triton --act-as=ACCOUNT ... for operator accounts 2015-12-02 10:52:47 -08:00
Trent Mick
3cd4b0d735 'triton --accept-version VER ...' developer option 2015-11-25 11:04:44 -08:00
Trent Mick
4a46310a8d experimental 'triton env [PROFILE]' 2015-11-24 16:40:17 -08:00
Trent Mick
8a46d23268 joyent/node-triton#54 A start at RBAC support (still very early) 2015-11-03 15:40:59 -08:00
Trent Mick
d4ba912955 Ensure CLI printing of usage info on UsageError doesn't blow up on a help *function* 2015-11-03 14:39:37 -08:00
Trent Mick
5bf78491ff Fix bug with 'CLI.tritonapi' getter creating a TritonApi client multiple times. 2015-11-03 14:39:18 -08:00
Dave Eddy
08527b433c delete "rm" alias, fixes #44 2015-10-14 16:15:45 -04: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
e7109071de cloudapi and tritonapi exports should match 2015-09-29 18:13:34 -04:00
Trent Mick
bf21ac467a 'triton profile{,s}' all except 'triton profile -a' 2015-09-25 12:19:29 -07: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
e5c5f2d54c use env profile for integration tests 2015-09-25 13:10:39 -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
0c2ade98ba Fix "insecure":true in a profile
This was broken in commit 99d9113eae
2015-09-21 14:07:07 -07:00
Trent Mick
5ed72ea117 Fix 'make check' 2015-09-21 12:37:59 -07:00
Trent Mick
99d9113eae joyent/node-triton#28 profile opts (-i, -a, -k, -u) aren't being applied to profiles other than the env profile
Profile/CloudAPI top-level CLI options are now applied to the current
profile. Also clean up loading of the 'env' profile a bit so that
special casing of that is more hidden in "config.js".

Also add support for the TRITON_URL, TRITON_TLS_INSECURE and
TRITON_ACCOUNT envvars. (I didn't add TRITON_KEY_ID because a coming
change will do better than that.)

Fixes #28, #24.
2015-09-21 12:34:37 -07:00
Trent Mick
5e75bff3fe -p profile option should be hidden until complete 2015-09-09 16:14:34 -07:00
Trent Mick
d2e999916b joyent/node-triton#18 first cut of 'triton profiles' 2015-09-09 16:04:15 -07:00
Dave Eddy
bdc3ea6651 mpl and copyright 2015-09-04 14:12:20 -04:00
Dave Eddy
0fee17fda0 getting ready for OSS
- s/triton/tritonapi/
- s/Triton/TritonApi/
- s/CloudAPI/CloudApi/
2015-09-04 14:05:36 -04:00
Trent Mick
411659180f bash completion support 2015-09-04 00:09:19 -07:00
Dave Eddy
f3aad05fc9 use mkdirp to create cache directories 2015-09-03 18:12:08 -04:00
Trent Mick
4064b93c8e joyent/node-triton#5 show usage info on usage errors 2015-09-02 01:04:20 -07:00
Trent Mick
e145090c79 Fix handling of SDC_TESTING envvar (really really this time) 2015-08-31 12:31:06 -07:00
Trent Mick
1b2ed0758e Fix handling of SDC_TESTING envvar 2015-08-31 12:23:20 -07:00