Skip to content
Snippets Groups Projects
Commit 0728f8ae authored by schnarkus's avatar schnarkus
Browse files

yaml lint

parent 6e1e4131
No related branches found
No related tags found
No related merge requests found
Pipeline #59205 passed
---
variables:
version: 0.0.$CI_PIPELINE_IID
stages:
- test
- build
- publish
test_job:
stage: test
image: public.ecr.aws/docker/library/golang:1.21
script:
- go get -t ./...
- go test -race -v ./...
build_job:
stage: build
image: public.ecr.aws/docker/library/golang:1.21
......@@ -26,7 +24,6 @@ build_job:
paths:
- webservice_${GOOS}_${GOARCH}.bin
expire_in: 5 min
publish_job:
stage: publish
image: public.ecr.aws/docker/library/alpine:latest
......@@ -34,8 +31,8 @@ publish_job:
- docker-privileged
dependencies:
- build_job
before_script:
- apk add --no-cache curl
before_script:
- apk add --no-cache curl
script: >
for file in $(ls webservice_*); do
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment