| #!/bin/bash -xe |
| |
| #aptly |
| salt-call -t 5 --no-color state.sls aptly.server |
| salt-call -t 5 --no-color state.sls aptly.publisher |
| salt-call -t 5 --no-color state.sls aptly |
| salt-call -t 5 --retcode-passthrough --no-color state.sls aptly |
| aptly_mirror_update.sh -sv |
| aptly-publisher --url http://10.99.0.1:18084 --timeout=1200 publish -v -d -c /etc/aptly-publisher.yaml --architectures amd64 --recreate --force-overwrite |
| |
| #docker registry |
| salt-call -t 5 --retcode-passthrough state.sls docker.client.registry |
| docker system prune --all --force |
| |
| #debmirror |
| salt-call -t 5 --no-color state.sls debmirror |
| |
| #git |
| salt-call -t 5 --retcode-passthrough --no-color state.sls git.server |