Compare commits

...

21 Commits

Author SHA1 Message Date
aaaebf3edc chore(renovate): apply new configuration 2025-04-14 18:25:05 +02:00
322aaeaa7f Revert "chore(renovate): remove configuration"
This reverts commit d78c979d99.
2025-04-14 18:24:33 +02:00
b8c137b759 docs(README): remove drone badge 2025-04-14 18:22:29 +02:00
54a740bbfe chore(markdownlint): remove configuration 2025-04-14 18:22:29 +02:00
d78c979d99 chore(renovate): remove configuration 2025-04-14 18:22:29 +02:00
0714bcb0f7 fix(drone): remove CI 2025-04-14 18:22:29 +02:00
8fec624ff2 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-01 17:28:20 +00:00
3a5e461636 chore(renovate): use configuration preset
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-30 21:10:39 +02:00
d439659952 chore(renovate): use configuration preset
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-30 21:09:11 +02:00
da72df1849 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.43.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-03 14:37:28 +00:00
3fa232faf6 chore(deps): update git.cryptic.systems/volker.raschek/git docker tag to v1.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-11-25 23:37:36 +00:00
b94290fc27 chore(deps): update dependency prometheus-community/bind_exporter to v0.8.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-19 18:36:27 +01:00
24b64ebd1c chore(deps): update docker.io/appleboy/drone-git-push docker tag to v1.1.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-11-17 08:26:31 +00:00
0f49a0fcee chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.42.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-14 19:36:03 +00:00
21565c982e chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.41.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-27 13:57:55 +00:00
c02bd62eef chore(deps): update docker.io/appleboy/drone-git-push docker tag to v1.1.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-18 10:14:21 +00:00
5ff8f02d13 chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.40.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-07 23:12:05 +00:00
76fcefb343 fix(renovate): use regexManagers
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-07 17:58:10 +02:00
63d09cb177 fix: use pre-compiled binary
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-02 09:23:27 +02:00
9762e9c152 chore(deps): update dependency prometheus-community/bind_exporter to v0.7.0 2024-05-02 09:13:36 +02:00
58a6b36231 fix(renovate): add pkgver 2024-05-02 09:13:27 +02:00
5 changed files with 15 additions and 301 deletions

View File

@ -1,97 +0,0 @@
---
kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.39.0
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: sync-to-aur.archlinux.org
clone:
disable: true
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: git-push
image: docker.io/appleboy/drone-git-push:1.0.6
settings:
branch: master
remote: ssh://aur@aur.archlinux.org/prometheus-bind-exporter.git
force: false
commit: false
ssh_key:
from_secret: aur_ssh_key
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/prometheus-bind-exporter-pkg

View File

