fixes for Scrutiny end-to-end testing.

This commit is contained in:
Jason Kulatunga
2021-10-28 07:41:41 -07:00
parent ce032c5609
commit 8fb58591a6
+14
View File
@@ -7,6 +7,20 @@ jobs:
name: Build
runs-on: ubuntu-latest
container: karalabe/xgo-1.13.x
# Service containers to run with `build` (Required for end-to-end testing)
services:
influxdb:
image: influxdb:2.0
env:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: password12345
DOCKER_INFLUXDB_INIT_ORG: scrutiny
DOCKER_INFLUXDB_INIT_BUCKET: metrics
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: my-super-secret-auth-token
ports:
- 8086:8086
env:
PROJECT_PATH: /go/src/github.com/analogj/scrutiny
CGO_ENABLED: 1