init-deb-repo.sh 368 B

123456789101112
  1. #!/usr/bin/env bash
  2. # Run this if you need to recreate the debian repository for some reason
  3. # Setup environment
  4. cp scripts/build/update_repo/aptly.conf /etc/aptly.conf
  5. mkdir -p /deb-repo/db \
  6. /deb-repo/repo \
  7. /deb-repo/tmp
  8. aptly repo create -distribution=stable -component=main grafana
  9. aptly repo create -distribution=beta -component=main beta