Skip to content

gitinsky-bot/prometheus-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-builder

Ansible scripts to build prometheus RPMs in a clean virtualbox environment. Built RPMs are uploaded into bintray public repository.

Usage

Bintray manuals with screenshots if needed: - go to https://bintray.com/docs/usermanual/

  1. Create repository, for example, "prometheus" via web interface at your organization:

  2. Create packages via web interface (if not yet) with names:

  • prometheus
  • alertmanager
  • node-exporter
  • jmx-exporter
  1. 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)
  1. 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)
  1. Insert your data, get API KEY at your account settings before:
$ vi group_vars/all.yml
repository_path: "organization/repository"    
bintray_credentials: "username:0123456789abcdefghijklmnopqrstuv"
  1. Check if needed, do as you code:
$ vi Vagrantfile
$ vi ansible.cfg
  1. Run:
vagrant up
  1. Check uploaded packets at http://bintray.com/ and add them additional info (descripting, avatar)

  2. Find in packets at http://bintray.com/ "Notice: You have 4 unpublished item(s) for this version"

  3. Click "Publish" button to make packet availablie and wait 5min...6h before it will be available

  4. See notice "4 new files will be publicly available shortly"

  5. Save our planet 🌳 :

vagrant destroy
  1. Optionally: GPG sign your packets 🔐 via bintray web interface

  2. Optionally: do new pull-request :octocat:

About

Ansible scripts to build prometheus in a clean env

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published