75fe6c073b
This is a long-needed test that tests the whole pipeline from Nginx, Relay, to Kafka, and Snuba. The final missing piece is testing the Symbolicator integration. This PR is also a follow up to #576 as it didn't solve the Relay issues fully (the earlier fix was a coincidence or is not as reliable as it seemed). Fixes #486 (finally?).
23 lines
724 B
YAML
23 lines
724 B
YAML
language: bash
|
|
services: docker
|
|
|
|
env:
|
|
- DOCKER_COMPOSE_VERSION=1.24.1
|
|
|
|
before_install:
|
|
- sudo rm /usr/local/bin/docker-compose
|
|
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
|
- chmod +x docker-compose
|
|
- sudo mv docker-compose /usr/local/bin
|
|
|
|
script:
|
|
- ./install.sh
|
|
- docker-compose run --rm web createuser --superuser --email test@example.com --password test123TEST
|
|
- docker-compose up -d
|
|
- printf "Waiting for Sentry to be up"; timeout 60 bash -c 'until $(curl -Isf -o /dev/null http://localhost:9000); do printf '.'; sleep 0.5; done'
|
|
- ./test.sh
|
|
|
|
after_failure:
|
|
- docker-compose ps
|
|
- docker-compose logs
|