Files
geoipapi/.drone.yml
Ask Bjørn Hansen c991335da7
All checks were successful
continuous-integration/drone/push Build is passing
Add comprehensive test suite and documentation
- Complete unit, integration, and E2E test coverage (189 test cases)
- Enhanced CI/CD pipeline with race detection and quality checks
- Comprehensive godoc documentation for all packages
- Updated README with API docs, examples, and deployment guides
2025-07-02 01:02:28 -07:00

50 lines
873 B
YAML

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: golang:1.24
volumes:
- name: deps
path: /go
environment:
CGO_ENABLED: 1
commands:
- go mod download
- go test -v ./...
- go test -race ./...
- go test -short ./...
- go build
- go vet ./...
- go tool gofumpt -l .
- go mod verify
- name: docker
image: harbor.ntppool.org/ntppool/drone-kaniko:main
pull: always
volumes:
- name: deps
path: /go
settings:
repo: ntppool/geoipapi
registry: harbor.ntppool.org
auto_tag: true
tags: "${DRONE_BRANCH},build-${DRONE_BUILD_NUMBER},SHAABBREV,SHA7"
cache: true
username:
from_secret: harbor_username
password:
from_secret: harbor_password
volumes:
- name: deps
temp: {}
---
kind: signature
hmac: a7bb16cf7f4a0195435980fb6a90b9d1092a50c1dba87636dae891600f4b86b0
...