Verified Commit 09f7bbd4 authored by Nick Lin's avatar Nick Lin
Browse files

Add CI CD Setting File

parent 5e742df7
Pipeline #168081245 passed with stages
in 1 minute
image: docker:19.03.11
stages:
- test
- build
- deploy-Docker-Build
- deploy-Manual
image: docker:19.03.11
stages:
- test
- build
- deploy-Docker-Build
- deploy-Manual
unit_test:
stage: test
image: golang:1.14.3-alpine
script:
- CGO_ENABLED=0 GOOS=linux go test ./...
build_App:
stage: build
image: golang:1.14.3-alpine
script:
- go build -o $CI_PROJECT_DIR/$PATH_NAME/app
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment