if running test iin github actions, use influxdb service for testing.

This commit is contained in:
Jason Kulatunga
2022-04-29 16:39:14 -07:00
parent 00bc6ecd92
commit 702c7cdf7a
2 changed files with 59 additions and 13 deletions
+1 -2
View File
@@ -11,7 +11,7 @@ jobs:
# Service containers to run with `build` (Required for end-to-end testing)
services:
influxdb:
image: influxdb:2.0
image: influxdb:2.2
env:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
@@ -24,7 +24,6 @@ jobs:
env:
PROJECT_PATH: /go/src/github.com/analogj/scrutiny
CGO_ENABLED: 1
SCRUTINY_WEB_INFLUXDB_HOST: influxdb
steps:
- name: Git
run: |