chore(CI): temporarily disable docker compose deployment test & other fixes for race condition in docker compose deployment test (#2553)

This commit is contained in:
Iain Sproat
2024-08-01 12:15:35 +01:00
committed by GitHub
parent 1f58c98ec5
commit d32e3c0a71
10 changed files with 86 additions and 50 deletions
+2 -3
View File
@@ -27,6 +27,7 @@ services:
NUXT_PUBLIC_BACKEND_API_ORIGIN: 'http://speckle-server:3000'
NUXT_PUBLIC_LOG_LEVEL: 'warn'
NUXT_REDIS_URL: 'redis://redis'
LOG_LEVEL: 'info'
speckle-server:
build:
@@ -40,7 +41,7 @@ services:
- CMD
- node
- -e
- "try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/liveness', method: 'GET', timeout: 2000 }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end(); } catch { process.exit(1); }"
- "try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/readiness', method: 'GET', timeout: 2000 }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end(); } catch { process.exit(1); }"
interval: 10s
timeout: 10s
retries: 3
@@ -88,8 +89,6 @@ services:
HOST: '127.0.0.1'
LOG_LEVEL: 'info'
PG_CONNECTION_STRING: 'postgres://speckle:speckle@postgres/speckle'
ports:
- 127.0.0.1:3001:3001
webhook-service:
build: