mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-15 09:36:35 +02:00
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
Main Workflow - Lint, Build, Test / python-env (push) Has been cancelled
Main Workflow - Lint, Build, Test / rust-env (push) Has been cancelled
Main Workflow - Lint, Build, Test / python-checks (push) Has been cancelled
Main Workflow - Lint, Build, Test / rust-checks (push) Has been cancelled
Main Workflow - Lint, Build, Test / clippy (mysql) (push) Has been cancelled
Main Workflow - Lint, Build, Test / clippy (postgres) (push) Has been cancelled
Main Workflow - Lint, Build, Test / clippy (spanner) (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-and-unit-test-postgres (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-postgres-image (push) Has been cancelled
Main Workflow - Lint, Build, Test / postgres-e2e-tests (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-and-unit-test-mysql (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-mysql-image (push) Has been cancelled
Main Workflow - Lint, Build, Test / mysql-e2e-tests (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-and-unit-test-spanner (push) Has been cancelled
Main Workflow - Lint, Build, Test / build-spanner-image (push) Has been cancelled
Main Workflow - Lint, Build, Test / spanner-e2e-tests (push) Has been cancelled
Build, Tag and Push Container Images to GAR / check (push) Has been cancelled
Build, Tag and Push Container Images to GAR / build-and-push-syncstorage-rs (push) Has been cancelled
Build, Tag and Push Container Images to GAR / build-and-push-syncserver-postgres (push) Has been cancelled
Build, Tag and Push Container Images to GAR / build-and-push-syncstorage-rs-spanner-python-utils (push) Has been cancelled
Build, Tag and Push Container Images to GAR / build-and-push-syncserver-postgres-python-utils (push) Has been cancelled
Build, Tag and Push Container Images to GAR / build-and-push-syncserver-mysql (push) Has been cancelled
Publish Sync docs to pages / build-mdbook (push) Has been cancelled
Publish Sync docs to pages / build-openapi (push) Has been cancelled
Publish Sync docs to pages / combine-and-prepare (push) Has been cancelled
Publish Sync docs to pages / deploy (push) Has been cancelled
test: add tokenserver util tests
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
services:
|
|
syncserver:
|
|
environment:
|
|
SYNC_TOKENSERVER__ENABLED: "true"
|
|
SYNC_TOKENSERVER__FXA_EMAIL_DOMAIN: api-accounts.stage.mozaws.net
|
|
SYNC_TOKENSERVER__FXA_METRICS_HASH_SECRET: secret0
|
|
SYNC_TOKENSERVER__RUN_MIGRATIONS: "true"
|
|
e2e-tests:
|
|
container_name: postgres-e2e-tests
|
|
depends_on:
|
|
mock-fxa-server:
|
|
condition: service_started
|
|
syncserver:
|
|
condition: service_healthy
|
|
sync-db:
|
|
condition: service_healthy
|
|
tokenserver-db:
|
|
condition: service_healthy
|
|
image: app:build
|
|
privileged: true
|
|
user: root
|
|
environment:
|
|
SYNC_SERVER_URL: http://syncserver:8000
|
|
TOKENSERVER_HOST: http://syncserver:8000
|
|
SYNC_MASTER_SECRET: secret0
|
|
SYNC_SYNCSTORAGE__DATABASE_URL: postgres://test:test@sync-db:5432/syncstorage
|
|
SYNC_TOKENSERVER__DATABASE_URL: postgres://test:test@tokenserver-db:5432/tokenserver
|
|
SQLALCHEMY_SILENCE_UBER_WARNING: 1
|
|
RESULTS_FILENAME: ${RESULTS_FILENAME:-postgres_integration_results.xml}
|
|
entrypoint:
|
|
- /bin/sh
|
|
- -c
|
|
- >-
|
|
PYTHONPATH=/app
|
|
pytest /app/tools/integration_tests/ /app/tools/tokenserver/
|
|
--junit-xml=/${RESULTS_FILENAME}
|