From 9800cf83cca7b3123a6818e7a78f2a20b654c790 Mon Sep 17 00:00:00 2001 From: Per Abich Date: Mon, 24 Feb 2020 10:27:53 +0100 Subject: [PATCH 1/5] Added missing descriptions --- postfix_exporter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postfix_exporter.go b/postfix_exporter.go index 18f906c..ddbecd1 100644 --- a/postfix_exporter.go +++ b/postfix_exporter.go @@ -624,6 +624,8 @@ func (e *PostfixExporter) Describe(ch chan<- *prometheus.Desc) { e.smtpdTLSConnects.Describe(ch) ch <- e.smtpStatusDeferred.Desc() e.unsupportedLogEntries.Describe(ch) + e.smtpConnectionTimedOut.Describe(ch) + e.opendkimSignatureAdded.Describe(ch) } func (e *PostfixExporter) foreverCollectFromJournal(ctx context.Context) { From 1456fb0095858d485539a4b48502a9eceae407e0 Mon Sep 17 00:00:00 2001 From: Per Abich Date: Tue, 25 Feb 2020 10:39:00 +0100 Subject: [PATCH 2/5] Added Travis config file (cherry picked from commit a1f115bef9e476c6efde60f5c7f9ec9f063c9486) --- .travis.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .travis.yaml diff --git a/.travis.yaml b/.travis.yaml new file mode 100644 index 0000000..7210eb9 --- /dev/null +++ b/.travis.yaml @@ -0,0 +1,6 @@ +language: go + +go: + - "1.13" + - "1.12" + - stable \ No newline at end of file From 208f99cee2d3e083c8ede01e31537192bb1e25a2 Mon Sep 17 00:00:00 2001 From: Per Abich Date: Tue, 25 Feb 2020 10:50:16 +0100 Subject: [PATCH 3/5] Added Travis config file (cherry picked from commit 3e20a86b1dad054faee72d5cca2671cb76adb827) --- .travis.yaml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .travis.yaml => .travis.yml (100%) diff --git a/.travis.yaml b/.travis.yml similarity index 100% rename from .travis.yaml rename to .travis.yml From 8dd22155dc8383771bc79dccabd41be9cb9639d0 Mon Sep 17 00:00:00 2001 From: Per Abich Date: Tue, 25 Feb 2020 10:55:38 +0100 Subject: [PATCH 4/5] Added libsystemd-dev package to travis build env. (cherry picked from commit be9aeb48ac3c152cef7f629fe698d196593f8b9b) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7210eb9..c6b6c13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,9 @@ language: go go: - "1.13" - "1.12" - - stable \ No newline at end of file + - stable + +addons: + apt: + packages: + - libsystemd-dev \ No newline at end of file From 23c29672fce33184c5748d7597d8e6ffef2021cb Mon Sep 17 00:00:00 2001 From: Per Abich Date: Tue, 25 Feb 2020 11:04:53 +0100 Subject: [PATCH 5/5] Better config for travis (cherry picked from commit 9daef831b31121ae1c0f424599e76aa9adb81585) --- .travis.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c6b6c13..95f7b22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,24 @@ language: go -go: - - "1.13" - - "1.12" - - stable +matrix: + include: + - go: 1.13.x + env: VET=1 GO111MODULE=on + - go: 1.13.x + env: RACE=1 GO111MODULE=on + - go: 1.13.x + env: RUN386=1 + - go: 1.12.x + env: GO111MODULE=on + - go: 1.11.x + env: GO111MODULE=on + - go: stable addons: apt: packages: - - libsystemd-dev \ No newline at end of file + - libsystemd-dev + +env: + global: + GO111MODULE: on \ No newline at end of file