@ -1,145 +0,0 @@
# markdownlint YAML configuration
# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
# Default state for all rules
default: true
# Path to configuration file to extend
extends: null
# MD003/heading-style/header-style - Heading style
MD003:
# Heading style
style: "atx"
# MD004/ul-style - Unordered list style
MD004:
style: "dash"
# MD007/ul-indent - Unordered list indentation
MD007:
# Spaces for indent
indent: 2
# Whether to indent the first level of the list
start_indented: false
# MD009/no-trailing-spaces - Trailing spaces
MD009:
# Spaces for line break
br_spaces: 2
# Allow spaces for empty lines in list items
list_item_empty_lines: false
# Include unnecessary breaks
strict: false
# MD010/no-hard-tabs - Hard tabs
MD010:
# Include code blocks
code_blocks: true
# MD012/no-multiple-blanks - Multiple consecutive blank lines
MD012:
# Consecutive blank lines
maximum: 1
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 120
# Number of characters for headings
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
stern: false
# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
MD022:
# Blank lines above heading
lines_above: 1
# Blank lines below heading
lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level
level: 1
# RegExp for matching title in front matter
front_matter_title: "^\\s*title\\s*[:=]"
# MD026/no-trailing-punctuation - Trailing punctuation in heading
MD026:
# Punctuation characters
punctuation: ".,;:!。,;:!"
# MD029/ol-prefix - Ordered list item prefix
MD029:
# List style
style: "one_or_ordered"
# MD030/list-marker-space - Spaces after list markers
MD030:
# Spaces for single-line unordered list items
ul_single: 1
# Spaces for single-line ordered list items
ol_single: 1
# Spaces for multi-line unordered list items
ul_multi: 1
# Spaces for multi-line ordered list items
ol_multi: 1
# MD033/no-inline-html - Inline HTML
MD033:
# Allowed elements
allowed_elements: []
# MD035/hr-style - Horizontal rule style
MD035:
# Horizontal rule style
style: "---"
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
MD036:
# Punctuation characters
punctuation: ".,;:!?。,;:!?"
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
MD041:
# Heading level
level: 1
# RegExp for matching title in front matter
front_matter_title: "^\\s*title\\s*[:=]"
# MD044/proper-names - Proper names should have the correct capitalization
MD044:
# List of proper names
names:
- Arch Linux
- Linux Mint
# Include code blocks
code_blocks: false
# MD046/code-block-style - Code block style
MD046:
# Block style
style: "fenced"
# MD048/code-fence-style - Code fence style
MD048:
# Code fence syle
style: "backtick"

View File

@ -2,64 +2,31 @@
pkgname=prometheus-bind-exporter pkgname=prometheus-bind-exporter
_pkgname=bind_exporter _pkgname=bind_exporter
pkgver=0.6.1 # renovate: datasource=github-releases depName=prometheus-community/bind_exporter pkgver=0.8.0 # renovate: datasource=github-releases depName=prometheus-community/bind_exporter
pkgrel=1 pkgrel=1
pkgdesc='Prometheus exporter for BIND metrics' pkgdesc='Prometheus exporter for BIND metrics'
arch=('x86_64') arch=('x86_64')
url='https://github.com/prometheus-community/bind_exporter' url='https://github.com/prometheus-community/bind_exporter'
license=('Apache') license=('Apache')
depends=('glibc')
makedepends=('go')
optdepends=('bind: for monitoring a local BIND server') optdepends=('bind: for monitoring a local BIND server')
options=('!lto') options=('!lto')
source=( source=(
"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" "$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/bind_exporter-$pkgver.linux-amd64.tar.gz"
'systemd.service' 'systemd.service'
'sysusers.conf' 'sysusers.conf'
) )
sha512sums=('d710b7228587e12a101a1d626ec5e0290b0740074f3976eee02463165030b361d3b6df556ab949d632488582ef6d4a3197270afc197d6d756a99c16e55c5448c' sha512sums=('ef53c4c5b78e8018f7f528d415f7bb0c91197d951c1ea9fa00bcb44bc2fa18a0125f1dae56a54c661d564a5a617e9d90189c26e67e16ff5a22c091a4610ac61f'
'8c22cfadddd8820258e02f53253de78cc1707f6220da13f36e682b79d58a3b59ef615b3f0c74ced01bcb6afb19c35414821575d265227512f5192182aca2d042' '8c22cfadddd8820258e02f53253de78cc1707f6220da13f36e682b79d58a3b59ef615b3f0c74ced01bcb6afb19c35414821575d265227512f5192182aca2d042'
'143591ed6c2550085a2ab5c292aa57a6ab047826158270c630acaf1dd1afc9e3cbccb612f0b684206832c8d641eb432bf4f474dd07b9dc744cfd7174d320b552') '143591ed6c2550085a2ab5c292aa57a6ab047826158270c630acaf1dd1afc9e3cbccb612f0b684206832c8d641eb432bf4f474dd07b9dc744cfd7174d320b552')
b2sums=('ad2def162e0fac5e857328bb142bc20655d0d1ea4a9d90a3bd8d305a3d86f9247671ca92f90d5ccdcb1a8bd147ed56858a9782feeac019b87666b4b18b7219c1' b2sums=('edee8966849d472bf602d35de93c53e00ba2e9ab57ea3e7c0b889383bb5bccc41ff7c83683d66ccd35ab5bf65244b300e962296498d7a9b4ee775cf786297676'
'83ac2fb9b39f10f9eb130fc566887a5dc70447265d9d567221ceccf83a9fe7ad8035dfa751ecefe9681c64fd8ddb260b3e370f956350b9cab699eed507d9affc' '83ac2fb9b39f10f9eb130fc566887a5dc70447265d9d567221ceccf83a9fe7ad8035dfa751ecefe9681c64fd8ddb260b3e370f956350b9cab699eed507d9affc'
'739b1e4e7ab277096d0875ed14d61f223e7b990e7081721e4638aebad9c3beccc270ce9944384784af8eab035dbb34a86badae687c065291bfb384abfb42573a') '739b1e4e7ab277096d0875ed14d61f223e7b990e7081721e4638aebad9c3beccc270ce9944384784af8eab035dbb34a86badae687c065291bfb384abfb42573a')
prepare() {
cd "$_pkgname-$pkgver"
# create folder for build output
mkdir build
# download dependencies
go mod download
}
build() {
cd "$_pkgname-$pkgver"
go build -v \
-buildmode=pie \
-trimpath \
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags ${LDFLAGS} \
-X github.com/prometheus/common/version.Version=$pkgver \
-X github.com/prometheus/common/version.Revision=$pkgver \
-X github.com/prometheus/common/version.Branch=tarball \
-X github.com/prometheus/common/version.BuildUser=someone@builder \
-X github.com/prometheus/common/version.BuildDate=$(date -d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
-o build .
}
#check() {
# cd "$_pkgname-$pkgver"
# go test ./...
#}
package() { package() {
# systemd integration # systemd integration
install -Dm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service" install -Dm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" install -Dm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
# binary # binary
install -Dm755 -t "$pkgdir/usr/bin" "$_pkgname-$pkgver/build/$_pkgname" install -Dm755 -t "$pkgdir/usr/bin" "$_pkgname-$pkgver.linux-amd64/$_pkgname"
} }

View File

@ -1,7 +1,6 @@
# prometheus-bind-exporter # prometheus-bind-exporter
![AUR version](https://img.shields.io/aur/version/prometheus-bind-exporter?label=AUR) ![AUR version](https://img.shields.io/aur/version/prometheus-bind-exporter?label=AUR)
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/prometheus-bind-exporter-pkg/status.svg)](https://drone.cryptic.systems/volker.raschek/prometheus-bind-exporter-pkg)
![AUR votes](https://img.shields.io/aur/votes/prometheus-bind-exporter) ![AUR votes](https://img.shields.io/aur/votes/prometheus-bind-exporter)
This repository contains build files to build the Arch Linux package `prometheus-bind-exporter`. Instead of building the This repository contains build files to build the Arch Linux package `prometheus-bind-exporter`. Instead of building the

View File

@ -1,26 +1,16 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ], "extends": [
"customManagers": [ "local>volker.raschek/renovate-config:default#master",
{ "local>volker.raschek/renovate-config:regexp#master"
"description": "Update PKGBUILD version",
"fileMatch": [
"^PKGBUILD$"
],
"matchStrings": [
"pkgver=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
]
}
], ],
"labels": [ "renovate" ],
"packageRules": [ "packageRules": [
{ {
"addLabels": [ "renovate/droneci", "renovate/automerge" ], "automerge": false,
"automerge": true, "enabled": false,
"matchManagers": "droneci", "matchDepNames": [
"matchUpdateTypes": [ "minor", "patch"] "prometheus-community/bind_exporter"
]
} }
], ]
"rebaseLabel": "renovate/rebase", }
"rebaseWhen": "behind-base-branch"
}