Commit Graph

504 Commits

Author SHA1 Message Date
Kris Shannon
bcf55f0a63 node-triton#94 Protect against cache lookup returning null
If the cache file does not exist _cacheGetJson will not pass any value to the callback.

In the getImage function the callback passed to _cacheGetJson assumes if there was no error value then the second argument must be an array.

Add some logic to guard against null values before iterating over the array.
2016-02-15 10:09:04 -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
Kris Shannon
6703363934 node-triton#95 Patch missing rename from 4760defd05
The fix for joyent/node-triton#88 renamed the metadataandtags
function 'tagsFromOpts' to 'tagsFromCreateOpts' but didn't
rename all of it's uses.
2016-02-15 09:28:44 -08:00
Trent Mick
6397c8bade lovely time savings running tests in parallel via 'prove'. Thanks Perl land! 2016-02-12 15:04:41 -08:00
Trent Mick
c8f6c05bf4 bumpver for subsequent work 2016-02-12 11:17:36 -08:00
Trent Mick
3bc04b4c77 4.5.1 2016-02-12 11:17:07 -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
7f24f0235a cutarelease: add date to release tag comment 2016-02-11 21:33:39 -08:00
Trent Mick
cf9258aab7 bumpver for subsequent work 2016-02-11 09:57:00 -08:00
Trent Mick
d7bf3eced0 4.5.0 2016-02-11 09:56:55 -08:00
Trent Mick
ccef25767b node-triton#88 changelog update, bump minor ver 2016-02-11 09:56:32 -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
5b6980e490 bumpver for subsequent work 2016-02-10 14:45:53 -08:00
Trent Mick
fbee966b01 4.4.4 2016-02-10 14:45:34 -08:00
Trent Mick
c785a430c6 node-triton#90 Update sshpk and smartdc-auth to attempt to deal with multiple package inter-deps 2016-02-10 14:36:45 -08:00
Trent Mick
da9e80d94e Don't state that 'triton inst list' can filter by tags, it can't yet. That is #74. 2016-02-03 11:57:07 -08:00
Trent Mick
d89f03083e bumpver for subsequent work 2016-02-02 22:03:47 -08:00
Trent Mick
d00d468f51 4.4.3 2016-02-02 22:03:37 -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
e5c666a509 bumpver for subsequent work 2016-02-02 11:06:05 -08:00
Trent Mick
67c48e0018 4.4.2 2016-02-02 11:05:50 -08:00
Trent Mick
9b6527a5d0 example script using TritonApi to list instances 2016-02-02 10:48:47 -08:00
Trent Mick
59b804fe6c support triton.createClient(...) without requiring a configDir 2016-02-02 10:47:34 -08:00
Trent Mick
e91f8f28da bumpver for subsequent work 2016-01-28 13:45:26 -08:00
Trent Mick
bd3f4068c5 4.4.1 2016-01-28 13:45:16 -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
666b541e42 bumpver for subsequent work 2016-01-25 23:48:21 -08:00
Trent Mick
839d7bfc40 4.4.0 2016-01-25 23:48:10 -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
810f0add56 node-triton#78 'triton image delete IMAGE' 2016-01-25 23:23:36 -08:00
Trent Mick
879e86efa3 node-triton#79 triton instance get NAME doesn't have dns_names CNS field 2016-01-25 16:12:14 -08:00
Trent Mick
b81b9b0e2d PUBAPI-1227: document the inconsistency that ListMachines shows *docker* instances, but ListImages does NOT show docker images 2016-01-25 13:26:57 -08:00
Trent Mick
2655a3a14e bumpver for subsequent work 2016-01-19 14:45:08 -08:00
Trent Mick
59e96a13a4 4.3.1 2016-01-19 14:44:56 -08:00
Trent Mick
77efb2a7a2 triton create error in v4.3.0
Fixes #77
2016-01-19 14:44:30 -08:00
Trent Mick
f062d6f206 bumpver for subsequent work 2016-01-19 12:32:37 -08:00
Trent Mick
aa84645c69 4.3.0 2016-01-19 12:32:28 -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
d199ed8503 bumpver for subsequent work 2016-01-18 11:58:59 -08:00
Trent Mick
4a64e8cec4 4.2.0 2016-01-18 11:58:47 -08:00
Trent Mick
989a43f367 bash completion for 'triton account update <TAB>' 2016-01-18 11:58:01 -08:00
Trent Mick
5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -08:00
Trent Mick
6fe9de3adf bumpver for subsequent work 2016-01-14 12:19:54 -08:00
Trent Mick
f21c65ecf3 4.1.0 2016-01-14 12:19:29 -08:00
Trent Mick
80fc6b2b4e changelog style tweak 2016-01-14 12:18:59 -08:00
Trent Mick
fb8aec6229 unhide 'triton completion' 2016-01-14 09:22:39 -08:00
Trent Mick
01dc55e93f joyent/node-triton#73 triton instance list --credentials to include "metadata.credentials" in instance listing 2016-01-14 09:22:39 -08:00
Marsell Kukuljevic
09954b3f55 clistyle: some more tritonapi tests. 2016-01-14 09:15:58 +11:00
Trent Mick
b8d7194ee8 fix markdown rendering 2016-01-13 12:20:58 -08:00
Trent Mick
545d0a3a65 joyent/node-triton#35 More easily distinguish KVM and LX and Docker images and instances
Also support filtering insts on docker=true.
2016-01-13 12:18:05 -08:00