Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
--web.console.libraries=/var/lib/prometheus/console_libraries \
--web.enable-lifecycle &>/dev/null &

- name: Wait for prometheus
run: sleep 5

- name: Check Prometheus
run: curl http://localhost:9090/-/healthy

Expand All @@ -50,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
needs: build-packages-workflow
container:
image: rockylinux:8
image: rockylinux:9
options: --cpus 1
steps:
- name: Download Prometheus Artifacts
Expand All @@ -69,6 +72,9 @@ jobs:
--web.console.libraries=/var/lib/prometheus/console_libraries \
--web.enable-lifecycle &>/dev/null &

- name: Wait for prometheus
run: sleep 5

- name: Check Prometheus
run: curl http://localhost:9090/-/healthy

Expand Down
42 changes: 21 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
all:
PKG=all docker-compose run --rm build
PKG=prometheus docker-compose run --rm nfpm-rpm
PKG=prometheus docker-compose run --rm nfpm-deb
PKG=alertmanager docker-compose run --rm nfpm-rpm
PKG=alertmanager docker-compose run --rm nfpm-deb
PKG=postgres_exporter docker-compose run --rm nfpm-rpm
PKG=postgres_exporter docker-compose run --rm nfpm-deb
PKG=node_exporter docker-compose run --rm nfpm-rpm
PKG=node_exporter docker-compose run --rm nfpm-deb
PKG=all docker compose run --rm build
PKG=prometheus docker compose run --rm nfpm-rpm
PKG=prometheus docker compose run --rm nfpm-deb
PKG=alertmanager docker compose run --rm nfpm-rpm
PKG=alertmanager docker compose run --rm nfpm-deb
PKG=postgres_exporter docker compose run --rm nfpm-rpm
PKG=postgres_exporter docker compose run --rm nfpm-deb
PKG=node_exporter docker compose run --rm nfpm-rpm
PKG=node_exporter docker compose run --rm nfpm-deb

prometheus-pkgs:
PKG=prometheus docker-compose run --rm build
PKG=prometheus docker-compose run --rm nfpm-rpm
PKG=prometheus docker-compose run --rm nfpm-deb
PKG=prometheus docker compose run --rm build
PKG=prometheus docker compose run --rm nfpm-rpm
PKG=prometheus docker compose run --rm nfpm-deb

prometheus-alertmanager:
PKG=alertmanager docker-compose run --rm build
PKG=alertmanager docker-compose run --rm nfpm-rpm
PKG=alertmanager docker-compose run --rm nfpm-deb
PKG=alertmanager docker compose run --rm build
PKG=alertmanager docker compose run --rm nfpm-rpm
PKG=alertmanager docker compose run --rm nfpm-deb

postgres_exporter:
PKG=postgres_exporter docker-compose run --rm build
PKG=postgres_exporter docker-compose run --rm nfpm-rpm
PKG=postgres_exporter docker-compose run --rm nfpm-deb
PKG=postgres_exporter docker compose run --rm build
PKG=postgres_exporter docker compose run --rm nfpm-rpm
PKG=postgres_exporter docker compose run --rm nfpm-deb

node_exporter:
PKG=node_exporter docker-compose run --rm build
PKG=node_exporter docker-compose run --rm nfpm-rpm
PKG=node_exporter docker-compose run --rm nfpm-deb
PKG=node_exporter docker compose run --rm build
PKG=node_exporter docker compose run --rm nfpm-rpm
PKG=node_exporter docker compose run --rm nfpm-deb

clean:
rm -rf _build/
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

build_prometheus() {
# Prometheus version
VERSION="3.2.1"
VERSION="3.13.1"
wget https://github.com/prometheus/prometheus/releases/download/v${VERSION}/prometheus-${VERSION}.linux-amd64.tar.gz -O _build/prometheus-${VERSION}.tar.gz -c

mkdir -p _build/prometheus
Expand All @@ -16,7 +16,7 @@ build_prometheus() {

build_alertmanager() {
# alertmanager version
VERSION="0.28.1"
VERSION="0.33.1"
wget https://github.com/prometheus/alertmanager/releases/download/v${VERSION}/alertmanager-${VERSION}.linux-amd64.tar.gz -O _build/alertmanager-${VERSION}.tar.gz -c

mkdir -p _build/alertmanager
Expand All @@ -30,7 +30,7 @@ build_alertmanager() {

build_postgres_exporter() {
# postgres_exporter version
VERSION="0.17.1"
VERSION="0.20.1"
wget https://github.com/prometheus-community/postgres_exporter/releases/download/v${VERSION}/postgres_exporter-${VERSION}.linux-amd64.tar.gz -O _build/postgres_exporter-${VERSION}.tar.gz -c

mkdir -p _build/postgres_exporter
Expand All @@ -44,7 +44,7 @@ build_postgres_exporter() {

build_node_exporter() {
# node_exporter version
VERSION="1.9.0"
VERSION="1.12.1"
wget https://github.com/prometheus/node_exporter/releases/download/v${VERSION}/node_exporter-${VERSION}.linux-amd64.tar.gz -O _build/node_exporter-${VERSION}.tar.gz -c

mkdir -p _build/node_exporter
Expand Down
2 changes: 1 addition & 1 deletion nfpm/alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: "prometheus-alertmanager"
arch: "amd64"
platform: "linux"
version: "0.28.1"
version: "0.33.1"
section: "database"
priority: "optional"
replaces:
Expand Down
2 changes: 1 addition & 1 deletion nfpm/node_exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: "prometheus-node-exporter"
arch: "amd64"
platform: "linux"
version: "1.9.0"
version: "1.12.1"
section: "database"
priority: "optional"
replaces:
Expand Down
2 changes: 1 addition & 1 deletion nfpm/postgres_exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: "prometheus-postgres-exporter"
arch: "amd64"
platform: "linux"
version: "v0.17.1"
version: "v0.20.1"
section: "database"
priority: "optional"
replaces:
Expand Down
2 changes: 1 addition & 1 deletion nfpm/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: "prometheus"
arch: "amd64"
platform: "linux"
version: "v3.2.1"
version: "v3.13.1"
section: "database"
priority: "optional"
replaces:
Expand Down
Loading