prometheus-dnssec-exporter/.gitlab-ci.yml
2022-10-14 02:35:45 +02:00

32 lines
483 B
YAML

---
image: golang:1.19
stages:
- test
- build
- release
compile:
stage: test
script:
- go get -v
- make prometheus-dnssec-exporter .changes
artifacts:
paths:
- prometheus-dnssec-exporter
- .changes
golangci-lint:
stage: test
script:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
- golangci-lint run
release:
image: debian:bullseye
stage: release
script:
- python package/release.py
only:
- tags