mirror of
https://github.com/hanzozt/zt.git
synced 2026-10-30 15:04:55 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
23 lines
756 B
YAML
23 lines
756 B
YAML
services:
|
|
quickstart-test:
|
|
profiles:
|
|
- test
|
|
image: golang:${ZITI_GO_VERSION:-noop}-alpine
|
|
volumes:
|
|
# mount the parent dir of the quickstart, which is the top-level of the zt repo working copy, as /mnt
|
|
- ${ZITI_QUICK_DIR:-noop}/..:/mnt
|
|
# re-run tests if significant changes from last result in GOCACHE
|
|
- ${GOCACHE:-${HOME}/.cache/go-build}:/.cache/go-build
|
|
# re-download dep packages if significant changes from last download in GOPATH
|
|
- ${GOPATH:-${HOME}/go}:/go
|
|
working_dir: /mnt
|
|
environment:
|
|
GOCACHE: /.cache/go-build
|
|
GOPATH: /go
|
|
GOFLAGS: "-tags=quickstart,manual"
|
|
ZITI_ROUTER_NAME:
|
|
ZITI_PWD:
|
|
networks:
|
|
- zt
|
|
command: go test -v ./zt/cmd/edge/...
|