-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.test.yml
43 lines (39 loc) · 968 Bytes
/
docker-compose.test.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.2'
services:
static-container-registry:
build: .
entrypoint: /docker-test-entrypoint.sh
volumes:
- type: volume
source: images
target: /var/lib/images
- type: bind
source: ./ci/docker/static-container-registry/docker-test-entrypoint.sh
target: /docker-test-entrypoint.sh
depends_on:
- image-provisioner
image-provisioner:
build: ci/docker/image-provisioner
command: /provision-images.sh
volumes:
- type: volume
source: images
target: /var/lib/images
sut:
build:
context: .
dockerfile: ci/docker/sut/Dockerfile
command: bash_unit /test.sh
depends_on:
- static-container-registry
environment:
IMAGE: ''
IMAGES: ''
REGISTRY_HOST: 'static-container-registry'
REGISTRY_PORT: '80'
TEST_DOCKER: '0'
TEST_CRIO: '0'
TEST_CONTAINERD: '0'
TEST_SKOPEO: '1'
volumes:
images: