generated from bisco/codex-bootstrap
test: add functional portal suite
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
db:
|
||||
volumes:
|
||||
- test_postgres_data:/var/lib/postgresql/data
|
||||
|
||||
backend:
|
||||
environment:
|
||||
WAGTAILADMIN_BASE_URL: http://azionelab.org
|
||||
|
||||
proxy:
|
||||
networks:
|
||||
default:
|
||||
aliases:
|
||||
- azionelab.org
|
||||
|
||||
functional-tests:
|
||||
build:
|
||||
context: ./tests/functional
|
||||
init: true
|
||||
environment:
|
||||
BASE_URL: http://azionelab.org
|
||||
INVALID_HOST_URL: http://proxy
|
||||
CI: "true"
|
||||
depends_on:
|
||||
proxy:
|
||||
condition: service_healthy
|
||||
profiles: ["test"]
|
||||
shm_size: 1gb
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
volumes:
|
||||
test_postgres_data:
|
||||
Reference in New Issue
Block a user