2022-08-18 18:55:00 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Backend
|
|
|
|
image: golang:1.13
|
|
|
|
commands:
|
|
|
|
- |
|
2022-08-18 19:09:05 +00:00
|
|
|
go get -v -t -d ./...
|
2022-08-18 18:55:00 +00:00
|
|
|
if [ -f Gopkg.toml ]; then
|
|
|
|
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
|
|
|
dep ensure
|
|
|
|
fi
|
2022-08-18 19:10:12 +00:00
|
|
|
- go build
|
2022-08-18 18:55:00 +00:00
|
|
|
|
|
|
|
#
|