Skip to content

Commit 89d1f4c

Browse files
authored
Merge pull request #4790 from manyfold3d/docker-smoke-test
Configure smoke test properly
2 parents 60d208d + 9e9e098 commit 89d1f4c

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

.github/workflows/docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,23 @@ jobs:
7373
APP_VERSION=${{ steps.docker_meta.outputs.version }}
7474
GIT_SHA=${{ github.sha }}
7575
DOCKER_TAG=${{ steps.docker_meta.outputs.tags }}
76+
77+
smoke-test:
78+
needs: build
79+
runs-on: ubuntu-latest
80+
steps:
81+
- name: Smoke test
82+
run: curl http://localhost:3214/health --fail-with-body
83+
services:
84+
manyfold:
85+
image: ghcr.io/${{ github.repository_owner }}/manyfold-solo:sha-${{ github.sha }}
86+
env:
87+
SECRET_KEY_BASE: abc123
88+
options: >-
89+
--health-cmd "cat tmp/pids/server.pid"
90+
--health-start-period 1m
91+
--health-interval 30s
92+
--health-timeout 10s
93+
--health-retries 6
94+
ports:
95+
- 3214:3214

.github/workflows/smoke_test.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)