2024-01-30 18:21:18 +03:00
|
|
|
version: '2.4'
|
|
|
|
services:
|
|
|
|
test:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./utils/test-deployment/Dockerfile
|
|
|
|
image: speckle/speckle-test-deployment:local
|
|
|
|
network_mode: 'host'
|
|
|
|
environment:
|
|
|
|
SPECKLE_SERVER: http://127.0.0.1 # this is the canonical url
|
|
|
|
SERVER_VERSION: 2
|
|
|
|
FRONTEND_VERSION: '2'
|
|
|
|
VERIFY_CERTIFICATE: '0'
|
|
|
|
restart: 'no'
|
|
|
|
|
2024-08-01 14:15:35 +03:00
|
|
|
# Docker compose run via Tilt just waits for the test to be be deployed.
|
|
|
|
# It does not wait for it to actually run to completion before exiting.
|
|
|
|
# This service ensures docker compose waits for the test to finish before exiting.
|
2024-01-30 18:21:18 +03:00
|
|
|
confirm_test_finished:
|
|
|
|
image: busybox
|
|
|
|
command: sh -c "echo '✅ Deployment of test completed successfully!'"
|
|
|
|
depends_on:
|
|
|
|
test:
|
|
|
|
condition: service_completed_successfully
|