grim/convey

Merge the redux branch into default.

2021-12-20, Gary Kramlich
6b1dbda836d9
Merge the redux branch into default.

This officials abandons the 0.14.0 release and moves right on to 0.15.0 which
includes replacing docker with podman and simplifying many things.
---
environment:
- GO_IMAGE=docker.io/golang:1.17-bullseye
tasks:
import:
type: convey/import
files:
- .:.
export:
type: convey/export
files:
- convey-${CONVEY_VERSION}-darwin-amd64
- convey-${CONVEY_VERSION}-freebsd-amd64
- convey-${CONVEY_VERSION}-linux-amd64
- convey-${CONVEY_VERSION}-linux-arm64
- convey-${CONVEY_VERSION}-windows-amd64.exe
clean:
type: convey/clean
files:
- convey-*
go-test:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
command: go test ./...
build-darwin-amd64:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
environment:
- GOOS=darwin
- GOARCH=amd64
command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
build-freebsd-amd64:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
environment:
- GOOS=freebsd
- GOARCH=amd64
command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
build-linux-amd64:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=amd64
command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
build-linux-arm64:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=arm64
command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}
build-windows-amd64:
type: podman/run
image: ${GO_IMAGE}
workdir: ${CONVEY_WORKSPACE}
environment:
- GOOS=windows
- GOARCH=amd64
command: go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}.exe
plans:
default:
stages:
- name: import
tasks:
- import
- name: testing
tasks:
- go-test
- name: build
concurrent: true
tasks:
- build-darwin-amd64
- build-freebsd-amd64
- build-linux-amd64
- build-linux-arm64
- build-windows-amd64
- name: export
tasks:
- export
clean:
stages:
- tasks: clean
meta-plans:
everything:
plans:
- default