blob: 9dd75995b3c0ab84fe023892a28a2b052b3606ec [file] [log] [blame]
Richard Felkld59c5652018-02-08 13:14:05 +01001#!/bin/bash -xe
2#docker registry
3salt-call -t 5 --retcode-passthrough --no-color state.sls docker.host
azvyagintsev6d453852018-02-26 16:56:37 +02004#docker run --restart always -d -p 5000:5000 --name registry registry:2
Richard Felkld59c5652018-02-08 13:14:05 +01005salt-call -t 5 --retcode-passthrough state.sls docker.client.registry
6docker system prune --all --force
7
8#aptly
9salt-call -t 5 --no-color state.sls aptly
azvyagintsev6d453852018-02-26 16:56:37 +020010salt-call -t 5 --retcode-passthrough --no-color state.sls aptly.server
Richard Felkld59c5652018-02-08 13:14:05 +010011sudo -i -u aptly aptly_mirror_update.sh -sv
12sudo -i -u aptly aptly_publish_update.sh -acrfv
13
Richard Felkld59c5652018-02-08 13:14:05 +010014#git
15salt-call -t 5 --retcode-passthrough --no-color state.sls git.server