blob: 01be4ac3a3be2af965379dd83be3f3b509c7b5cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
all: FORCE
pull:
@rsync ${LIGA_RSYNC_OPTS} -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http
autocommit: pull
@cd http && git diff --quiet || (git add . && git commit -m 'Autocommit' && git push)
dumps: FORCE
s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/
./dumps/load-dumps.sh
butler: dumps
python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS}
FORCE:
|