go.uber.org/cadence@v1.2.9/docker/buildkite/docker-compose.yml (about) 1 version: "3.5" 2 3 services: 4 cassandra: 5 image: cassandra:4.1.3 6 ports: 7 - "9042:9042" 8 networks: 9 services-network: 10 aliases: 11 - cassandra 12 13 statsd: 14 image: hopsoft/graphite-statsd 15 ports: 16 - "8080:80" 17 - "2003:2003" 18 - "8125:8125" 19 - "8126:8126" 20 networks: 21 services-network: 22 aliases: 23 - statsd 24 25 cadence: 26 image: ubercadence/server:master-auto-setup 27 ports: 28 - "7933:7933" 29 - "7833:7833" 30 - "7934:7934" 31 - "7935:7935" 32 - "7939:7939" 33 environment: 34 - "CASSANDRA_SEEDS=cassandra" 35 - "STATSD_ENDPOINT=statsd:8125" 36 - "DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml" 37 depends_on: 38 - cassandra 39 - statsd 40 networks: 41 services-network: 42 aliases: 43 - cadence 44 45 integ-test: 46 build: 47 context: ../../ 48 dockerfile: ./docker/buildkite/Dockerfile 49 environment: 50 - "SERVICE_ADDR=cadence:7933" 51 - "GO111MODULE=on" 52 depends_on: 53 - cadence 54 volumes: 55 - ../../:/go/src/go.uber.org/cadence 56 networks: 57 services-network: 58 aliases: 59 - integ-test 60 61 integ-test-grpc: 62 build: 63 context: ../../ 64 dockerfile: ./docker/buildkite/Dockerfile 65 environment: 66 - "SERVICE_ADDR=cadence:7833" 67 - "ENABLE_GRPC_ADAPTER=true" 68 - "GO111MODULE=on" 69 depends_on: 70 - cadence 71 volumes: 72 - ../../:/go/src/go.uber.org/cadence 73 networks: 74 services-network: 75 aliases: 76 - integ-test 77 78 unit-test: 79 build: 80 context: ../../ 81 dockerfile: ./docker/buildkite/Dockerfile 82 environment: 83 - "GO111MODULE=on" 84 volumes: 85 - ../../:/go/src/go.uber.org/cadence 86 networks: 87 services-network: 88 aliases: 89 - unit-test 90 91 coverage-report: 92 build: 93 context: ../../ 94 dockerfile: ./docker/buildkite/Dockerfile 95 environment: 96 - CI 97 - BUILDKITE 98 - BUILDKITE_AGENT_ACCESS_TOKEN 99 - BUILDKITE_JOB_ID 100 - BUILDKITE_BUILD_ID 101 - BUILDKITE_BUILD_NUMBER 102 - BUILDKITE_BRANCH 103 - BUILDKITE_BUILD_URL 104 - BUILDKITE_PROJECT_SLUG 105 - BUILDKITE_COMMIT 106 - BUILDKITE_PULL_REQUEST 107 - BUILDKITE_TAG 108 - BUILDKITE_REPO 109 - BUILDKITE_BUILD_CREATOR 110 - BUILDKITE_BUILD_CREATOR_EMAIL 111 - BUILDKITE_BUILD_CREATOR_TEAMS 112 - BUILDKITE_PULL_REQUEST_REPO 113 - COVERALLS_TOKEN 114 - "GO111MODULE=on" 115 volumes: 116 - ../../:/go/src/go.uber.org/cadence 117 - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent 118 119 networks: 120 services-network: 121 name: services-network 122 driver: bridge