Skip to content

Commit 8d2262a

Browse files
committed
Add boot:docker-orchestrated job
1 parent 8be66a8 commit 8d2262a

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,31 @@ boot:docker:
155155
--retry-delay 3
156156
--retry-connrefused
157157
http://sagittarius:3000/health/liveness
158+
159+
boot:docker-orchestrated:
160+
stage: test
161+
image: docker:26.0.0-dind
162+
script:
163+
- /usr/local/bin/dockerd-entrypoint.sh &
164+
- sleep 20
165+
- docker network create sagittarius_default
166+
- >
167+
docker run
168+
--name sagittarius
169+
--network sagittarius_default
170+
--network-alias sagittarius
171+
-e RAILS_ENV=production
172+
-v /var/run/docker.sock:/var/run/docker.sock
173+
ghcr.io/code0-tech/sagittarius/ci-builds:${CI_COMMIT_SHA} &
174+
- >
175+
docker run
176+
--rm
177+
--network sagittarius_default
178+
curlimages/curl:8.5.0
179+
curl
180+
--fail
181+
-sv
182+
--retry 20
183+
--retry-delay 3
184+
--retry-connrefused
185+
http://sagittarius:3000/health/liveness

0 commit comments

Comments
 (0)