Compare commits

...
Author SHA1 Message Date
argoyleandClaude Opus 5.5 3921de91a6 ci: run goreleaser without the runner's GOCACHEPROG
schemas / vulnerabilities (pull_request) Successful in 3m32s
schemas / check (pull_request) Successful in 5m5s
schemas / check-release (pull_request) Successful in 5m12s
pre-commit / pre-commit (pull_request) Failing after 11m14s
schemas / build (pull_request) Successful in 15m19s
schemas / deploy-prod (pull_request) Skipped
goreleaser runs several go builds at once; each spawns its own gobuildcache,
and they time out on its per-entry file locks while one holds the lock
across a slow S3 call ('failed to acquire lock: context deadline exceeded',
check-release on #997). Use Go's local cache for goreleaser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
2026-10-07 16:57:18 +02:00
argoyleandClaude Opus 5.5 00160e172d fix: release to the Gitea API on its public URL
schemas / vulnerabilities (pull_request) Successful in 2m9s
schemas / check-release (pull_request) Failing after 3m3s
schemas / check (pull_request) Successful in 4m8s
schemas / build (pull_request) Skipped
schemas / deploy-prod (pull_request) Skipped
pre-commit / pre-commit (pull_request) Failing after 13m43s
schemas / check (push) Skipped
schemas / vulnerabilities (push) Skipped
schemas / check-release (push) Skipped
schemas / build (push) Skipped
pre-commit / pre-commit (push) Skipped
goreleaser's gitea_urls.api still pointed at the AWS in-cluster service (gitea-http.gitea.svc.cluster.local), which does not resolve from the Frostmoln runner. Use https://git.unbound.se/api/v1. Also drop RELEASE_TOKEN_FILE=/runner-secrets/release-token (the AWS runner mount); the Frostmoln runner exports RELEASE_TOKEN_FILE itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
2026-10-07 16:13:23 +02:00
3 changed files with 9 additions and 7 deletions

No files matched your search

+6 -2
View File
@@ -61,11 +61,15 @@ jobs:
with:
version: '~> v2'
args: check
- name: Test release build
- name: Install goreleaser
uses: goreleaser/goreleaser-action@v7
with:
version: '~> v2'
args: release --snapshot --clean
install-only: true
# Without the runner's GOCACHEPROG (gobuildcache): goreleaser's parallel
# go builds contend for its per-entry locks and time out.
- name: Test release build
run: env -u GOCACHEPROG goreleaser release --snapshot --clean
build:
needs: [check, vulnerabilities, check-release]
+2 -4
View File
@@ -5,9 +5,6 @@ on:
tags:
- 'v*'
env:
RELEASE_TOKEN_FILE: /runner-secrets/release-token
jobs:
release:
runs-on: ubuntu-latest
@@ -30,4 +27,5 @@ jobs:
run: |
GITEA_TOKEN=$(cat "${RELEASE_TOKEN_FILE}")
export GITEA_TOKEN
goreleaser release --clean
# Without GOCACHEPROG: parallel builds contend for gobuildcache's locks.
env -u GOCACHEPROG goreleaser release --clean
+1 -1
View File
@@ -2,7 +2,7 @@ project_name: unbound-schemas
version: 2
gitea_urls:
api: http://gitea-http.gitea.svc.cluster.local:3000/api/v1
api: https://git.unbound.se/api/v1
download: https://gitea.unbound.se
env: