stages: - build - test - deploy - review - dast - staging - canary - production - incremental rollout 10% - incremental rollout 25% - incremental rollout 50% - incremental rollout 100% - performance - cleanup sast: stage: test include: - template: Auto-DevOps.gitlab-ci.yml repository-check: stage: test image: rust:1.88-bookworm services: - name: postgres:16-alpine alias: postgres - name: redis:7-alpine alias: redis variables: POSTGRES_DB: stock_bot_safety POSTGRES_USER: fixture POSTGRES_PASSWORD: fixture PIPELINE_TEST_DATABASE_URL: postgres://fixture:fixture@postgres:5432/stock_bot_safety BACKTEST_TEST_REDIS_URL: redis://redis:6379/15 before_script: - apt-get update && apt-get install -y --no-install-recommends nodejs unzip - curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.17" - export PATH="/root/.bun/bin:$PATH" - bun install --frozen-lockfile script: - bun run check - bun run test:postgres