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

32 lines
479 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: python:3.9
stage: release
script:
- python3 package/release.py
only:
- tags