grim/convey
Clone
Summary
Browse
Changes
Graph
Get the build working again
2019-07-27, Gary Kramlich
2d15c52b8c11
Parents
f2239a75d239
Children
66f30f8e3cc8
Get the build working again
1 files changed, 16 insertions(+), 16 deletions(-)
+16
-16
convey.yml
--- a/convey.yml Sat Jul 27 10:07:00 2019 -0500
+++ b/convey.yml Sat Jul 27 10:31:49 2019 -0500
@@ -8,7 +8,7 @@
import:
type: docker/import
files:
- - ./
+ - .:.
export:
type: docker/export
files:
@@ -20,43 +20,44 @@
type: convey/clean
files:
- convey-*
- - '**/junit.xml'
go-test:
type: docker/run
- image: convey/go-test:latest
- export-junit:
- type: docker/export
- files:
- - '**/junit.xml'
+ image: golang:1.12-buster
+ workdir: ${CONVEY_WORKSPACE}
+ command: go test ./...
build-linux:
type: docker/run
- image: convey/go-build:latest
- command: -o convey-${CONVEY_VERSION}-linux-amd64
+ image: golang:1.12-buster
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=amd64
+ workdir: ${CONVEY_WORKSPACE}
+ command: go build -o convey-${CONVEY_VERSION}-linux-amd64
build-windows:
type: docker/run
- image: convey/go-build:latest
- command: -o convey-${CONVEY_VERSION}-windows-amd64.exe
+ image: golang:1.12-buster
environment:
- GOOS=windows
- GOARCH=amd64
+ workdir: ${CONVEY_WORKSPACE}
+ command: go build -o convey-${CONVEY_VERSION}-windows-amd64.exe
build-darwin:
type: docker/run
- image: convey/go-build:latest
- command: -o convey-${CONVEY_VERSION}-darwin-amd64
+ image: golang:1.12-buster
environment:
- GOOS=darwin
- GOARCH=amd64
+ workdir: ${CONVEY_WORKSPACE}
+ command: go build -o convey-${CONVEY_VERSION}-darwin-amd64
build-freebsd:
type: docker/run
- image: convey/go-build:latest
- command: -o convey-${CONVEY_VERSION}-freebsd-amd64
+ image: golang:1.12-buster
environment:
- GOOS=freebsd
- GOARCH=amd64
+ workdir: ${CONVEY_WORKSPACE}
+ command: go build -o convey-${CONVEY_VERSION}-freebsd-amd64
# tasks for the deploy plan
import-release:
@@ -145,7 +146,6 @@
- name: testing
tasks:
- go-test
- - export-junit
- name: build
concurrent: true
tasks: