docker-compose.ci.yml 739 B

123456789101112131415161718192021222324252627282930313233
  1. # This file was auto-generated, do not edit it directly.
  2. # Instead run bin/update_build_scripts from
  3. # https://github.com/sharelatex/sharelatex-dev-environment
  4. # Version: 1.1.3
  5. version: "2"
  6. services:
  7. test_unit:
  8. image: gcr.io/csh-gcdm-test/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  9. command: npm run test:unit:_run
  10. test_acceptance:
  11. build: .
  12. image: gcr.io/csh-gcdm-test/$PROJECT_NAME:$BRANCH_NAME-$BUILD_NUMBER
  13. extends:
  14. file: docker-compose-config.yml
  15. service: ci
  16. environment:
  17. REDIS_HOST: redis
  18. MONGO_HOST: mongo
  19. POSTGRES_HOST: postgres
  20. depends_on:
  21. - mongo
  22. - redis
  23. command: npm run test:acceptance:_run
  24. redis:
  25. image: redis
  26. mongo:
  27. image: mongo:3.4