- Create the xenial mirror, with all 4 comonents
aptly -architectures="i386,amd64" mirror create xenial http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse - Update the repo to pull in the current package list
aptly mirror update xenial - Snapshot the current state of the xenial repo
aptly snapshot create xenial-20180427 from mirror xenial - Publish the 20180427 snapshot as staging
aptly publish snapshot xenial-20180427 staging apt-get update && apt-get upgradethe staging servers, and have QA test staging.- If QA passes, publish the 20180427 snapshot as production
aptly publish snapshot xenial-20180427 production - Now available at
deb https://repo01/production/ xenial main restricted universe multiverse apt-get update && apt-get upgradethe production servers
- Update the mirror
aptly mirror update xenial - Snapshot the current state of the repo
aptly snapshot create xenial-20180430 from mirror xenial - Publish the new snapshot to the staging prefix
aptly publish snapshot xenial-20180430 staging apt-get update && apt-get upgradethe staging servers, and have QA test staging.- If QA passes, publish the 20180430 snapshot as production
aptly publish snapshot xenial-20180430 production apt-get update && apt-get upgradethe production server