diff -Nru prometheus-varnish-exporter-1.6.1/debian/changelog prometheus-varnish-exporter-1.6.1/debian/changelog --- prometheus-varnish-exporter-1.6.1/debian/changelog 2023-08-24 05:17:55.000000000 +0000 +++ prometheus-varnish-exporter-1.6.1/debian/changelog 2023-09-04 13:37:40.000000000 +0000 @@ -1,8 +1,11 @@ -prometheus-varnish-exporter (1.6.1-1build1) mantic; urgency=medium +prometheus-varnish-exporter (1.6.1-2) unstable; urgency=medium - * No-change rebuild with Go 1.21. + * Add autopkgtest metric_varnish_up. + * Remove debian/gitlab-ci.yml, set recipes/debian.yml@salsa-ci-team/pipeline + in Salsa's CI/CD settings instead. + * Remove myself from Uploaders. - -- Michael Hudson-Doyle Thu, 24 Aug 2023 17:17:55 +1200 + -- Emanuele Rocca Mon, 04 Sep 2023 15:37:40 +0200 prometheus-varnish-exporter (1.6.1-1) unstable; urgency=medium diff -Nru prometheus-varnish-exporter-1.6.1/debian/control prometheus-varnish-exporter-1.6.1/debian/control --- prometheus-varnish-exporter-1.6.1/debian/control 2022-08-11 09:42:47.000000000 +0000 +++ prometheus-varnish-exporter-1.6.1/debian/control 2023-09-04 13:37:40.000000000 +0000 @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: Debian Go Packaging Team -Uploaders: Emanuele Rocca , Filippo Giunchedi +Uploaders: Filippo Giunchedi Build-Depends: debhelper-compat (= 13), dh-golang, golang-go, diff -Nru prometheus-varnish-exporter-1.6.1/debian/gitlab-ci.yml prometheus-varnish-exporter-1.6.1/debian/gitlab-ci.yml --- prometheus-varnish-exporter-1.6.1/debian/gitlab-ci.yml 2022-08-11 09:42:47.000000000 +0000 +++ prometheus-varnish-exporter-1.6.1/debian/gitlab-ci.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -# auto-generated, DO NOT MODIFY. -# The authoritative copy of this file lives at: -# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go ---- -include: - - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml diff -Nru prometheus-varnish-exporter-1.6.1/debian/tests/control prometheus-varnish-exporter-1.6.1/debian/tests/control --- prometheus-varnish-exporter-1.6.1/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ prometheus-varnish-exporter-1.6.1/debian/tests/control 2023-09-04 13:37:29.000000000 +0000 @@ -0,0 +1,2 @@ +Tests: metric_varnish_up +Depends: varnish, prometheus-varnish-exporter, curl diff -Nru prometheus-varnish-exporter-1.6.1/debian/tests/metric_varnish_up prometheus-varnish-exporter-1.6.1/debian/tests/metric_varnish_up --- prometheus-varnish-exporter-1.6.1/debian/tests/metric_varnish_up 1970-01-01 00:00:00.000000000 +0000 +++ prometheus-varnish-exporter-1.6.1/debian/tests/metric_varnish_up 2023-09-04 13:37:29.000000000 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# This is a functional test which passes if prometheus-varnish-exporter returns +# the metric 'varnish_up' with the value 1. This means that: +# - prometheus-varnish-exporter.service has been started correctly +# - the exporter can run varnishstat(1) successfully +# - metrics are being returned as expected + +set -e pipefail + +curl -s 127.0.0.1:9131/metrics | grep -q '^varnish_up 1$'