Balena Supervisor: balena's agent on devices.
Go to file
2015-10-13 13:43:34 -03:00
automation Take the ARCH param from jenkins, so that the different archs can be separate projects (and parallelise builds) 2015-10-13 13:39:38 -03:00
bin Use the right container engine depending on host image 2015-10-13 13:36:12 -03:00
src Make use of resin-register-device 2015-10-13 13:42:25 -03:00
tools/dind Update dind config to use resinstaging.io 2015-10-13 13:43:25 -03:00
.dockerignore Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
.editorconfig add editor config 2015-10-13 13:39:37 -03:00
.gitattributes Add a .gitattributes file to make sure files for use on linux have linux style line-endings. 2015-10-13 13:03:14 -03:00
.gitignore Revamp/rewrite of supervisor as a docker application 2015-10-13 12:58:55 -03:00
01_nodoc Save space by using a dpkg config to avoid installing unnecessary docs/locales. 2015-10-13 13:36:13 -03:00
CHANGELOG.md Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
coffeelint.json add coffeelint 2015-10-13 13:39:37 -03:00
Dockerfile.armv7hf Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
Dockerfile.i386 Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
Dockerfile.rpi Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
Dockerfile.x86_64 Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
entry.sh User Supervisord for logging 2015-10-13 13:28:00 -03:00
Makefile Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
package.json Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
postinstall.sh Save space by removing more npm install artifacts. 2015-10-13 13:36:13 -03:00
README.md Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
resin-supervisor.conf no updates 2015-10-13 13:34:23 -03:00

Running supervisor in the dev env

Set up config

Edit tools/dind/config.json to contain the values for a staging config.json.

Start the supervisor instance

make ARCH=i386 run-supervisor

View the containers logs

logs supervisor -f

View the supervisor logs

enter supervisor
tail /var/log/supervisor-log/resin_supervisor_stdout.log -f