Skip to content

Commit 52223ae

Browse files
committed
gha: test: bringup a foreground instance first to check for crashing instance, under a 30s timeout; do not fail
1 parent 04f7b60 commit 52223ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ jobs:
4242
push: false
4343
load: true
4444

45+
- name: Start foreground instance for first-contact sanity checking
46+
run: |
47+
timeout 30 docker run --rm --name docker_registry_proxy \
48+
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=false \
49+
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
50+
-v $(pwd)/docker_mirror_certs:/ca \
51+
sanity-check/docker-registry-proxy:latest || true
52+
4553
- name: Start proxy instance in docker (ENABLE_MANIFEST_CACHE=false)
4654
run: |
4755
docker run -d --rm --name docker_registry_proxy \

0 commit comments

Comments
 (0)