7 Commits
v0.1.0 ... main

Author SHA1 Message Date
bea
e71d4e989a ci: simplify pipeline - use GOPRIVATE for direct git access, no package registry
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-10 00:48:39 +01:00
bea
d7e5857ee0 ci: fix warm-proxy variable expansion (use $VAR not ${VAR} for shell vars)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2026-03-10 00:29:38 +01:00
bea
5d837e47ef ci: replace publish step with warm-proxy (Gitea serves modules from git tags natively)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2026-03-10 00:25:05 +01:00
bea
cbb857172c ci: fix publish step - replace go mod zip with python zipfile (go mod zip removed in Go 1.24+)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2026-03-10 00:17:41 +01:00
bea
9001e85f2b ci: publish Go module to Gitea package registry on tag
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-09 23:33:45 +01:00
bea
7df2bc6831 ci: remove Gitea Actions workflow (using Drone instead)
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-09 23:33:08 +01:00
bea
677b51956f ci: add Gitea Actions workflow to publish Go package on tag
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-09 23:27:47 +01:00

View File

@@ -1,60 +1,37 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: go-auth-ci name: go-auth
trigger: trigger:
branch:
- main
- develop
event: event:
- push - push
- pull_request - pull_request
environment:
GOPRIVATE: git.beatrice.wtf/panic.haus/*
GONOSUMDB: git.beatrice.wtf/panic.haus/*
steps:
- name: test
image: golang:1.26
commands:
- go mod download
- go test ./... -count=1
- name: build
image: golang:1.26
commands:
- go build ./...
---
kind: pipeline
type: docker
name: go-auth-release
trigger:
event:
- tag - tag
ref:
- refs/tags/v*
environment: environment:
GOPRIVATE: git.beatrice.wtf/panic.haus/* GOPRIVATE: git.beatrice.wtf/panic.haus/*
GONOSUMDB: git.beatrice.wtf/panic.haus/* GONOSUMDB: git.beatrice.wtf/panic.haus/*
GONOSUMCHECK: git.beatrice.wtf/panic.haus/*
steps: steps:
- name: test - name: test
image: golang:1.26 image: golang:1.26
volumes:
- name: go-mod-cache
path: /go/pkg/mod
commands: commands:
- go mod download - go mod download
- go test ./... -count=1 - go test ./... -count=1
- name: build - name: build
image: golang:1.26 image: golang:1.26
volumes:
- name: go-mod-cache
path: /go/pkg/mod
commands: commands:
- go build ./... - go build ./...
- name: warm-proxy volumes:
image: golang:1.26 - name: go-mod-cache
commands: temp: {}
- go list -m git.beatrice.wtf/panic.haus/go-auth@${DRONE_TAG}