Richard Felkl | d59c565 | 2018-02-08 13:14:05 +0100 | [diff] [blame] | 1 | #!/bin/bash -xe |
Richard Felkl | d59c565 | 2018-02-08 13:14:05 +0100 | [diff] [blame] | 2 | |
| 3 | #aptly |
Richard Felkl | 4775790 | 2018-03-02 22:44:43 +0100 | [diff] [blame] | 4 | salt-call -t 5 --no-color state.sls aptly.server |
| 5 | salt-call -t 5 --no-color state.sls aptly.publisher |
Richard Felkl | d59c565 | 2018-02-08 13:14:05 +0100 | [diff] [blame] | 6 | salt-call -t 5 --no-color state.sls aptly |
Richard Felkl | 4775790 | 2018-03-02 22:44:43 +0100 | [diff] [blame] | 7 | salt-call -t 5 --retcode-passthrough --no-color state.sls aptly |
| 8 | aptly_mirror_update.sh -sv |
| 9 | aptly-publisher --url http://10.99.0.1:18084 --timeout=1200 publish -v -d -c /etc/aptly-publisher.yaml --architectures amd64 --recreate --force-overwrite |
| 10 | |
| 11 | #docker registry |
| 12 | salt-call -t 5 --retcode-passthrough state.sls docker.client.registry |
| 13 | docker system prune --all --force |
| 14 | |
| 15 | #debmirror |
| 16 | salt-call -t 5 --no-color state.sls debmirror |
Richard Felkl | d59c565 | 2018-02-08 13:14:05 +0100 | [diff] [blame] | 17 | |
Richard Felkl | d59c565 | 2018-02-08 13:14:05 +0100 | [diff] [blame] | 18 | #git |
| 19 | salt-call -t 5 --retcode-passthrough --no-color state.sls git.server |