Buildah containerized Go build

This commit is contained in:
Arthur Barr
2018-07-26 17:09:43 +01:00
committed by Robert Parker
parent d2ea8d4f06
commit e66bcfd77f
5 changed files with 276 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Build and test the Go code
go build ./cmd/runmqserver/
go build ./cmd/chkmqready/
go build ./cmd/chkmqhealthy/
go test -v ./cmd/runmqserver/
go test -v ./cmd/chkmqready/
go test -v ./cmd/chkmqhealthy/
go test -v ./internal/...
go vet ./cmd/... ./internal/...