修改ci文件
This commit is contained in:
parent
1ade65ba36
commit
2d12390882
|
@ -9,11 +9,22 @@ variables:
|
|||
ProjectPath: "mongo.games.com/game" # 项目相对于GOPATH的路径
|
||||
BetaBinPath: "/home/game/" # beta环境部署路径
|
||||
DevelopBinPath: "/home/game/" # develop环境部署路径
|
||||
GOPROXY: "https://goproxy.cn,direct"
|
||||
|
||||
default:
|
||||
tags:
|
||||
- gitlab
|
||||
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- ${GOPATH}/pkg/mod
|
||||
- ${GOPATH}/bin
|
||||
- .cache/go-build
|
||||
|
||||
before_script:
|
||||
- chmod -R 777 ${GOPATH}/pkg/mod .cache/go-build
|
||||
|
||||
# 锁定作业,防止并发流水线执行
|
||||
lock_job:
|
||||
stage: lock
|
||||
|
|
Loading…
Reference in New Issue