Alexis Svinartchouk
5bf9dd3a9d
Update resin-preload to v6.0.0-beta10
2018-03-09 17:50:20 +00:00
Alexis Svinartchouk
b18a66f66b
Update resin-preload to v6.0.0-beta9
2018-03-09 17:02:44 +00:00
Akis Kesoglou
14a3f51b73
Add docker-compose-aware builds and deployments
...
Legacy behaviour is mostly retained. The most notable change in behaviour is that invoking `resin deploy` without options is now allowed (see help string how it behaves).
In this commit there are also the following notable changes:
- Deploy/Build are promoted to primary commands
- Extracts QEMU-related code to a new file
- Adds a utility file to retrieve the CLI version and its parts
- Adds a helper that can be used to manipulate display on capable clients
- Declares several new dependencies. Most are already indirectly installed via some dependency
Change-Type: minor
2018-03-07 14:48:05 +00:00
Akis Kesoglou
7fd31b6a64
Update YAML parser
...
New version is 3.10.0
2018-03-07 14:47:16 +00:00
Akis Kesoglou
299bc0db13
Update docker-toolbelt
...
New version is 3.1.0.
The updated version is not backwards compatible as it removes all *Async methods that are in wide use in the CLI. The workaround for now is to manually promisify the client and replace all `new Docker()` calls with a shared function that returns a promisified client.
2018-03-07 14:47:15 +00:00
Akis Kesoglou
4b9ccae442
Update bundle-resolve and docker-build to latest
...
This brings in maintainance improvements.
New versions are:
- resin-bundle-resolve: 0.5.1
- resin-docker-build: 0.6.2
2018-03-07 14:46:35 +00:00
Tim Perry
079ce552e3
*BREAKING*: Remove support for plugins entirely
...
There are very few plugins in real-world use, we're not actively working
on this at all, and the current approach won't work once we move to
standalone node-less binary installation anyway.
Change-Type: major
2018-03-07 14:46:35 +00:00
Alexis Svinartchouk
f698f561c9
Multicontainer preload: Update resin-preload to 6.0.0-beta4
...
Change-Type: minor
2018-03-07 14:46:35 +00:00
Alexis Svinartchouk
76a5cdc977
Require multicontainer SDK
...
* require('resin-sdk') => multicontainer SDK
* require('resin-sdk-preconfigured') => 6.15.0 SDK
* all 'resin-sdk' requires replaced with 'resin-sdk-preconfigured'
* resin-sdk-preconfigured TS typings are copy pasted from the current resin-sdk master
The idea is to progressively replace all 'resin-sdk-preconfigured'
requires with 'resin-sdk' (multicontainer sdk) and eventually remove
resin-sdk-preconfigured from package.json.
Change-Type: patch
2018-03-07 14:46:31 +00:00
resin-io-versionbot[bot]
ac7d51ad80
v6.13.5
2018-03-07 14:38:49 +00:00
resin-io-versionbot[bot]
a83d9a070c
v6.13.4
2018-02-22 18:23:29 +00:00
Gergely Imreh
7637377471
Fix issue where emulated builds broke Docker ENV
commands
...
Connects-to: #795
Change-type: patch
2018-02-22 18:12:17 +00:00
resin-io-versionbot[bot]
92534b9c82
v6.13.3
2018-02-20 21:30:39 +00:00
Tim Perry
c12360daa8
Tweak TS & add missing deps that may cause build failures in some envs
...
Connects-To: #765
Change-Type: patch
2018-02-20 20:26:18 +01:00
resin-io-versionbot[bot]
04adfde064
v6.13.2
2018-02-20 17:12:45 +00:00
resin-io-versionbot[bot]
55f8876bcc
v6.13.1
2018-02-07 11:59:58 +00:00
Tim Perry
9fb66186f0
Move to the correct coffeescript (no hyphen) dependency
...
Change-Type: patch
2018-02-07 11:20:49 +01:00
resin-io-versionbot[bot]
5131f722a7
v6.13.0
2018-02-06 11:34:29 +00:00
resin-io-versionbot[bot]
5c0ba5d06c
v6.12.9
2018-02-05 19:00:36 +00:00
Alexis Svinartchouk
d9532b6fa0
Switch back to upstream global-tunnel-ng
...
Connects-To: #780
Change-Type: patch
2018-02-05 15:55:26 +00:00
resin-io-versionbot[bot]
0e9b8e4140
v6.12.8
2018-02-03 15:50:09 +00:00
resin-io-versionbot[bot]
64c95e3811
v6.12.7
2018-01-30 17:29:59 +00:00
MoranF
33fd70291a
Add 'or mounted resinOS image'
...
Connects-To: #764
Change-Type: patch
2018-01-30 17:30:18 +01:00
resin-io-versionbot[bot]
3761ab9610
v6.12.6
2018-01-29 14:44:44 +00:00
resin-io-versionbot[bot]
77529ef3b1
v6.12.5
2018-01-11 10:16:56 +00:00
resin-io-versionbot[bot]
c94f7b10bd
v6.12.4
2018-01-10 09:48:26 +00:00
Tim Perry
83a76f7d6f
Start using Prettier
...
Change-Type: patch
2018-01-10 09:23:00 +01:00
Tim Perry
6c988241eb
Move capitanodoc into the automation folder
2018-01-10 08:41:19 +01:00
resin-io-versionbot[bot]
4b74e8ec70
v6.12.3
2018-01-09 21:00:55 +00:00
Tim Perry
6daed83d88
Lint TypeScript and CoffeeScript with resin-lint
...
Change-Type: patch
2018-01-09 17:14:49 +01:00
Tim Perry
f25442c036
Move documentation generation to TypeScript
...
Change-Type: patch
2018-01-09 17:14:49 +01:00
Tim Perry
ffffd447f2
Convert most of utils to TypeScript
...
Change-Type: patch
2018-01-09 17:14:48 +01:00
resin-io-versionbot[bot]
107a90395c
v6.12.2
2018-01-09 14:03:45 +00:00
resin-io-versionbot[bot]
eb945b3315
v6.12.1
2018-01-02 10:49:06 +00:00
resin-io-versionbot[bot]
15b877f005
v6.12.0
2017-12-19 08:37:19 +00:00
Andreas Fitzek
1b4dabd37c
Add ssh option for direct host OS access
...
Use the `--host` (short `-H`) option in the ssh command to access
the host OS of the device.
Direct host OS is enabled for devices with Resin OS >= 2.7.5.
Change-Type: minor
Connects-To: #736
Signed-off-by: Andreas Fitzek <andreas@resin.io>
2017-12-18 17:03:16 +01:00
resin-io-versionbot[bot]
1a15fdd2f0
v6.11.0
2017-12-18 14:48:09 +00:00
Tim Perry
2c66280b3f
Build standalone zips into a separate folder
2017-12-18 15:03:17 +01:00
Tim Perry
778c39d947
Ensure MDNS service definitions are included in standalone binaries
2017-12-18 14:55:07 +01:00
Tim Perry
afbb9474b7
Use proper strict settings for automation TS
2017-12-18 14:55:07 +01:00
Tim Perry
0acb4f8cb1
Fix docs generation when building on windows
...
Change-Type: patch
2017-12-18 14:55:07 +01:00
Tim Perry
2c9b80c177
Add manual script to deploy built CLI binaries to GitHub
2017-12-18 14:55:07 +01:00
Tim Perry
e8c19df8c9
Set up a script to automate builds, and support native extensions
2017-12-18 14:55:07 +01:00
Tim Perry
7681003512
Package the CLI into a standalone runnable binary
...
This has no native modules yet, which means it works on Linux,
but ignoring any ext4 image data. Drivelist will fail for
some windows operations, but most other things should work.
This is only building a folder with a runnable binary, this needs
packaging before it can be distributable.
Change-Type: minor
2017-12-18 14:55:07 +01:00
Tim Perry
dba8db19cb
Move from open to opn
...
Change-Type: patch
2017-12-18 14:55:07 +01:00
resin-io-versionbot[bot]
f2840c5ca4
v6.10.3
2017-12-15 17:48:25 +00:00
resin-io-versionbot[bot]
e4432d1a90
v6.10.2
2017-11-27 17:25:41 +00:00
Tim Perry
bd6cb04a2b
Replace underscore.string usage with lodash
2017-11-27 12:03:04 +02:00
Tim Perry
001c8f9601
Inline the entire resin-cli-auth module
...
This is part of a general push to demodularize any code that isn't
realistically reusable outside resin-cli, to make the codebase easier to
manage and understand. Once this is done, we'll deprecate the original
module itself.
Change-Type: patch
2017-11-27 12:02:57 +02:00
resin-io-versionbot[bot]
6fbe602b77
v6.10.1
2017-11-27 09:32:58 +00:00
Tim Perry
dc549a665b
Update to latest latest typescript
2017-11-27 11:25:20 +02:00
Tim Perry
46ca62db3e
Include lib/ in published package too, to enable sourcemaps
2017-11-23 19:29:07 +02:00
Tim Perry
eb68bb1a1a
Set up TypeScript compilation, and make a small start on converting the CLI
...
Change-Type: patch
2017-11-23 19:28:15 +02:00
Tim Perry
93d1e3a4a1
Rename gulp build step to coffee
2017-11-23 19:24:03 +02:00
Tim Perry
ff2ee59dae
Don't commit raw JS build output
...
This lets us avoid lots of potential conflicts, issues, and confusion,
and keeps reviews simpler and cleaner.
Change-Type: patch
2017-11-23 19:23:59 +02:00
resin-io-versionbot[bot]
67fcc6791c
v6.10.0
2017-11-17 10:43:54 +00:00
resin-io-versionbot[bot]
656656bec1
v6.9.0
2017-11-16 14:09:40 +00:00
resin-io-versionbot[bot]
2db6cdd063
v6.8.3
2017-11-16 13:55:44 +00:00
resin-io-versionbot[bot]
3763bf0712
v6.8.2
2017-11-14 10:27:31 +00:00
resin-io-versionbot[bot]
727a245715
v6.8.1
2017-11-09 15:16:17 +00:00
resin-io-versionbot[bot]
ebd1d7e370
v6.8.0
2017-10-27 14:32:34 +00:00
Alexis Svinartchouk
eef192ff68
Allow preloading jetson-tx2 images, improve flasher images detection and remove the --dont-detect-flasher-type-images option.
...
* update resin-preload to 5.0.0
Connects-To: #705
Change-Type: minor
2017-10-27 12:14:27 +02:00
resin-io-versionbot[bot]
68e31468cc
v6.7.4
2017-10-25 11:52:10 +00:00
resin-io-versionbot[bot]
737e961979
v6.7.3
2017-10-25 10:17:42 +00:00
Alexis Svinartchouk
3bca36c277
Allow specifying --commit=latest
for resin preload
...
Connects-To: #700
Depends-On: https://github.com/resin-io/resin-preload/pull/137
Change-Type: patch
2017-10-25 12:09:08 +02:00
resin-io-versionbot[bot]
266870018a
v6.7.2
2017-10-24 17:57:39 +00:00
Tim Perry
80bc044415
Make update-notifier more resilient and ensure it obeys NO_UPDATE_NOTIFIER, by updating it
...
Connects-To: #698
Change-Type: patch
2017-10-24 19:31:16 +02:00
resin-io-versionbot[bot]
385e2c7f7a
v6.7.1
2017-10-24 14:56:48 +00:00
resin-io-versionbot[bot]
3f692ecbb0
v6.7.0
2017-10-18 18:18:01 +00:00
Tim Perry
a8f1d16b26
Make resin os configure
safe with device keys for all ResinOS versions
2017-10-18 13:43:16 +02:00
Pagan Gazzard
3fd4f328ab
Added a device api key parameter to the os configure
command.
...
Change-Type: minor
2017-10-18 13:43:16 +02:00
Pagan Gazzard
97eaf174ec
Added a --device-api-key
option to the config generate
command.
...
Change-Type: minor
2017-10-18 13:43:16 +02:00
Pagan Gazzard
2ef56a9a3f
Added a --device-api-key
option to the device register
command.
...
Change-Type: minor
2017-10-18 13:43:16 +02:00
resin-io-versionbot[bot]
ce70102378
v6.6.13
2017-10-18 10:41:28 +00:00
Tim Perry
0e4c6c459c
Fix issue where os download
would always download prod images
...
This also adds support for submodules using resin-sdk shared options
rather than resin-sdk-preconfigured.
Change-Type: patch
Connects-To: #688
2017-10-17 21:20:35 +02:00
resin-io-versionbot[bot]
e9c7e0e924
v6.6.12
2017-10-16 18:51:54 +00:00
Alexis Svinartchouk
119fa78927
Update resin-preload to 4.0.2 to support preloading Edison images
...
Change-Type: patch
2017-10-16 19:27:12 +02:00
resin-io-versionbot[bot]
8af392029f
v6.6.11
2017-10-13 14:26:20 +00:00
resin-io-versionbot[bot]
19b0ec7f8b
v6.6.10
2017-10-09 10:12:22 +00:00
resin-io-versionbot[bot]
43a7e3ddf4
v6.6.9
2017-10-06 09:19:54 +00:00
resin-io-versionbot[bot]
f7c0258145
v6.6.8
2017-10-06 07:42:39 +00:00
resin-io-versionbot[bot]
989877d541
v6.6.7
2017-09-22 17:14:37 +00:00
Tim Perry
9aef632afd
Update to resin-sync, which fixes local push on windows
...
Change-Type: patch
2017-09-22 19:17:28 +03:00
Tim Perry
62035fac83
Move to using the catch-uncommitted npm package
2017-09-15 14:36:33 +02:00
resin-io-versionbot[bot]
e431083e84
v6.6.6
2017-09-11 14:45:51 +00:00
resin-io-versionbot[bot]
5a620d6c9e
v6.6.5
2017-08-31 12:28:28 +00:00
resin-io-versionbot[bot]
8b9e78d645
v6.6.4
2017-08-31 12:18:41 +00:00
resin-io-versionbot[bot]
3052100973
v6.6.3
2017-08-31 11:44:39 +00:00
resin-io-versionbot[bot]
5474666f9e
v6.6.2
2017-08-31 07:22:43 +00:00
Tim Perry
2bbd45e867
Use DOCKER_HOST from env if possible, and no connection options are available
...
Connects-to: #625
Change-Type: patch
2017-08-31 15:18:32 +08:00
resin-io-versionbot[bot]
710a938b3f
v6.6.1
2017-08-28 09:34:59 +00:00
Alexis Svinartchouk
be7c1d278e
Update resin-preload to 3.1.4
...
Connects-To: #649
Change-Type: patch
2017-08-28 10:49:08 +02:00
resin-io-versionbot[bot]
a5128cd49e
v6.6.0
2017-08-28 08:42:44 +00:00
resin-io-versionbot[bot]
0158d1da48
v6.5.3
2017-08-24 12:25:11 +00:00
Tim Perry
4cdf3acf42
v6.5.2
2017-08-22 19:22:05 +02:00
Alexis Svinartchouk
b07a394592
Add progress bars and spinners for resin preload.
...
Connects-To: #628
Change-Type: minor
2017-08-22 18:42:20 +02:00
Alexis Svinartchouk
c6c2f0bedc
Don't try preloading the same build twice in an image.
...
Connects to #626
Change-Type: patch
2017-08-21 19:24:30 +02:00
Tim Perry
74d6cfb8d2
v6.5.1
2017-08-21 11:33:12 +02:00
Tim Perry
9beb6de7d8
Move to prepublishOnly to speed up npm install a little
2017-08-18 15:56:35 +02:00
Tim Perry
74743745c4
v6.5.0
2017-08-18 15:45:45 +02:00
Tim Perry
224dfce4a8
Merge pull request #624 from resin-io/remove-babel
...
Remove unused babel dependency
2017-08-17 11:40:15 +02:00
Tim Perry
f8f1f52662
Remove unused babel dependency
2017-08-16 19:41:56 +02:00
Tim Perry
e204707ee0
Upgrade to lodash v4
2017-08-16 18:58:46 +02:00
Tim Perry
340b2d5572
Update npm package description
2017-08-16 11:47:43 +02:00
Cameron Diver
dc1b3c3239
Allow the looking up of applications with the owner
...
change-type: minor
Connects-to: #594
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-08-14 17:00:33 +01:00
Alexis Svinartchouk
4665a72baf
Use forked global-scoket-ng that doesn't proxy connection to socket files.
...
Connects to #618
Change-Type: patch
2017-08-11 17:02:17 +02:00
Alexis Svinartchouk
22b3c39b2b
Integrate resin-preload
...
* split docker connection options from lib.utils.docker.appendOptions
Connects to #609
Connects to https://github.com/resin-io/resin-preload/pull/81
Change-Type: minor
2017-08-11 15:43:07 +02:00
Tim Perry
30cca93283
v6.4.0
2017-08-11 13:31:53 +02:00
Eugene Mirotin
1b86741fa2
v6.3.1
2017-08-08 11:37:22 +03:00
Eugene Mirotin
6cca43a09e
v6.3.0
2017-08-03 18:05:27 +03:00
Eugene Mirotin
4329857a16
update resin-sync
2017-08-03 18:01:45 +03:00
Eugene Mirotin
d803cfab3a
v6.2.0
2017-07-27 14:07:05 +03:00
Eugene Mirotin
22e0b4b9dc
Support the new OS with resin-sample.ignore connection file
2017-07-27 14:01:49 +03:00
Tim Perry
759baf3eda
v6.1.1
2017-07-18 18:09:32 +02:00
Tim Perry
64b6549fde
v6.1.0
2017-06-30 20:49:08 +02:00
Tim Perry
4aadfe9326
Upgrade resin-sync to fix node 8 bug
...
Connects-To: #543
Change-Type: patch
2017-06-30 19:49:35 +02:00
Kostas Lekkas
d93b82a269
Bump resin-sync@8.0.0
...
- resin sync: do not explicitly disable ControlMaster SSH option
- resin sync: whitelist collaborators
fixes #422
change-type: minor
2017-06-29 11:56:01 +03:00
Tim Perry
8d3987fc70
Fix issue where emulated builds broke Docker ARG commands
2017-06-27 15:06:06 +02:00
Tim Perry
4fa8d86f02
v6.0.0
2017-06-26 13:38:22 +02:00
Tim Perry
410390a9ae
Remove Buffer polyfill, require Node v6+, and print warnings in older versions
2017-06-22 18:59:50 +02:00
Tim Perry
11079caf26
v5.11.1
2017-06-22 18:19:53 +02:00
Tim Perry
2875bd672e
Add a polyfill to fix local configure
in older (<6) Node versions
2017-06-22 13:38:38 +02:00
Eugene Mirotin
378f894da3
v5.11.0
2017-06-19 01:16:04 +03:00
Eugene Mirotin
c891d690ec
update lockfile
2017-06-19 01:14:08 +03:00
Eugene Mirotin
e8b44d7250
Forced update to the newest resin-sdk
2017-06-15 16:40:46 +03:00
Eugene Mirotin
9fb5b52069
update dependencies
2017-06-15 16:39:55 +03:00
Tim Perry
df3c5ca07f
Gzip while streaming, rather than gzipping the buffer up front
...
Connects-To: #549
2017-06-15 12:01:22 +02:00
Cameron Diver
f2862f7fe2
Add emulated build option to resin build
...
This commit adds the ability to run a Docker build for an architecture
which is not the host architecture, using qemu-linux-user. Currently
this is only supported for linux.
Added:
* Installation of qemu which supports propagated execve flags
* Copying of qemu binary into the build context
* Transposing the given Dockerfile to use the qemu binary
* Intercepting of the build stream, so the output looks *almost* exactly
the same.
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-06-14 12:06:03 +01:00
Eugene Mirotin
5ea263ef2e
Add package-lock.json
2017-06-08 13:52:47 +03:00
Tim Perry
31419b399e
v5.10.2
2017-05-31 13:08:04 +01:00
Tim Perry
e5ed6fab85
v5.10.1
2017-05-22 21:59:12 +02:00
Tim Perry
5b651c7821
v5.10.0
2017-05-22 15:44:28 +02:00
Eugene Mirotin
4b5240d8cd
check for proxytunnel presence
2017-05-19 02:10:14 +03:00
Eugene Mirotin
b88f7a993c
escape params
2017-05-19 01:25:01 +03:00
Eugene Mirotin
880fb43fd9
some fixes
2017-05-18 15:12:52 +03:00
Eugene Mirotin
fa71df7c70
use upstream dependency
2017-05-12 18:09:43 +03:00
Eugene Mirotin
bc79832e1d
resin ssh proxy support
2017-05-12 18:09:43 +03:00
Cameron Diver
d249ac168a
Fix the not-enough-unicorns bug
...
Add successful build indicator in the form of a unicorn.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-04 13:18:25 +01:00
Eugene Mirotin
afafa22694
v5.9.1
2017-05-01 14:19:21 +03:00
Eugene Mirotin
2df4422748
v5.9.0
2017-05-01 14:14:37 +03:00
Eugene Mirotin
8866f47805
proxy support
2017-05-01 14:00:50 +03:00
Eugene Mirotin
1d8382e91d
v5.8.1
2017-04-27 16:24:57 +03:00
Cameron Diver
04c2333a54
v5.8.0
2017-04-26 12:20:30 +01:00
Cameron Diver
f50ae65560
Add cloud-builder builder output parity to build and deploy
...
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-25 13:13:11 +01:00
Cameron Diver
d3772386bf
Add ability to build and deploy image locally using resin-cli
...
Using `resin build` a user can now build an image on their own docker
daemon. The daemon can be accessed via a local socket, a remote host and
a remote host over a TLS socket. Project type resolution is supported.
Nocache and tagging of images is also supported.
Using `resin deploy` a user can now deploy an image to their fleet. The
image can either be built by `resin-cli`, plain Docker, or from a remote
source.
Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-04-23 14:31:45 +01:00
Eugene Mirotin
225d3acf9e
log unhandled exceptions
2017-04-21 13:10:30 +03:00
Eugene Mirotin
75d10286ad
v5.7.2
2017-04-18 12:15:11 +03:00
Eugene Mirotin
380a94f0f8
update to modules that have native node v4 support
2017-04-14 14:48:19 +03:00
Tim Perry
0cce2a7ab7
Move to a consistent resin-token by upgrading to new v6 SDK and resin-cli-auth
2017-04-07 21:26:56 +02:00
Tim Perry
965aa7e4d4
v5.7.1
2017-04-03 16:07:32 +02:00