Commit Graph

86 Commits

Author SHA1 Message Date
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 6378ad34e0 Use tag or sha1 in droplet and image name
Using branch name doesn't make much sense since branches can move
2014-09-02 10:53:33 -07:00
Girish Ramakrishnan 225e0959db Add revision to snapshot name as well 2014-09-02 10:10:57 -07:00
Girish Ramakrishnan 3cfd2c5e26 droplets cannot have _ in box name
because _ is not valid subdomain
2014-08-29 13:54:06 -07:00
Girish Ramakrishnan d6ecb4aa55 Allow creation of DO images for a specific revision 2014-08-29 13:25:56 -07:00
Girish Ramakrishnan c192020a4b Rename script 2014-08-29 11:05:58 -07:00
Girish Ramakrishnan 4d70600ef1 print the git revision 2014-08-28 01:55:05 -07:00
Girish Ramakrishnan 76d85b209a Update bootstrap.sh to have the latest update.sh location 2014-08-27 19:16:53 -07:00
Girish Ramakrishnan 9c8b54f614 Move update scripts inside src/
The scripts/ dir is for helper scripts to be run by hand
The src/scripts dir is for scripts to be run by code
2014-08-27 18:03:48 -07:00
Girish Ramakrishnan ceac771967 Remove unused file 2014-08-24 19:22:20 -07:00
Girish Ramakrishnan 930cbc071f Implement restore script 2014-08-24 19:22:16 -07:00
Girish Ramakrishnan ec4cd4a213 Update bootstrap scripts with path to new scripts dir 2014-08-24 17:44:12 -07:00
Johannes Zellner 3280a8c975 Actually reset git in update 2014-08-24 13:11:54 -07:00
Johannes Zellner c8a5ce118f Remove unused unmountall.sh 2014-08-24 12:02:41 -07:00
Johannes Zellner 631bce8da0 Sync filesystems before we shutdown 2014-08-24 11:44:53 -07:00
Johannes Zellner 609616b89b Fix syntax error in bootstrap.sh 2014-08-24 04:39:11 -07:00
Johannes Zellner accf4576f6 make create image script poll for droplet IP 2014-08-24 02:21:43 -07:00
Girish Ramakrishnan 32837e36ef Implement backup
Fixes #32
2014-08-24 01:58:03 -07:00
Johannes Zellner 0ffe837c60 Allow bootstrap.sh to run as root without password 2014-08-24 01:39:55 -07:00
Johannes Zellner d9d125468c Log everything to /var/log/cloudron/ 2014-08-24 01:38:57 -07:00
Johannes Zellner 8b4a4b052d explicitly run with /bin/bash 2014-08-22 07:32:57 -07:00
Johannes Zellner 7eaac0e7ae Add basic update.sh 2014-08-22 07:16:21 -07:00
Girish Ramakrishnan b08b0a5494 Change cert generation dir 2014-08-20 01:54:39 -07:00
Girish Ramakrishnan df63793c61 Change naming convention of files under cert/*.
Follow the naming convention as used in provisioning by appstore:

host.cert = public cert
host.info = textual output
host.key = private key
host.pem = key file and cert file combined into one
2014-08-20 01:35:56 -07:00
Girish Ramakrishnan f302062306 Move nginx cert dir to be under backup dir 2014-08-20 00:34:02 -07:00
Johannes Zellner dd1ceeed2f Fix makeDocs.sh 2014-08-19 11:28:44 -07:00
Girish Ramakrishnan ed28afdb78 Change name of droplet on each run 2014-08-12 18:05:48 -07:00
Girish Ramakrishnan 59f2f48c14 Fix path to script 2014-08-12 18:03:38 -07:00
Girish Ramakrishnan becda1274f Fix path to ssh keys 2014-08-12 17:45:16 -07:00
Girish Ramakrishnan 62cde20fc2 Better shell scripting 2014-08-12 17:30:48 -07:00
Girish Ramakrishnan 7fc0fd0b9b From appstore repo 2014-08-12 16:56:06 -07:00
Girish Ramakrishnan 2684264e3f Finish base image creation script 2014-08-12 16:21:05 -07:00
Girish Ramakrishnan f6ad431936 chmod +x nsenter 2014-08-11 18:39:55 -07:00
Girish Ramakrishnan 8c04c94465 Automate createBaseUbuntuImage 2014-08-11 18:09:12 -07:00
Girish Ramakrishnan 0d3bfb7cd1 Install nsenter
Fixes appstore's issue 10
2014-08-11 13:57:49 -07:00
Johannes Zellner 3b0326a69f Run npm install as user with HOME set for that user 2014-08-09 13:12:11 -07:00
Girish Ramakrishnan 16a650f65e Pull all base docker images 2014-08-08 13:19:54 -07:00
Girish Ramakrishnan e6fa61f76a Template the admin and app config files with srcdir 2014-08-07 18:02:02 -07:00
Girish Ramakrishnan 6b6be410fd Change nginx prefix directory 2014-08-07 17:00:18 -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 bfb1e584bf Copy mime.types to nginx configuration 2014-08-07 11:55:53 -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 de2cc8a905 Run npm install as yellowtent user 2014-08-07 11:31:17 -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