Girish Ramakrishnan
324011d04f
Remove debugging code
...
Not sure how this got committed
2014-10-06 11:02:36 -07:00
Girish Ramakrishnan
480d7b9bfd
Set loglevel to verbose
2014-09-29 17:21:20 -07:00
Girish Ramakrishnan
03289fb55f
Add haraka mail relay server as part of base image
...
Part of #46
2014-09-27 13:09:01 -07:00
Girish Ramakrishnan
04ef971b83
Add girish/base:0.7
...
Fixes #87
2014-09-23 17:12:38 -07:00
Johannes Zellner
b1f8e581bf
Make bootstrap script an init script
2014-09-18 12:49:14 -07:00
Girish Ramakrishnan
7b4bca5d90
Append does not seem to work
2014-09-17 16:14:40 -07:00
Girish Ramakrishnan
ffa5fa335d
Add more debugs for testing
2014-09-17 16:12:29 -07:00
Girish Ramakrishnan
926dd8ae35
Escape $ since they are expanded in heredoc
2014-09-17 16:12:25 -07:00
Girish Ramakrishnan
bd74a364ce
Write logfiles with pid and also append
...
This will help confirm if the scripts are running twice for some
reason.
2014-09-17 15:05:46 -07:00
Girish Ramakrishnan
8b3ee3e0df
Make bootstrap run at the very end
2014-09-17 15:02:37 -07:00
Girish Ramakrishnan
89ccfe3895
move sync into initialization script
2014-09-17 15:01:59 -07:00
Johannes Zellner
403c94e8df
Only unmount aufs filesystems if there are some
2014-09-17 10:21:05 -07:00
Girish Ramakrishnan
31cf9909d7
Enable and disable collectd appropriately
2014-09-17 10:05:13 -07:00
Girish Ramakrishnan
bbfe07ab91
Setup -> Install
2014-09-17 09:37:43 -07:00
Girish Ramakrishnan
77daac69c3
Update to latest graphite image
2014-09-16 16:23:38 -07:00
Girish Ramakrishnan
fc8a47774b
Remove girish/base:0.4
2014-09-15 22:16:04 -07:00
Girish Ramakrishnan
4e1ae532de
Move graphite to separate container
...
Only collectd needs to run in the host
2014-09-15 20:14:57 -07:00
Girish Ramakrishnan
7bb96f3523
Add collectd and graphite support to base image
2014-09-15 02:04:23 -07:00
Girish Ramakrishnan
69c6d3a3fb
Bump test image version
2014-09-12 17:19:53 -07:00
Girish Ramakrishnan
c93863ef58
Create separate partition for docker images and appdata
...
This allows us to track their usage easily
Note that files created using dd/truncate are sparse files!
https://wiki.archlinux.org/index.php/sparse_file
Part of #72
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
0fa3f63673
Upgrade ubuntu as well
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
878b2ccfe9
Remove code that updates the box repo
...
This code was used previously when we used to run setup script
over and over again on same base image. This is not done anymore.
2014-09-06 18:43:27 -07:00
Girish Ramakrishnan
e2ab01339d
Pull in base:0.4 as well
2014-09-04 11:30:56 -07:00
Girish Ramakrishnan
92c4ba2bbc
Pull specific version of base
2014-09-03 16:09:24 -07:00
Girish Ramakrishnan
bce609ed52
Make APPSTORE_URL configurable
...
Specify dev or alpha as first argument
2014-09-03 08:13:12 -07:00
Girish Ramakrishnan
d6ecb4aa55
Allow creation of DO images for a specific revision
2014-08-29 13:25:56 -07:00
Girish Ramakrishnan
4d70600ef1
print the git revision
2014-08-28 01:55:05 -07:00
Johannes Zellner
609616b89b
Fix syntax error in bootstrap.sh
2014-08-24 04:39:11 -07:00
Johannes Zellner
d9d125468c
Log everything to /var/log/cloudron/
2014-08-24 01:38:57 -07:00
Girish Ramakrishnan
f6ad431936
chmod +x nsenter
2014-08-11 18:39:55 -07:00
Girish Ramakrishnan
0d3bfb7cd1
Install nsenter
...
Fixes appstore's issue 10
2014-08-11 13:57:49 -07:00
Girish Ramakrishnan
16a650f65e
Pull all base docker images
2014-08-08 13:19:54 -07:00
Girish Ramakrishnan
c83545a2b7
Install rcconf
2014-08-07 15:40:06 -07:00
Girish Ramakrishnan
5f7d67655b
Store log to persistent storage
2014-08-07 15:00:54 -07:00
Girish Ramakrishnan
d01398e460
Fix some bloopers
...
set -e has already done
Just skip checkout altogether
2014-08-07 12:10:07 -07:00
Girish Ramakrishnan
fa10e77def
Do not start supervisor automatically
...
The bootstrap.sh script enables it after it's done configuring
supervisor
2014-08-07 11:53:02 -07:00
Girish Ramakrishnan
3424e51ba4
Give name to checkout branch
2014-08-07 11:46:00 -07:00
Girish Ramakrishnan
fab5e40aae
Make scripts error out automatically
2014-08-07 11:27:48 -07:00
Girish Ramakrishnan
f3f4731a04
Update the code as yellowtent user
2014-08-07 11:23:54 -07:00
Girish Ramakrishnan
a280ff77f1
sudoers file is already setup in bootstrap.sh
2014-08-07 11:18:50 -07:00
Girish Ramakrishnan
04f33d365e
Rename BASEDIR to SRCDIR
2014-08-07 10:59:25 -07:00
Girish Ramakrishnan
f7b49d1449
Fix typo
2014-08-07 10:59:24 -07:00
Johannes Zellner
80eb87069c
Capture bootstrap script output in log file
2014-08-01 08:35:56 -07:00
Johannes Zellner
a9b2020270
Ensure npm install succeeds
2014-07-31 17:48:30 -07:00
Johannes Zellner
f92ca8bb03
Move bootstrap script to box
...
Instead of executing the bootstrap script via ssh,
we now run it once the box boots the first time.
It will update the repo and run the box code, which
needs to contact the appstore in order to get provisioned.
2014-07-31 08:16:35 -07:00
Johannes Zellner
dce7a49eb7
Only add user to docker group after installing docker
2014-07-30 17:26:52 -07:00
Johannes Zellner
3dcd938951
Disable nginx init scripts
...
nginx is handled via supervisor
2014-07-10 22:51:36 -07:00
Johannes Zellner
b84f81feb4
Also escape the eval backticks
2014-07-09 13:26:16 -07:00
Johannes Zellner
9aefeaa9fc
Escape the shell variables for the init script
2014-07-09 13:13:16 -07:00
Johannes Zellner
3437474837
Make the announce init script retry until it succeeds
2014-07-09 10:59:05 -07:00