Last active
July 18, 2018 13:02
-
-
Save LotharKAtt/db9c56dd1fd56246f0809ecdc8c34f0f to your computer and use it in GitHub Desktop.
Setup aptly with Mirantis CI/CD stacks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aptly mirror list -raw | grep -E '*' | xargs -n 1 aptly mirror update | |
aptly_mirror_update.sh -s -v | |
aptly-publisher --architectures=amd64 --timeout=1200 publish -v -c /etc/aptly-publisher.yaml --url http://192.168.104.50:8084 --recreate | |
aptly-publisher --url http://192.168.104.50:8084 promote --source ubuntu-trusty/nightly --target ubuntu-trusty/testing --force-overwrite -d --timeout 600 --recreate | |
aptly-publisher --url http://192.168.104.50:8084 promote --source ubuntu-xenial/nightly --target ubuntu-xenial/testing --force-overwrite -d --timeout 600 --recreate | |
nohup aptly api serve --no-lock & | |
Add repo: | |
aptly repo add ubuntu-xenial-extra /tmp/vlan_1.9-3.2~u16.04+mcp1_amd64.deb | |
aptly snapshot create ubuntu-xenial-extra-1 from repo ubuntu-xenial-extra | |
aptly-publisher --timeout=1200 publish -v -c /etc/aptly-publisher.yaml --url http://localhost:8080 --recreate | |
aptly api serve --listen=127.0.0.1:8080 -no-lock | |
DEBUG: | |
rm /srv/volumes/aptly/db/LOCK | |
timeout http-request 1200s | |
timeout queue 1200s | |
timeout connect 1200s | |
timeout client 1200s | |
timeout server 1200s | |
timeout check 1200s | |
curl http://192.168.104.50:8084/api/snapshots | |
curl http://192.168.104.50:8084/api/publish | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment