Pagan Gazzard
|
fb4bd203be
|
Keep the / in the DEPLOY_REGISTRY, so we can just set it empty to use the default docker registry.
|
2015-10-13 13:37:10 -03:00 |
|
Pagan Gazzard
|
5936e51676
|
Ignore errors removing the temporary Dockerfile.
|
2015-10-13 13:36:14 -03:00 |
|
Pagan Gazzard
|
d646c4b51e
|
Remove the accelerated/buildstep support from the Makefile, since the non-accelerated version now allows caching.
|
2015-10-13 13:36:13 -03:00 |
|
Pagan Gazzard
|
0d0ca4deda
|
Switch to using resin/rpi-node and node images, making use of package.json caching.
|
2015-10-13 13:36:13 -03:00 |
|
Pagan Gazzard
|
177823c2f9
|
Add a make target to build and deploy the image.
|
2015-10-13 13:36:13 -03:00 |
|
Pagan Gazzard
|
0d8e9e0627
|
Remove rpi hardcoding in supervisor-accelerated.
|
2015-10-13 13:36:12 -03:00 |
|
Pagan Gazzard
|
3f94b353f5
|
Remove VPN from the supervisor
|
2015-10-13 13:36:12 -03:00 |
|
Aleksis Brezas
|
a9b909acaf
|
fix make file mounts
|
2015-10-13 13:36:06 -03:00 |
|
Aleksis Brezas
|
0665054a79
|
no updates
|
2015-10-13 13:34:23 -03:00 |
|
Pagan Gazzard
|
d98c9ae180
|
Have to force tag with docker >= 1.4.0
|
2015-10-13 13:29:42 -03:00 |
|
Praneeth Bodduluri
|
d300ec6baf
|
User Supervisord for logging
|
2015-10-13 13:28:00 -03:00 |
|
Pagan Gazzard
|
567784b3e9
|
Default to using a cache dir in ~/cache/resin-supervisor whilst building - when building without a cache volume we get the cache included in the image as well! :(
|
2015-10-13 13:27:58 -03:00 |
|
Praneeth Bodduluri
|
ba7dd0f3dd
|
Remove un-required ifneq
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
f57a0ba055
|
Fetch the buildstep and accelerator - only if needed
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
aad16c8a25
|
Replace ||true with Makefile ignores
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
b8c57312a4
|
Remove non-existent commands from .PHONY
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
b80861f2ed
|
Use Dockerfile instead of the tmp
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
dba752f6b3
|
Use ARCH= to define the architecture to build. Embedd version into builds
|
2015-10-13 13:27:57 -03:00 |
|
Praneeth Bodduluri
|
f13d25ba85
|
Cleanup Makefile for using the currently used deployment repos as sources
|
2015-10-13 13:27:57 -03:00 |
|
Pagan Gazzard
|
b7df26b9f6
|
Run apt-get clean and rm -rf /var/lib/apt/lists as part of creating the supervisor-base to reduce the layer size.
|
2015-10-13 13:27:56 -03:00 |
|
Pagan Gazzard
|
5e869f50a3
|
Switch the supervisor-base image to include the deps we require, allowing make builds to work correctly (and faster, caching more) now that the deps have been removed from deps.sh
|
2015-10-13 13:27:56 -03:00 |
|
Pagan Gazzard
|
c207ac985b
|
Share the supervisor-base image making target.
|
2015-10-13 13:27:56 -03:00 |
|
Pagan Gazzard
|
fcc2e97839
|
Silence the echo commands, as we just want the message.
|
2015-10-13 13:27:56 -03:00 |
|
Praneeth Bodduluri
|
36e5af0018
|
i386 support for the edison
|
2015-10-13 13:19:39 -03:00 |
|
Pagan Gazzard
|
a6cc3da440
|
Find the accelerator version that matches the buildstep version.
|
2015-10-13 13:10:11 -03:00 |
|
Praneeth Bodduluri
|
7aa66b5cb6
|
x86 support + Change localImage variable to SUPERVISOR_IMAGE
|
2015-10-13 13:09:58 -03:00 |
|
Pagan Gazzard
|
42b3479884
|
Add an entry to the makefile that makes it easy to enable node_modules caching.
|
2015-10-13 13:08:24 -03:00 |
|
Pagan Gazzard
|
4fb54b471d
|
Force the removal of the old container when trying to start a build.
|
2015-10-13 13:08:23 -03:00 |
|
Pagan Gazzard
|
7a5197d68e
|
Tag the accelerated supervisor in the same way as the non-accelerated one.
|
2015-10-13 13:08:23 -03:00 |
|
Pagan Gazzard
|
d7abc9e8bd
|
Make sure to remove the accelerated build container if it exists before trying to create a new one.
|
2015-10-13 13:08:23 -03:00 |
|
Pagan Gazzard
|
209d365891
|
Use the resin/supervisor-base image when creating an accelerated supervisor, to match when building from the dockerfile.
|
2015-10-13 13:08:23 -03:00 |
|
Pagan Gazzard
|
0256e18bbf
|
Make sure to check for the image that comes from the SUPERVISOR_REGISTRY, rather than just any image with the same name.
|
2015-10-13 13:08:23 -03:00 |
|
Pagan Gazzard
|
d18b137030
|
Tag the image whether we had to pull it or not, to make sure that supervisor-base is already tagged to the one we're expecting to use.
|
2015-10-13 13:08:23 -03:00 |
|
Praneeth Bodduluri
|
be5a32187a
|
User local accelerator if available
|
2015-10-13 13:06:43 -03:00 |
|
Praneeth Bodduluri
|
2f861fc4d8
|
Change the Dockerfile base to something that is unique - Allows to simply change a variable to point to a different base
|
2015-10-13 13:06:43 -03:00 |
|
Praneeth Bodduluri
|
451cb06faf
|
Create a variable for BUILDSTEP_REPO
|
2015-10-13 13:06:43 -03:00 |
|
Praneeth Bodduluri
|
53f3303abc
|
Use the buildstep pushed to staging & Remove deploy_key
|
2015-10-13 13:06:42 -03:00 |
|