forked from tuenti/secrets-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
30 lines (28 loc) · 983 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3.4'
services:
secrets-manager-local:
build:
context: .
target: dev
dockerfile: ./deploy/Dockerfile
volumes:
- "./:/workspace"
tests:
build:
context: .
target: dev
dockerfile: ./deploy/Dockerfile
volumes:
- "./:/workspace"
command: >
bash -c "pwd && mkdir -p controllers/$$ENVTEST_ASSETS_DIR &&
test -f controllers/$$ENVTEST_ASSETS_DIR/setup-envtest.sh || curl -sSLo controllers/$$ENVTEST_ASSETS_DIR/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.8.3/hack/setup-envtest.sh &&
source controllers/$$ENVTEST_ASSETS_DIR/setup-envtest.sh &&
fetch_envtest_tools controllers/$$ENVTEST_ASSETS_DIR &&
setup_envtest_env $$ENVTEST_ASSETS_DIR &&
go test -v ./backend... ./errors/... ./controllers/... -coverprofile cover.out"
secrets-manager:
build:
context: .
target: release
dockerfile: ./deploy/Dockerfile