blob: fe7101fb26ab224e2bbc625c8a97cc0d1facf253 [file] [log] [blame]
Richard Felkld59c5652018-02-08 13:14:05 +01001#!/bin/bash -xe
Richard Felkld59c5652018-02-08 13:14:05 +01002
3#aptly
Richard Felkl47757902018-03-02 22:44:43 +01004salt-call -t 5 --no-color state.sls aptly.server
5salt-call -t 5 --no-color state.sls aptly.publisher
Richard Felkld59c5652018-02-08 13:14:05 +01006salt-call -t 5 --no-color state.sls aptly
Richard Felkl47757902018-03-02 22:44:43 +01007salt-call -t 5 --retcode-passthrough --no-color state.sls aptly
8aptly_mirror_update.sh -sv
9aptly-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
12salt-call -t 5 --retcode-passthrough state.sls docker.client.registry
13docker system prune --all --force
14
15#debmirror
16salt-call -t 5 --no-color state.sls debmirror
Richard Felkld59c5652018-02-08 13:14:05 +010017
Richard Felkld59c5652018-02-08 13:14:05 +010018#git
19salt-call -t 5 --retcode-passthrough --no-color state.sls git.server