Compare commits

..

No commits in common. "sandbox" and "master" have entirely different histories.

3 changed files with 0 additions and 33 deletions

View File

@ -1,19 +0,0 @@
---
matrix:
include:
- GOOS: linux
GOARCH: amd64
pipeline:
build:
image: docker.io/library/golang:1.19
commands:
- go build -ldflags="-s -w" -trimpath -o bin/ubsserver-${GOOS}-${GOARCH} ./cmd/ubsserver
- curl -s --user "$GITEA_ARTIFACT_USERNAME:$GITEA_ARTIFACT_PASSWORD" --upload-file bin/ubsserver-${GOOS}-${GOARCH} https://git.worn.eu/api/packages/${CI_REPO_OWNER}/generic/${CI_REPO_NAME}/${CI_COMMIT_TAG}/ubsserver-${GOOS}-${GOARCH}
secrets:
- gitea_artifact_username
- gitea_artifact_password
when:
event: tag
depends_on:
- lint
- test

View File

@ -1,6 +0,0 @@
---
pipeline:
lint:
image: docker.io/library/golang:1.19
commands:
- go vet $(go list ./... | grep -v /vendor/)

View File

@ -1,8 +0,0 @@
---
pipeline:
test:
image: docker.io/library/golang:1.19
commands:
- go test -race $(go list ./... | grep -v /vendor/)
depends_on:
- lint