Commit Graph

2484 Commits

Author SHA1 Message Date
Paulo Castro
cdedc58ec1 Fix failing registry secrets authentication under certain conditions
('balena build' and 'balena deploy')

Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-08-19 16:41:59 +01:00
Resin CI
ed084edc48 v11.8.2 2019-08-19 18:29:03 +03:00
xginn8
b435a0e7ac
Merge pull request #1392 from balena-io/ssh-formatting
balena-ssh: add info about remote vs local connections
2019-08-19 17:25:30 +02:00
Matthew McGinn
731db63e78 balena-ssh: add info about remote vs local connections
small formatting fixups

Closes: https://github.com/balena-io/docs/issues/974
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-08-19 16:14:26 +02:00
Resin CI
2ee2bc8b02 v11.8.1 2019-08-16 09:51:01 +03:00
Lucian Buzzo
b4c99dc03a
Merge pull request #1398 from balena-io/oclif-args
Fix incorrect arguments passed to oclif bootstrap function
2019-08-16 07:49:09 +01:00
Lucian
730c09989d Fix incorrect arguments passed to oclif bootstrap function
Adds tests for existing oclif commands to avoid regressions

Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-15 18:26:42 +01:00
Resin CI
9e0733a143 v11.8.0 2019-08-13 11:40:19 +03:00
Lucian Buzzo
8dd1106a44
Merge pull request #1393 from balena-io/cli-tests
Implement full command testing, beginning with "balena version"
2019-08-13 09:38:32 +01:00
Lucian
4d389bb6cc Implement full command testing, beginning with "balena version"
This also modifies the core CLI to be fed command programatically, which
is useful for being able to do thing like mock endpoints with tools like
"nock", and provide an easier debugging experience.
The tests utilise a "runCommand" helper that intercepts and captures
stdout/stderr writes and returns them once the command has finished
running. At this point the test implementation can parse the
stdout/stderr logs and assess nock interceptions to determine if the
command ran correctly.
This change also homogenises debug messages to start with `[debug]`,
however this is not strictly enforced by linting rules.

Change-type: minor
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-12 14:50:41 +01:00
Resin CI
6d6b3cb1a3 v11.7.10 2019-08-12 16:38:49 +03:00
Lucian Buzzo
e84482fbbe
Merge pull request #1383 from balena-io/1380-env-rm
Improvements to the "env rm" command and oclif migration
2019-08-12 14:36:49 +01:00
Lucian
f1d9c29786 Fix bug where "env rm" fails silently if an additional arg is present
Fixes #1380

Argument parsing of "env rm" command was improved by migrating it to oclif

Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-12 13:47:31 +01:00
Lucian
34f4c1f6cc Exit with a warning if "env rm" id value is not an integer
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-09 15:12:30 +01:00
Resin CI
2390ddc02d v11.7.9 2019-08-09 17:08:09 +03:00
Lucian Buzzo
70561705e5
Merge pull request #1387 from balena-io/tests-3
Tests part 3: Convert tests to Typescript
2019-08-09 15:06:35 +01:00
Lucian
05d58d8248 Fix CI instability when building Typescript
The error appears to happen when symlinking typing files and manifests
on case sensitive file systems (like windows) with the error:
```
lib/actions-oclif/env/add.ts(73,16): error TS2742: The inferred type of 'flags' cannot be named without a reference to '../../../../../../../../../volumes/live/c64feead-f78e-4bd4-742d-ccd29aef53c4/volume/node_modules/@oclif/parser/lib/flags'. This is likely not portable. A type annotation is necessary.
lib/actions-oclif/version.ts(42,16): error TS2742: The inferred type of 'flags' cannot be named without a reference to '../../../../../../../../volumes/live/c64feead-f78e-4bd4-742d-ccd29aef53c4/volume/node_modules/@oclif/parser/lib/flags.js'. This is likely not portable. A type annotation is necessary.
```

This appears to be reported on the Typescript repo here https://github.com/microsoft/TypeScript/issues/29221
The suggested workaround is to explicitly set the type of the `flags` static
property.

Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-09 12:01:46 +01:00
Lucian
13610ef814 Convert test files to Typescript
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-08 16:50:50 +01:00
Resin CI
9c49890399 v11.7.8 2019-08-08 18:42:41 +03:00
Lucian Buzzo
b9884ec545
Merge pull request #1386 from balena-io/tests-2
Tests part 2: Decaffeinate existing test files
2019-08-08 16:40:35 +01:00
Lucian
ebd8f348ca Decaffeinate test files
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-08 13:53:00 +01:00
Resin CI
90c4cbf2ae v11.7.7 2019-08-08 15:45:41 +03:00
Lucian Buzzo
987e16cad0
Merge pull request #1385 from balena-io/tests
Tests part 1: Remove mochainon dependency and replace with direct testing dependencies
2019-08-08 13:44:04 +01:00
Lucian
15dfdc2229 Remove mochainon dependency and replace with direct testing dependencies
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-08 10:04:32 +01:00
Resin CI
35110e0610 v11.7.6 2019-08-07 12:31:08 +03:00
Lucian Buzzo
bf722f61c7
Merge pull request #1382 from balena-io/contributing-doc
Fix incorrect start command in contributing document
2019-08-07 10:29:14 +01:00
Lucian
08e8151b1f Fix incorrect start command in contributing document
Change-type: patch
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-07 09:18:00 +01:00
Resin CI
9977451b07 v11.7.5 2019-08-06 12:23:48 +03:00
CameronDiver
9f610a521e
Merge pull request #1369 from balena-io/headless-remote-builds
Support headless remote builds
2019-08-06 10:22:10 +01:00
Cameron Diver
67a4e88e44 Support headless remote builds
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-08-06 08:45:05 +01:00
Resin CI
f0bd2f197d v11.7.4 2019-08-02 00:28:38 +03:00
Gergely Imreh
5fe908bbbf
Merge pull request #1375 from balena-io/unzip2-dependency
Update unzip2 dependency
2019-08-01 22:27:09 +01:00
Gergely Imreh
f9fc8fd2e8
Update unzip2 dependency
That dependency has been updated upstream, but not published to npm,
thus we are pulling the latest (0.2.8) version from our own fork.
Fork is created temporarily.

Fixes: #1373
Change-type: patch
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-08-01 18:35:30 +01:00
Resin CI
9ea5198bda v11.7.3 2019-07-22 16:42:50 +03:00
Paulo Castro
35732515ac
Merge pull request #1362 from balena-io/mixpanel-args
Update mixpanel tracking
2019-07-22 14:41:23 +01:00
Paulo Castro
3ea905dc68 Update mixpanel tracking
Change-type: patch
2019-07-22 13:42:44 +01:00
Resin CI
062fadfa49 v11.7.2 2019-07-18 17:46:59 +03:00
Alexis Svinartchouk
58983670f1
Merge pull request #1354 from balena-io/update-balena-preload-8.2.1
Update balena-preload to ^8.2.1
2019-07-18 16:45:10 +02:00
Alexis Svinartchouk
18fadf5634 Update balena-preload to ^8.2.1
Change-type: patch
2019-07-18 16:21:33 +02:00
Resin CI
80917b7198 v11.7.1 2019-07-17 23:21:01 +03:00
xginn8
f21dc3e2f4
Merge pull request #1353 from balena-io/typos-gitter
chore: fix up small typos, remove gitter link
2019-07-17 21:17:32 +01:00
Matthew McGinn
d92e076829
chore: fix up small typos, remove gitter link
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-07-17 20:12:52 +01:00
Resin CI
cd491a7935 v11.7.0 2019-07-15 19:51:36 +03:00
Paulo Castro
90269525be
Merge pull request #1344 from balena-io/1164-local-secrets
Add build secrets and variables support for push/build/deploy to/on/via balena devices
2019-07-15 17:49:19 +01:00
Paulo Castro
225408c57d Add "build secrets" and "build variables" support for push/build/deploy
to/on/via balena devices

Change-type: minor
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-15 16:23:35 +01:00
Paulo Castro
8cfacc9cbc Fix truncated logs in local multicontainer image builds (balena build/deploy)
Resolves: #1346
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-15 16:19:41 +01:00
Resin CI
9a270539c6 v11.6.1 2019-07-15 18:17:55 +03:00
Paulo Castro
df22d42412
Merge pull request #1351 from balena-io/remove-beta-suffix
Remove BETA suffix from Windows and macOS installers, and update INSTALL.md
2019-07-15 16:15:49 +01:00
Paulo Castro
49a7eb30c0 Remove BETA suffix from Windows and macOS installers, and update INSTALL.md
Change-type: patch
Signed-off-by: Paulo Castro <paulo@balena.io>
2019-07-15 14:08:27 +01:00
Resin CI
e41ea6fb1a v11.6.0 2019-07-09 18:30:13 +03:00