Ansible scripts to build prometheus RPMs in a clean virtualbox environment. Built RPMs are uploaded into bintray public repository.
Bintray manuals with screenshots if needed: - go to https://bintray.com/docs/usermanual/
-
Create repository, for example, "prometheus" via web interface at your organization:
-
Create packages via web interface (if not yet) with names:
- prometheus
- alertmanager
- node-exporter
- jmx-exporter
- Add new versions, trackers, avatars via web interface, example:
- 0.20 (for prometheus)
- 0.1.1 (for alertmanager)
- 0.12.0 (for node-exporter)
- 0.6 (for jmx-exporter)
- Accordingly to https://github.com/UnitedTraders/prometheus-builder repo look here:
deploy-bintray: rpm
curl -T $(RPM_FILE) -u$(CREDENTIALS) \
https://api.bintray.com/content/$(REPOSITORY)/prometheus/$(VERSION)/$(RPM_NAME)
- Insert your data, get API KEY at your account settings before:
$ vi group_vars/all.yml
repository_path: "organization/repository"
bintray_credentials: "username:0123456789abcdefghijklmnopqrstuv"
- Check if needed, do as you code:
$ vi Vagrantfile
$ vi ansible.cfg
- Run:
vagrant up
-
Check uploaded packets at http://bintray.com/ and add them additional info (descripting, avatar)
-
Find in packets at http://bintray.com/ "Notice: You have 4 unpublished item(s) for this version"
-
Click "Publish" button to make packet availablie and wait 5min...6h before it will be available
-
See notice "4 new files will be publicly available shortly"
-
Save our planet 🌳 :
vagrant destroy
-
Optionally: GPG sign your packets 🔐 via bintray web interface
-
Optionally: do new pull-request