Commit Graph

4421 Commits

Author SHA1 Message Date
Pablo Carranza Vélez
513cc24d1c Purge restarts app, and first attempt at integration testing
* Restart app when purging
* Use log.Fatal to exit with status 1
* Quotes in entry.sh
* Use JSON for request body
* Handle errors for parseJsonBody
* Better error printing in main
* First attempt at testing nodesuper from Go
* Cleaner build
* Use ARCH to differentiate concurrent tests/builds
* Use --rm to autoremove containers
2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
dd53bbd1db Call the gosuper from node via unix socket + http. 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
300067febe Correctly integrate Go unit tests with Jenkins 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
30ce6f77c4 Gosuper Integration into supervisor image and Jenkins 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
0587858f69 First API implementation with purge and unit testing. 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
ed8adcdda9 Initial structure with Godeps and build Dockerfile 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
8f8e6f9a1b Rename assets/etc to config 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
e3264effe3 Mount tmpfs for supervisor sockets 2015-10-13 13:43:36 -03:00
Pablo Carranza Vélez
5d5f38ea69 Add /lib/firmware to the app bind mounts 2015-10-13 13:43:36 -03:00
Pagan Gazzard
5ae28e9348 Use overlayfs for the supervisor dind. 2015-10-13 13:43:36 -03:00
Petros Angelatos
fecf906ce5 enter.sh: Split env vars by NULL byte instead of whitespace 2015-10-13 13:43:36 -03:00
Pagan Gazzard
0703759782 Try to populate the docker cache before building. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
7e6ef77d0f Switch to using a tagged version of resin-base. 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
1e340f4fac Return when no appId 2015-10-13 13:43:35 -03:00
Pagan Gazzard
397fd6872b 0.0.15 2015-10-13 13:43:35 -03:00
Praneeth Bodduluri
418d838dec Make resolv.conf writable from a User container 2015-10-13 13:43:35 -03:00
Pagan Gazzard
b8ecdb3ce2 Rename state module to device and use sensible function names for the new module name. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
0917a46a2d Separate the device state updating into its own module. 2015-10-13 13:43:35 -03:00
Pagan Gazzard
4fa84b1108 Update pubnub (latest version doesn't seem to have the heartbeat unnecessarily) 2015-10-13 13:43:35 -03:00
Pagan Gazzard
3ad47adce4 Fix an issue where an image would not be cleaned up if it was tagged in multiple repos. 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
0931e8a16b More details in README 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
4ab627186d Details in README 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
f87c4915da Better volume handling 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
fb019d7192 Markdown and use amd64 in README 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
aaa9885e50 Comment on the loopback devs issue 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
aed2ddb79c Don't ignore config.json 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
341f0e37ff Change perms for vpn-init. Update README. 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
b54871bc03 Pull super from DEPLOY_REGISTRY. Add make stop-supervisor 2015-10-13 13:43:35 -03:00
Pablo Carranza Vélez
9ea79516a0 Ignore config.json 2015-10-13 13:43:35 -03:00
Pagan Gazzard
a7f81d8637 Add an empty placeholder config.json to denote where it belongs. 2015-10-13 13:43:34 -03:00
Pagan Gazzard
7d78d0dad8 Use JOBS=MAX for npm install 2015-10-13 13:43:34 -03:00
Petros Angelatos
74ca087c7a Preserve docker env in terminal session 2015-10-13 13:43:34 -03:00
Jon Grisky
fe93b61adb Rename Dockerfile.x86_64 to Dockerfile.amd64
For consistency with the container spec architecture, we will use amd64 naming
for x86 64 bits machines.

Signed-off-by: Jon Grisky <jon@resin.io>
2015-10-13 13:43:34 -03:00
Pagan Gazzard
d65f329cd5 Update pinejs-client so that valid ssl certificates are enforced by default. 2015-10-13 13:43:34 -03:00
Pagan Gazzard
731338b0f4 Update dind config to use resinstaging.io 2015-10-13 13:43:25 -03:00
Juan Cruz Viotti
aead4c7531 Make use of resin-register-device 2015-10-13 13:42:25 -03:00
Pagan Gazzard
6c2467cca8 Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
Pagan Gazzard
4003bd4828 Write the registered_at time to config.json as well, in case there is a failure between writing to config.json and writing to knex [Page] 2015-10-13 13:39:39 -03:00
Pagan Gazzard
f03df0b4ad 0.0.14 2015-10-13 13:39:39 -03:00
Pagan Gazzard
1ee3072c75 Force a newer bluebird so that we can rely on error properties also being available on the root error. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
2387402c35 Clean up tmp files left behind by npm. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
52d4cfb9d9 Fix an error where mixpanel events would have the wrong uuid set on first provision. 2015-10-13 13:39:39 -03:00
Pagan Gazzard
12542bf7d4 Update knexjs to 0.8.3 2015-10-13 13:39:39 -03:00
Pagan Gazzard
ab26c6a401 Don't cache config.json 2015-10-13 13:39:38 -03:00
Pagan Gazzard
7bc0a7d869 0.0.13 2015-10-13 13:39:38 -03:00
Praneeth Bodduluri
cb24f338af Add /etc/resolv.conf bind mounts 2015-10-13 13:39:38 -03:00
Pagan Gazzard
c03658528c 0.0.12 2015-10-13 13:39:38 -03:00
Pagan Gazzard
e56d9b678e Stop displaying an error message when trying to start a container that is already started. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
a959660f90 Improve error messages reported to the user in the case of finding an empty string. 2015-10-13 13:39:38 -03:00
Pagan Gazzard
e38796e92a Fix trying to delete supervisor container when it reports an alternate tag instead of the primary tag. 2015-10-13 13:39:38 -03:00