Skip to content
Snippets Groups Projects
Commit 9a0f3c4a authored by Alina Schmidt's avatar Alina Schmidt
Browse files

Test build job

parent 57f4d70f
No related branches found
No related tags found
No related merge requests found
Pipeline #73462 passed
......@@ -14,24 +14,25 @@ variables:
GO_BIN_PATH: ./${GO_BIN_DIR}/${CI_PROJECT_NAME}
stages:
# - build
- build
- test
# - deploy
.image:
image: golang:1.21.6-alpine
#build-job:
# stage: build
# extends:
# - .image
# script:
# - go get -t ./...
# - go build -o ./artifact.bin ./*.go
# artifacts:
# paths:
# - ./artifacts
build-job:
stage: build
extends:
- .image
script:
- cd DefineAndRunPipeline/webservice
- go mod download
- go build -o ./artifact.bin ./*.go
artifacts:
paths:
- ./artifacts
test-job:
stage: test
......
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