Commit Graph

55 Commits

Author SHA1 Message Date
b77dba2046 Update Node to v20
This updates the supervisor runtime to latest Node LTS version. There
are no breaking changes related to this bump.

Change-type: patch
2024-03-06 12:29:54 -03:00
2f3e3d2e61 Improve test:compose and test:env commands
The commands now use docker-compose run instead of docker compose up
for simplicity and also to match what flowzone does.

Change-type: patch
2024-01-25 15:05:02 -03:00
c88d557aaf Update README
Add the new dependency on RUST, reorganize the documentation

Change-type: patch
2023-08-16 15:59:04 -04:00
c6d5ad7a89 Add test troubleshooting case that appears after upgrading system
The error may be something to the effect of `failed to add the host
(vethd6242de) <=> sandbox (veth8e47b1a) pair interfaces: operation not supported`.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-09-26 20:05:53 -07:00
82b4a7fe1e Modify npm scripts for Flowzone
Replace test with test:base to make sure integration tests don't run in CI.
Integration tests for the Supervisor fail when not run in container, leading
to an error-exit and cause the Flowzone CI job for Node to fail.

By returning true, the Flowzone Node CI job succeeds, and this is fine even if tests
fail because they will be caught in the Docker job anyway.

Also, combine original npm test script with test:node.

Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-09-14 12:22:14 -03:00
670b9ff563 Automate dbus lib installation depending on system
Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-09-14 12:22:14 -03:00
6d004f0994 Setup docker-compose.test
This allows to run integration tests during development and on CI
with the right dependencies. There are several changes that this
involves, but the gist of it is that a test environment is setup using
`docker-compose.test.yml`. This file is loaded by `resin-ci` during the
build, and ensures that integration tests are ran after setting up all
requirements. This commit also defines a test environment command that
can be setup using `npm run test:env` in order to run tests in a local
development machine.
2022-08-24 16:07:20 -04:00
c9667f81f0 Update README 2022-08-22 16:22:11 -04:00
515b6297a0 Remove legacy build methods
Removes dindctl and `tools/sync.js` in favor of balenaos-in-container
and SSH tunneling respectively.

Change-type: patch
2022-07-13 16:14:30 -04:00
6ab314f8c0 Add troubleshooting notice for macOS
When developing on macOS (Darwin) DBus may have to be installed.

Change-type: patch
Signed-off-by: fisehara <harald@balena.io>
2021-12-30 15:39:59 +00:00
277ab39dab Replace application --> fleet
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipul@balena.io>
2022-01-20 18:17:30 +05:30
1280ac3656 Include issues with downgrading versions in README
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2021-08-31 14:46:24 -04:00
5faf9d7686 Rename resin-supervisor to balena-supervisor
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
2021-05-06 17:05:25 +00:00
dc41a7fa51 Update setup section to reflect switch to balena-os org
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2021-04-01 07:48:59 +00:00
cda1e9788d Update npm entry in package.json to match the npm version we use
Change-type: patch
2020-11-30 17:23:55 +00:00
15c57a86b4 fix up "atleast" -> "at least"
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2020-07-29 11:55:22 -04:00
856e7cba2c Added more documentation to help new contributors start developing
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-11 14:46:13 -04:00
913418bb37 Remove unnecessary config.json keys
Change-type: patch
2020-05-08 12:56:42 +01:00
16509ba525 Added punctuation to sentence in README
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-04-30 14:52:30 -04:00
a8ac3d0bc9 Added explanation README for running specific tests
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-04-28 16:35:21 -04:00
f9d7951cc5 Added protocol to semver.org link
Closes: #1256
Change-type: patch
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-04-22 17:38:35 -04:00
a54b1ce048 📖 Update README with sync information
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 10:50:00 +01:00
05a566dcb5 Switch to balenaos-in-container
Change-type: patch
2019-11-12 13:50:05 +00:00
e0f875f07b docs: remove legacy waffle link & gitter chat from README
Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
2019-05-27 22:08:40 +08:00
8298487a88 Rename most of the documentation and variable names from resin to balena
Change-type: minor
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
2018-11-01 17:00:13 -07:00
bba1da370b logger: Remove pubnub leftovers
Change-type: minor
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2018-07-18 12:31:10 -07:00
8527f19b70 README: update with the new resinos-in-container for dind, plus remove the Go parts, and add the new npm tests
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-04-20 15:25:36 -07:00
556114659e README.md: Capitalization and other fixes
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-01-19 11:18:41 -03:00
45b2fcef1b Improve caching in dindctl build and update README
The change in dindctl build uses automation/build.sh to pull intermediate images to improve caching. Sometimes it works to avoid
a full base image build...

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-01-19 11:18:41 -03:00
392d963348 Use a local supervisor image for the dind supervisor
We change the Makefile and dinctl so that instead of having to deploy and then pull a supervisor image, we save it from the local
docker images and load it inside the dind container.

We also fix dind so that it uses the dind hack script from the docker repo as official dind images do (this avoids breaking the
permissions of /dev/pts/ptmx in the host as in https://github.com/kubernetes/kubernetes/issues/18230).

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-07-20 21:22:25 -03:00
da04b3065c Make dindctl an easier to use tool that takes options instead of using env vars
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-07-20 21:22:25 -03:00
adb4669b81 Update waffle badge
Replace space with ` %20 `

Change-Type: patch
Signed-off-by: Sabith <sabithksme@gmail.com>
2017-03-22 13:09:06 -03:00
58af4f7094 Switch to aufs for the docker-in-docker development supervisor
Also update a few details about the dind on the README.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-01-06 15:45:41 -03:00
50b865737b Start using versionist for versioning and changelog
We use the default versionist configuration.
Changelog has been edited to match the versionist format as much as possible.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2016-12-15 19:14:07 -03:00
d470af91cd Update README.md
* Remove the jenkins build status badge, as it usually breaks and also doesn't reflect the latest master build but the latest build on any PR.
* Remove the paragraph about the Go rewrite as it might deter PRs, and the rewrite has been delayed and will be re-architected.
2016-10-31 09:55:03 -03:00
c39d6a7489 Update README.md
Mention the Resin CLI way to generate a `config.json`
2016-07-07 09:02:10 +03:00
e45e7cf9b2 dind: add dropbear and prevent passwordless login by default 2016-06-25 15:04:23 +03:00
ceaff19d6f Add Gitter badge 2016-01-11 16:07:13 -03:00
fc04eab837 Add badge and link to waffle.io board 2015-11-30 09:02:34 -08:00
a2a5606522 Add build status badge 2015-11-10 06:01:37 -03:00
dc7973e085 Add license and reorganize README headings 2015-10-27 11:07:46 -03:00
8453e703fe Quickfix: link to Gosuper branch in README 2015-10-13 15:05:10 -03:00
4369ad31b0 Quickfix: Use yaml to render json with comments in README 2015-10-13 14:50:32 -03:00
6495b4f436 Use apps.json to determine the preloaded image to pull to dind 2015-10-13 13:45:09 -03:00
2ea336dec9 Don't duplicate 01_nodoc, and fix grammar in README 2015-10-13 13:45:08 -03:00
c67f2be88f Refactor README for open source, and make Makefile use DockerHub by default 2015-10-13 13:45:08 -03:00
0373607c56 Refactor bootstrapper. Run preloaded supervisor dind. Change dind configs to be ignored and document how to populate them. 2015-10-13 13:45:05 -03:00
9bc2f6212d Handle App not found in purge, + cleanup
* gosuper in dockerignored folder
* correctly handle app not found in purge
* test formatting in test-gosuper
* Fix test-gosuper
* DRY up test-integration
2015-10-13 13:43:36 -03:00
53668647c8 Integration test is now working.
* More work on the integration test
* Correctly get supervisor IP
* Use Fatal for test errors
* test-integration working separate from run-supervisor
* Use jenkins' JOB_NAME to identify and remove containers with their volumes
* Document testing procedure
* Document the assume-unchanged tip
* Use /mnt/root for data path
* Nicer secret assignment
2015-10-13 13:43:36 -03:00
ed8adcdda9 Initial structure with Godeps and build Dockerfile 2015-10-13 13:43:36 -03:00