init-deb-repo.sh 544 B

123456789101112131415
  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
  10. aptly publish repo -architectures=amd64,i386,arm64,armhf grafana filesystem:repo:grafana
  11. aptly publish repo -architectures=amd64,i386,arm64,armhf beta filesystem:repo:grafana