blob: 23bd679727b258b2a86e2a18450e849ba0065086 [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
azvyagintsevc86fbaf2018-03-02 18:57:03 +02006#docker system prune --all --force
Richard Felkld59c5652018-02-08 13:14:05 +01007
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