Skip to content

Commit

Permalink
add renovate to update component versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeier committed Jun 2, 2024
1 parent e970b6c commit eb672a5
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Renovate

on:
workflow_dispatch:
schedule:
- cron: '0 5 * * 0'


jobs:
renovate:
permissions:
contents: read
issues: read
pull-requests: write
repository-projects: read
statuses: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.6
- name: Renovate
uses: renovatebot/github-action@v40.1.11
with:
configurationFile: renovate-config.json
token: ${{ secrets.GITHUB_TOKEN }}
env:
LOG_LEVEL: 'debug'
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10958,7 +10958,7 @@ Data type: `Stdlib::Port`



Default value: `9090`
Default value: `9419`

##### <a name="-prometheus--rabbitmq_exporter--scrape_job_name"></a>`scrape_job_name`

Expand Down
16 changes: 16 additions & 0 deletions data/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ prometheus::pushprox_client::group: 'pushprox_client'
prometheus::pushprox_client::package_ensure: 'latest'
prometheus::pushprox_client::package_name: 'pushprox_client'
prometheus::pushprox_client::user: 'pushprox_client'
# renovate: depName=prometheus-community/PushProx
prometheus::pushprox_client::version: '0.1.0'
prometheus::pushprox_proxy::download_extension: 'tar.gz'
prometheus::pushprox_proxy::download_url_base: 'https://github.com/prometheus-community/PushProx/releases'
Expand All @@ -14,6 +15,7 @@ prometheus::pushprox_proxy::group: 'pushprox_proxy'
prometheus::pushprox_proxy::package_ensure: 'latest'
prometheus::pushprox_proxy::package_name: 'pushprox_proxy'
prometheus::pushprox_proxy::user: 'pushprox_proxy'
# renovate: depName=prometheus-community/PushProx
prometheus::pushprox_proxy::version: '0.1.0'
prometheus::alertmanager::config_dir: '/etc/alertmanager'
prometheus::alertmanager::manage_config: true
Expand Down Expand Up @@ -54,6 +56,7 @@ prometheus::alertmanager::time_intervals: []
prometheus::alertmanager::storage_path: '/var/lib/alertmanager'
prometheus::alertmanager::templates: [ "%{lookup('prometheus::alertmanager::config_dir')}/*.tmpl" ]
prometheus::alertmanager::user: 'alertmanager'
# renovate: depName=prometheus/alertmanager
prometheus::alertmanager::version: '0.27.0'
prometheus::consul_exporter::consul_health_summary: true
prometheus::consul_exporter::consul_server: 'localhost:8500'
Expand All @@ -66,6 +69,7 @@ prometheus::consul_exporter::package_ensure: 'latest'
prometheus::consul_exporter::package_name: 'consul_exporter'
prometheus::consul_exporter::service_name: 'consul_exporter'
prometheus::consul_exporter::user: 'consul-exporter'
# renovate: depName=prometheus/consul_exporter
prometheus::consul_exporter::version: '0.7.1'
prometheus::consul_exporter::web_listen_address: ':9107'
prometheus::consul_exporter::web_telemetry_path: '/metrics'
Expand All @@ -79,6 +83,7 @@ prometheus::elasticsearch_exporter::package_ensure: 'latest'
prometheus::elasticsearch_exporter::package_name: 'elasticsearch_exporter'
prometheus::elasticsearch_exporter::service_name: 'elasticsearch_exporter'
prometheus::elasticsearch_exporter::user: 'elasticsearch-exporter'
# renovate: depName=justwatchcom/elasticsearch_exporter
prometheus::elasticsearch_exporter::version: '1.1.0'
prometheus::elasticsearch_exporter::use_kingpin: true
prometheus::mesos_exporter::server_type: 'master'
Expand All @@ -91,6 +96,7 @@ prometheus::mesos_exporter::user: 'mesos-exporter'
prometheus::mesos_exporter::package_ensure: 'latest'
prometheus::mesos_exporter::package_name: 'mesos_exporter'
prometheus::mesos_exporter::service_name: 'mesos_exporter'
# renovate: depName=mesosphere/mesos_exporter
prometheus::mesos_exporter::version: '1.1.2'
prometheus::haproxy_exporter::cnf_scrape_uri: 'http://localhost:1234/haproxy?stats;csv'
prometheus::haproxy_exporter::download_extension: 'tar.gz'
Expand All @@ -101,6 +107,7 @@ prometheus::haproxy_exporter::package_ensure: 'latest'
prometheus::haproxy_exporter::package_name: 'haproxy_exporter'
prometheus::haproxy_exporter::service_name: 'haproxy_exporter'
prometheus::haproxy_exporter::user: 'haproxy-user'
# renovate: depName=prometheus/haproxy_exporter
prometheus::haproxy_exporter::version: '0.11.0'
prometheus::nginx_vts_exporter::nginx_scrape_uri: 'http://localhost/status/format/json'
prometheus::nginx_vts_exporter::download_extension: 'tar.gz'
Expand All @@ -111,6 +118,7 @@ prometheus::nginx_vts_exporter::package_ensure: 'latest'
prometheus::nginx_vts_exporter::package_name: 'nginx-vts-exporter'
prometheus::nginx_vts_exporter::service_name: 'nginx-vts-exporter'
prometheus::nginx_vts_exporter::user: 'nginx-vts-exporter'
# renovate: depName=hnlq715/nginx-vts-exporter
prometheus::nginx_vts_exporter::version: '0.10.3'
prometheus::process_exporter::download_extension: 'tar.gz'
prometheus::process_exporter::download_url_base: 'https://github.com/ncabatoff/process-exporter/releases'
Expand All @@ -120,6 +128,7 @@ prometheus::process_exporter::package_ensure: 'latest'
prometheus::process_exporter::package_name: 'process-exporter'
prometheus::process_exporter::service_name: 'process-exporter'
prometheus::process_exporter::user: 'process-exporter'
# renovate: depName=ncabatoff/process-exporter
prometheus::process_exporter::version: '0.6.0'
prometheus::process_exporter::config_path: '/etc/process-exporter.yaml'
prometheus::pushgateway::download_extension: 'tar.gz'
Expand All @@ -129,6 +138,7 @@ prometheus::pushgateway::group: 'pushgateway'
prometheus::pushgateway::package_ensure: 'latest'
prometheus::pushgateway::package_name: 'pushgateway'
prometheus::pushgateway::user: 'pushgateway'
# renovate: depName=prometheus/pushgateway
prometheus::pushgateway::version: '1.2.0'
prometheus::rabbitmq_exporter::download_extension: 'tar.gz'
prometheus::rabbitmq_exporter::download_url_base: 'https://github.com/kbudde/rabbitmq_exporter/releases'
Expand All @@ -138,6 +148,7 @@ prometheus::rabbitmq_exporter::package_ensure: 'latest'
prometheus::rabbitmq_exporter::package_name: 'rabbitmq_exporter'
prometheus::rabbitmq_exporter::service_name: 'rabbitmq_exporter'
prometheus::rabbitmq_exporter::user: 'rabbitmq-exporter'
# renovate: depName=kbudde/rabbitmq_exporter
prometheus::rabbitmq_exporter::version: '0.29.0'
prometheus::rabbitmq_exporter::rabbit_url: 'http://localhost:15672'
prometheus::rabbitmq_exporter::rabbit_user: 'guest'
Expand All @@ -158,6 +169,7 @@ prometheus::mysqld_exporter::package_ensure: 'latest'
prometheus::mysqld_exporter::package_name: 'mysqld_exporter'
prometheus::mysqld_exporter::service_name: 'mysqld_exporter'
prometheus::mysqld_exporter::user: 'mysqld-exporter'
# renovate: depName=prometheus/mysqld_exporter
prometheus::mysqld_exporter::version: '0.12.1'
prometheus::node_exporter::download_extension: 'tar.gz'
prometheus::node_exporter::download_url_base: 'https://github.com/prometheus/node_exporter/releases'
Expand All @@ -166,6 +178,7 @@ prometheus::node_exporter::group: 'node-exporter'
prometheus::node_exporter::package_ensure: 'latest'
prometheus::node_exporter::package_name: 'node_exporter'
prometheus::node_exporter::user: 'node-exporter'
# renovate: depName=prometheus/node_exporter
prometheus::node_exporter::version: '1.0.1'
prometheus::beanstalkd_exporter::exporter_listen: ':9371'
prometheus::beanstalkd_exporter::beanstalkd_address: '127.0.0.1:11300'
Expand All @@ -177,6 +190,7 @@ prometheus::beanstalkd_exporter::package_ensure: 'latest'
prometheus::beanstalkd_exporter::package_name: 'beanstalkd_exporter'
prometheus::beanstalkd_exporter::service_name: 'beanstalkd_exporter'
prometheus::beanstalkd_exporter::user: 'beanstalkd-exporter'
# renovate: depName=messagebird/beanstalkd_exporter
prometheus::beanstalkd_exporter::version: '1.0.5'
prometheus::beanstalkd_exporter::mapping_config: '/etc/beanstalkd-exporter-mapping.conf'
prometheus::beanstalkd_exporter::config: '/etc/beanstalkd-exporter.conf'
Expand All @@ -190,6 +204,7 @@ prometheus::snmp_exporter::package_ensure: 'latest'
prometheus::snmp_exporter::package_name: 'snmp_exporter'
prometheus::snmp_exporter::service_name: 'snmp_exporter'
prometheus::snmp_exporter::user: 'snmp-exporter'
# renovate: depName=prometheus/snmp_exporter
prometheus::snmp_exporter::version: '0.18.0'
prometheus::statsd_exporter::download_extension: 'tar.gz'
prometheus::statsd_exporter::download_url_base: 'https://github.com/prometheus/statsd_exporter/releases'
Expand All @@ -201,4 +216,5 @@ prometheus::statsd_exporter::package_ensure: 'latest'
prometheus::statsd_exporter::package_name: 'statsd_exporter'
prometheus::statsd_exporter::service_name: 'statsd_exporter'
prometheus::statsd_exporter::user: 'statsd-exporter'
# renovate: depName=prometheus/statsd_exporter
prometheus::statsd_exporter::version: '0.17.0'
20 changes: 20 additions & 0 deletions renovate-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"onboarding": false,
"requireConfig": "optional",
"repositories": ["voxpupuli/puppet-prometheus"],
"extends": ["config:recommended"],
"enabledManagers": ["custom.regex"],
"prHourlyLimit": 10,
"prConcurrentLimit": 20,
"customManagers": [
{
"customType": "regex",
"fileMatch": ["defaults.yaml"],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+?)\\s+[a-z0-9:_]+?::version:\\s+['\"]?(?<currentValue>[\\w+\\.]*)"
],
"datasourceTemplate": "github-releases"
}
]
}
14 changes: 0 additions & 14 deletions renovate.json5

This file was deleted.

0 comments on commit eb672a5

Please sign in to comment.