Initial set of builds for Cadmium

This commit is contained in:
2018-07-12 00:52:35 +01:00
parent 87b9f7bace
commit 2cf8752f0b
6 changed files with 147 additions and 0 deletions

23
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,23 @@
image: golang:1.10
build:
stage: build
variables:
CADDY_TAG: $CI_COMMIT_TAG
script:
- scripts/download "$(dirname $CI_PROJECT_URL)/caddy/-/archive/${CADDY_TAG}/caddy-${CADDY_TAG}.tar.gz"
- mkdir -p "$GOPATH/src/github.com/mholt"
- ln -s "$(pwd)/source" "$GOPATH/src/github.com/mholt/caddy"
- scripts/build ${CADDY_TAG}
artifacts:
paths:
- cadmium
- source
only:
- tags
- api
- pipelines
- triggers
- web