blob: 23bd679727b258b2a86e2a18450e849ba0065086 [file] [log] [blame]
#!/bin/bash -xe
#docker registry
salt-call -t 5 --retcode-passthrough --no-color state.sls docker.host
#docker run --restart always -d -p 5000:5000 --name registry registry:2
salt-call -t 5 --retcode-passthrough state.sls docker.client.registry
#docker system prune --all --force
#aptly
salt-call -t 5 --no-color state.sls aptly
salt-call -t 5 --retcode-passthrough --no-color state.sls aptly.server
sudo -i -u aptly aptly_mirror_update.sh -sv
sudo -i -u aptly aptly_publish_update.sh -acrfv
#git
salt-call -t 5 --retcode-passthrough --no-color state.sls git.server