Files
grafana/scripts/build/update_repo/init-deb-repo.sh
Leonard Gram b3512f43a3 build: repo update testable and more robus.
- adds script for integration testing
- package path parameterized
- more robust updates
2019-01-16 11:11:00 +01:00

13 lines
368 B
Bash
Executable File

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