mirror of
https://github.com/docker/cli.git
synced 2026-11-06 13:10:41 -04:00
Add a "master" engine-version to the e2e matrix to catch regressions against the upcoming engine release before it reaches an rc. There is no "master" dind image, so just copy the engine binary from the moby/moby-bin:master image and put it into the latest dind image. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
services:
|
|
|
|
registry:
|
|
image: 'registry:3'
|
|
|
|
privateregistry:
|
|
build:
|
|
context: ./testdata/registry
|
|
environment:
|
|
- REGISTRY_HTTP_ADDR=0.0.0.0:5001
|
|
- REGISTRY_HTTP_DEBUG_ADDR=0.0.0.0:5002
|
|
- REGISTRY_AUTH=htpasswd
|
|
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
|
|
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
|
|
|
|
tlsregistry:
|
|
build:
|
|
context: ./testdata/registry
|
|
environment:
|
|
- REGISTRY_HTTP_ADDR=0.0.0.0:5003
|
|
- REGISTRY_HTTP_DEBUG_ADDR=0.0.0.0:5004
|
|
- REGISTRY_AUTH=htpasswd
|
|
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
|
|
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
|
|
- REGISTRY_HTTP_TLS_CERTIFICATE=/certs/tlsregistry.crt
|
|
- REGISTRY_HTTP_TLS_KEY=/certs/tlsregistry.key
|
|
|
|
engine:
|
|
build:
|
|
context: ./testdata
|
|
dockerfile: engine/Dockerfile
|
|
args:
|
|
ENGINE_VERSION: ${ENGINE_VERSION:-29}
|
|
ENGINE_SOURCE: ${ENGINE_SOURCE:-dind}
|
|
privileged: true
|
|
command: ['--insecure-registry=registry:5000', '--insecure-registry=privateregistry:5001', '--experimental']
|
|
environment:
|
|
- DOCKER_TLS_CERTDIR=
|