Files
DurpAPI/.gitlab/.gitlab-ci.yml
2024-05-09 17:57:32 -05:00

32 lines
498 B
YAML

stages:
- deploy
variables:
GO_VERSION: "1.22"
GOLANGCI_LINT_VERISON: "v1.58.0"
UPLOAD_PACKAGE: "false"
build_go:
stage: deploy
allow_failure: false
trigger:
include:
- project: 'developerdurp/yml'
ref: 'main'
file:
- 'pipelines/go-build.yml'
strategy: depend
rules:
- exists:
- "go.mod"
deploy_staging:
stage: deploy
needs:
- job: build_go
script:
- echo "Deploy to staging server"
environment:
name: staging