Files
windmill/cli/test/docker-compose.test.yml
T
Alexander Petric aa37f643e7 feat: git sync improvements (#6182)
* init checkpoint

* ui second pass...

* round 1 backend + saving settings + detecting changes...

* checkpoint

* fix openapi

* saving + correct wmill.yaml diff

* cli refactor

* cli and tests refactor done

* cli multi workspace support

* cli support skip core types to align with ui

* new test framework

* sqlx

* openapi spec

* frontend

* sync + settings changes

* some fixes

* some fixes

* security: Remove hardcoded EE license key, use environment variable only

- Remove hardcoded license key from containerized test backend
- Environment variable EE_LICENSE_KEY now required for EE features
- License key no longer stored in database during tests

* sqlx

* tests

* fixing tests

* fix tests

* checkpoint

* checkpoint

* cli build

* frontend - cli exchange

* settings match

* ee repo ref

* npm check

* openapi

* tests

* checkpoint

* cli + tests

* reset to preview on changes

* merge issue ee

* cleanup

* hubscript

* simplifications

* ee repo ref

* cli fixes

* fix sync and add tests

* extra test

* git sync settings / key change aware

* ee-repo ref

* ee-repo ref

* ee repo ref

* ee ref

* review 1

* ee ref

* Update frontend/src/lib/components/PullGitRepoPopover.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update frontend/src/routes/(root)/(logged)/workspace_settings/+page.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* ee ref

* remove extra includes from ui

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-15 16:25:31 +00:00

74 lines
1.9 KiB
YAML

version: "3.7"
x-logging: &default-logging
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
compress: "true"
services:
test_db:
image: postgres:16
environment:
POSTGRES_PASSWORD: testpass123
POSTGRES_DB: windmill_test
POSTGRES_USER: postgres
ports:
- "5433:5432" # Use different port to avoid conflicts
volumes:
- test_db_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d windmill_test"]
interval: 10s
timeout: 5s
retries: 5
logging: *default-logging
test_windmill_server:
image: windmill-test:latest
environment:
- DATABASE_URL=postgres://postgres:testpass123@test_db/windmill_test?sslmode=disable
- MODE=server
- LICENSE_KEY=${EE_LICENSE_KEY}
- RUST_LOG=info
- DISABLE_TELEMETRY=true
- METRICS_ENABLED=false
ports:
- "8001:8000" # Use different port to avoid conflicts
depends_on:
test_db:
condition: service_healthy
volumes:
- test_worker_logs:/tmp/windmill/logs
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/version"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
logging: *default-logging
test_windmill_worker:
image: windmill-test:latest
environment:
- DATABASE_URL=postgres://postgres:testpass123@test_db/windmill_test?sslmode=disable
- MODE=worker
- WORKER_GROUP=default
- LICENSE_KEY=${EE_LICENSE_KEY}
- RUST_LOG=info
- DISABLE_TELEMETRY=true
- NUM_WORKERS=1
- SLEEP_QUEUE=50
depends_on:
test_db:
condition: service_healthy
test_windmill_server:
condition: service_healthy
volumes:
- test_worker_logs:/tmp/windmill/logs
logging: *default-logging
volumes:
test_db_data: null
test_worker_logs: null