d6b6d2d73b
Distinguish betweek - permanent TCP check disable and pausing tcp check
2015-10-13 13:43:37 -03:00
03299d77f5
API to pause TCP checks
2015-10-13 13:43:37 -03:00
177e9ddd7c
Specify vpn endpoint in the config file
2015-10-13 13:43:37 -03:00
c250ff483c
Fix double app start (app.id = null after kill)
2015-10-13 13:43:37 -03:00
2f09413096
gosuper for other GOARCH should never get to the supervisor image
2015-10-13 13:43:37 -03:00
c2496d30c2
Use Promise Disposer for lock, + cleanup
2015-10-13 13:43:36 -03:00
685af77007
Reorganize files, and purge sends 404 when there's no directory.
...
* 404 when no directory
* fix go-supervisor.conf location
* Use /var/run/resin for gosuper socket
* Remove potential spurious gosuper binaries
2015-10-13 13:43:36 -03:00
6d54e6663e
Lock app restart, cleanup and better testing
2015-10-13 13:43:36 -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
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
dd53bbd1db
Call the gosuper from node via unix socket + http.
2015-10-13 13:43:36 -03:00
300067febe
Correctly integrate Go unit tests with Jenkins
2015-10-13 13:43:36 -03:00
30ce6f77c4
Gosuper Integration into supervisor image and Jenkins
2015-10-13 13:43:36 -03:00
0587858f69
First API implementation with purge and unit testing.
2015-10-13 13:43:36 -03:00
ed8adcdda9
Initial structure with Godeps and build Dockerfile
2015-10-13 13:43:36 -03:00
8f8e6f9a1b
Rename assets/etc to config
2015-10-13 13:43:36 -03:00
e3264effe3
Mount tmpfs for supervisor sockets
2015-10-13 13:43:36 -03:00
5d5f38ea69
Add /lib/firmware to the app bind mounts
2015-10-13 13:43:36 -03:00
5ae28e9348
Use overlayfs for the supervisor dind.
2015-10-13 13:43:36 -03:00
fecf906ce5
enter.sh: Split env vars by NULL byte instead of whitespace
2015-10-13 13:43:36 -03:00
0703759782
Try to populate the docker cache before building.
2015-10-13 13:43:35 -03:00
7e6ef77d0f
Switch to using a tagged version of resin-base.
2015-10-13 13:43:35 -03:00
1e340f4fac
Return when no appId
2015-10-13 13:43:35 -03:00
397fd6872b
0.0.15
v0.0.15
2015-10-13 13:43:35 -03:00
418d838dec
Make resolv.conf writable from a User container
2015-10-13 13:43:35 -03:00
b8ecdb3ce2
Rename state module to device and use sensible function names for the new module name.
2015-10-13 13:43:35 -03:00
0917a46a2d
Separate the device state updating into its own module.
2015-10-13 13:43:35 -03:00
4fa84b1108
Update pubnub (latest version doesn't seem to have the heartbeat unnecessarily)
2015-10-13 13:43:35 -03:00
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
0931e8a16b
More details in README
2015-10-13 13:43:35 -03:00
4ab627186d
Details in README
2015-10-13 13:43:35 -03:00
f87c4915da
Better volume handling
2015-10-13 13:43:35 -03:00
fb019d7192
Markdown and use amd64 in README
2015-10-13 13:43:35 -03:00
aaa9885e50
Comment on the loopback devs issue
2015-10-13 13:43:35 -03:00
aed2ddb79c
Don't ignore config.json
2015-10-13 13:43:35 -03:00
341f0e37ff
Change perms for vpn-init. Update README.
2015-10-13 13:43:35 -03:00
b54871bc03
Pull super from DEPLOY_REGISTRY. Add make stop-supervisor
2015-10-13 13:43:35 -03:00
9ea79516a0
Ignore config.json
2015-10-13 13:43:35 -03:00
a7f81d8637
Add an empty placeholder config.json to denote where it belongs.
2015-10-13 13:43:34 -03:00
7d78d0dad8
Use JOBS=MAX for npm install
2015-10-13 13:43:34 -03:00
74ca087c7a
Preserve docker env in terminal session
2015-10-13 13:43:34 -03:00
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
d65f329cd5
Update pinejs-client so that valid ssl certificates are enforced by default.
2015-10-13 13:43:34 -03:00
731338b0f4
Update dind config to use resinstaging.io
2015-10-13 13:43:25 -03:00
aead4c7531
Make use of resin-register-device
2015-10-13 13:42:25 -03:00
6c2467cca8
Allow running the supervisor in the devenv using docker in docker.
2015-10-13 13:42:23 -03:00
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
f03df0b4ad
0.0.14
v0.0.14
2015-10-13 13:39:39 -03:00
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