clean up ci manifest
This commit is contained in:
parent
34ae1ef7ff
commit
3f8d0beac8
|
@ -4,9 +4,6 @@
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
|
|
||||||
# Normal binary
|
|
||||||
home-dns
|
|
||||||
|
|
||||||
# Test binary, build with `go test -c`
|
# Test binary, build with `go test -c`
|
||||||
*.test
|
*.test
|
||||||
|
|
||||||
|
@ -16,5 +13,11 @@ home-dns
|
||||||
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
|
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
|
||||||
.glide/
|
.glide/
|
||||||
|
|
||||||
|
# Misc Go
|
||||||
|
bin/
|
||||||
|
pkg/
|
||||||
|
src/github.com/
|
||||||
|
src/gopkg.in/
|
||||||
|
|
||||||
# Config files
|
# Config files
|
||||||
config.yml
|
config.yml
|
||||||
|
|
|
@ -9,12 +9,14 @@ build:app:
|
||||||
tags:
|
tags:
|
||||||
- runner:k8s
|
- runner:k8s
|
||||||
script:
|
script:
|
||||||
- go get
|
- go get home-dns
|
||||||
- go build
|
- go build home-dns
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- home-dns
|
- bin/home-dns
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
|
variables:
|
||||||
|
GOPATH: "${CI_PROJECT_DIR}"
|
||||||
|
|
||||||
build:image:
|
build:image:
|
||||||
stage: image
|
stage: image
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
FROM apextoaster/base
|
FROM apextoaster/base
|
||||||
|
|
||||||
ADD ./home-dns /app/home-dns
|
ADD ./bin/home-dns /app/home-dns
|
||||||
|
|
||||||
CMD /app/home-dns /app/config.yml
|
CMD /app/home-dns /app/config.yml
|
||||||
|
|
Loading…
Reference in New Issue