Commit Graph

236 Commits

Author SHA1 Message Date
Tim Perry
2875bd672e Add a polyfill to fix local configure in older (<6) Node versions 2017-06-22 13:38:38 +02:00
Cameron Diver
5000febf72
Read ca files and convert to string before passing to the docker daemon
Before this commit, the docker daemon would recieve the filename of the
.pem files, which would be interpreted as the body and would fail. This
commit ensures that the actual body of the pem files are sent to the
daemon.

Change-type: patch
Connects-to: #562
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-06-21 11:11:24 +01:00
Eugene Mirotin
378f894da3 v5.11.0 2017-06-19 01:16:04 +03:00
Tim Perry
8efaec63ff Merge pull request #559 from resin-io/558-absolute-qemu
Make emulated builds reliable in the presence for WORKDIR comands
2017-06-15 19:41:52 +02:00
Tim Perry
b756f2a597 Make emulated builds reliable in the presence for WORKDIR comands
Connects-To: #558
Change-Type: patch
2017-06-15 16:36:44 +02:00
Eugene Mirotin
4d935d62fc improve wording 2017-06-15 16:42:46 +03:00
Eugene Mirotin
e8b44d7250 Forced update to the newest resin-sdk 2017-06-15 16:40:46 +03:00
Eugene Mirotin
97480d3aa4 Improve the supported device types listing 2017-06-15 16:39:55 +03:00
Eugene Mirotin
2e7e033bb9 allow prebuilding the device config and reusing it 2017-06-15 16:39:55 +03:00
Eugene Mirotin
ad940824a6 list detected drives with resin os available-drives 2017-06-15 16:39:55 +03:00
Eugene Mirotin
ed83514a2f allow passing --drive to resin device init 2017-06-15 16:39:55 +03:00
Eugene Mirotin
8d91a5732a tolerate the --yes param to device init 2017-06-15 16:39:55 +03:00
Eugene Mirotin
1cfe64e4a7 choose version during device init, and list versions with resin os versions 2017-06-15 16:39:55 +03:00
Tim Perry
c8d51d92e7 Show a clear message immediately as the deploy starts, if we're deploying an image.
Change-Type: patch
2017-06-15 12:36:40 +02:00
Tim Perry
e584dc43f7 Gzip images when uploading in resin deploy
Change-Type: minor
Connects-To: #549
2017-06-15 12:01:22 +02:00
Tim Perry
37ec11bf25 Ensure emulated builds use the correct relative path to qemu
Change-Type: patch
Connects-To: #553
2017-06-14 20:50:24 +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
4ab67ed71d changelog 2017-06-08 13:53:41 +03:00
Tim Perry
31419b399e
v5.10.2 2017-05-31 13:08:04 +01:00
Gergely Imreh
974be5cc13
resin build: fix mismatch in command line argument signature
The command line arg was taking `devicetype`, but the rest of the code
uses `deviceType`. Thus it was impossible to specify a device type
in practice to build a `Dockerfile.template`.

Change-type: patch
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
2017-05-30 10:34:32 +01:00
Cameron Diver
abc183a729
Change update check interval to once a day
This gives the user enough notice to stay well updated, but won't spam
them if they're using resin-cli frequently.

Connects-to: #485
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-23 17:29:23 -07:00
Tim Perry
e5ed6fab85
v5.10.1 2017-05-22 21:59:12 +02:00
Tim Perry
78ab47b584
Fix breaking bug in resin local ssh 2017-05-22 20:49:34 +02:00
Tim Perry
5b651c7821
v5.10.0 2017-05-22 15:44:28 +02:00
Eugene Mirotin
4d18e92686 changelog 2017-05-20 00:20:22 +03:00
Tim Perry
6e034acf23
Include full command line arguments in Sentry errors, to help us debug them 2017-05-12 11:48:43 +02:00
Akis Kesoglou
66876a2c85 Add ability to specify built-time variables for local build
Change-Type: patch
2017-05-11 14:14:43 +03:00
Akis Kesoglou
172fa37bd4 Added CHANGELOG entry 2017-05-10 23:06:35 +03:00
Cameron Diver
404348f92e
Highlight cache usage in resin build
This commit will highlight the usage of the cache when doing a docker
build via `resin build`, which not only helps the user understand what
the build is doing, but also achieves more parity with the cloud
builder.

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-04 14:09:23 +01: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
Cameron Diver
3ff5880ae3
Allow resin-cli deploy to also upload build logs if present
If build is ran through `resin deploy`, then logs will be stored and
uploaded to the database, where the dashboard can display them

