Files
schemas/.goreleaser.yml
T
argoyle 23cdec0664
schemas / check-release (pull_request) Failing after 1m11s
schemas / vulnerabilities (pull_request) Successful in 2m4s
schemas / check (pull_request) Successful in 4m1s
schemas / build (pull_request) Has been skipped
schemas / deploy-prod (pull_request) Has been skipped
pre-commit / pre-commit (pull_request) Successful in 5m6s
feat: migrate from GitLab CI to Gitea Actions
- Update git remote to git.unbound.se
- Add Gitea workflows: ci.yaml, pre-commit.yaml, release.yaml, goreleaser.yaml
- Delete .gitlab-ci.yml
- Update Go module path to gitea.unbound.se/unboundsoftware/schemas
- Update all imports to new module path
- Update Docker registry to oci.unbound.se
- Update .goreleaser.yml for Gitea releases with internal cluster URL
- Remove GitLab CI linter from pre-commit config
- Use shared release workflow with tag_only for versioning

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:32:09 +01:00

56 lines
1.1 KiB
YAML

project_name: unbound-schemas
version: 2
env:
- CGO_ENABLED=0
builds:
- id: schemactl
main: ./cmd/schemactl/schemactl.go
binary: schemactl
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
homebrew_casks:
- name: unbound-schemas
repository:
owner: unboundsoftware
name: homebrew-taps
git:
url: 'http://gitea-http.gitea.svc.cluster.local:3000/unboundsoftware/homebrew-taps.git'
token: '{{ .Env.GITEA_TOKEN }}'
binaries: [schemactl]
directory: Casks
commit_author:
name: "Joakim Olsson"
email: joakim@unbound.se
homepage: "https://schemas.unbound.se/"
hooks:
post:
install: |
# replace foo with the actual binary name
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/schemactl"]
url_template: "https://git.unbound.se/unboundsoftware/schemas/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
archives:
- id: unbound-schemas
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^Merge'
- '^docs:'
- '^test:'