Change-type: minor
Signed-off-by: Cameron Diver <cameron@resin.io>
2017-05-04 13:11:50 +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
1d8382e91d v5.8.1 2017-04-27 16:24:57 +03:00
Eugene Mirotin
3df30c8b5a fix ssh proxy URL retrieval 2017-04-27 16:20:32 +03:00
Cameron Diver
04c2333a54
v5.8.0 2017-04-26 12:20:30 +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
Tim Perry
63e1313f44
Handle non-semver OS versions 2017-04-03 15:36:04 +02:00
Eugene Mirotin
96a7a24738 v5.7.0 2017-03-28 14:43:31 +03:00
Eugene Mirotin
857c5204b9 v5.6.1 2017-03-23 15:52:06 +03:00
Eugene Mirotin
8149172eb0 changelog 2017-03-23 15:32:06 +03:00
Tim Perry
88d8112402
Add sentry error tracking 2017-03-23 12:59:42 +01:00
Eugene Mirotin
d90874dbef v5.6.0 2017-03-23 01:36:08 +03:00
Kostas Lekkas
9f3108c5e7
5.5.0 2017-03-10 18:19:45 +00:00
Kostas Lekkas
2125cf9649
5.4.0 2017-03-09 23:56:10 +00:00
Kostas Lekkas
eea9a2f723
5.3.0 2017-03-03 18:14:48 +02:00
Tim Perry
b629ee6164
Move to preconfigured resin sdk 2017-01-25 19:33:43 +01:00
Kostas Lekkas
f9a4f8c375 v5.2.4 2017-01-18 19:14:52 +02:00
Juan Cruz Viotti
49664b815d v5.2.3 2017-01-04 13:54:09 -04:00
Juan Cruz Viotti
e8183d4031 v5.2.2 2016-11-01 14:38:55 -04:00
Juan Cruz Viotti
e013986dba v5.2.1 2016-10-28 12:17:25 -04:00
Juan Cruz Viotti
c9919a90a8 v5.2.0 2016-10-27 17:47:43 -04:00
Juan Cruz Viotti
ce026ea387 v5.1.0 2016-09-25 19:55:55 -04:00
Kostas Lekkas
7953f6f690 5.0.0 2016-09-15 19:45:23 +03:00
Juan Cruz Viotti
7d606568f6 v4.5.0 2016-09-14 11:09:43 -07:00
Juan Cruz Viotti
2088cbe896 v4.4.0 2016-08-11 10:35:19 -04:00
Juan Cruz Viotti
5f8c261288 v4.3.0 2016-08-11 10:21:41 -04:00
Juan Cruz Viotti
aeba64b1ee v4.2.1 2016-07-26 13:04:21 -04:00
Juan Cruz Viotti
69c98f4afb v4.2.0 2016-06-22 16:19:31 -04:00
Juan Cruz Viotti
0d7d6de7cd v4.1.0 2016-06-22 09:46:18 -04:00
Juan Cruz Viotti
1c5945d3ae v4.0.3 2016-05-17 10:00:04 -04:00
Juan Cruz Viotti
38b97baf02 Add v4.0.2 entry to CHANGELOG
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-04-27 11:19:35 -04:00
Juan Cruz Viotti
8315bcb7db Improve CHANGELOG v4.0.0 entry prose
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-04-27 11:19:21 -04:00
Juan Cruz Viotti
44f80f7a39 v4.0.1 2016-04-26 12:40:20 -04:00
Kostas Lekkas
c2cd10f6a7 Update changelog 2016-04-26 16:16:02 +03:00
Juan Cruz Viotti
1c66efb4fa v3.0.2 2016-04-08 13:30:40 -04:00
Juan Cruz Viotti
6e3c2ef168 v3.0.1 2016-03-29 11:30:11 -04:00
Juan Cruz Viotti
4aa8362be9 v3.0.0 2016-03-28 09:29:31 -04:00
Juan Cruz Viotti
f295837840 v2.7.0 2016-03-07 08:34:32 -04:00
Juan Cruz Viotti
9870727e36 v2.6.2 2016-02-19 08:36:25 -04:00
Juan Cruz Viotti
3953b00e77 v2.6.1 2016-02-12 14:41:37 -04:00
Juan Cruz Viotti
de0649c980 v2.6.0 2016-01-21 15:59:52 -04:00
Juan Cruz Viotti
b0ab23dad4 v2.5.0 2015-12-11 21:30:02 -04:00
Juan Cruz Viotti
0f8d6a98e3 v2.4.0 2015-12-01 14:43:53 -04:00
Juan Cruz Viotti
65646d1206 v2.3.0 2015-11-20 13:01:58 -04:00
Juan Cruz Viotti
111ea44b40 Resin CLI v2.2.0 2015-11-12 08:33:51 -04:00
Juan Cruz Viotti
89c5bb3080 Resin CLI v2.1.0 2015-11-11 08:31:32 -04:00
Juan Cruz Viotti
9260c8dce2 Resin CLI v2.0.1 2015-10-26 08:46:16 -04:00
Juan Cruz Viotti
1cbd33679f Resin CLI v2.0.0 2015-10-26 08:08:20 -04:00
Juan Cruz Viotti
48d620f7cd Remove spaces between lists in CHANGELOG
GitHub displays the lists in a weird way otherwise.
2015-10-13 12:39:43 -04:00
Juan Cruz Viotti
fa7b104762 Resin CLI v1.1.0 2015-10-13 12:37:50 -04:00