build: fix test-result collection for grace_nighty job (#20590)

pull/20298/head
Daniel Moran 2021-02-04 12:44:53 -05:00 committed by GitHub
parent 3ee98cc0b4
commit 1e58293837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions

View File

@ -777,11 +777,12 @@ jobs:
- attach_workspace:
at: ~/project
- quay_login
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -e TEST_RESULTS=~/project quay.io/influxdb/grace:latest
- run: mkdir -p ~/project/results
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project/results:/grace/test-results/grace-results -e TEST_RESULTS=~/project/results quay.io/influxdb/grace:latest
- store_artifacts:
path: ~/project
path: ~/project/results
- store_test_results:
path: ~/project
path: ~/project/results
grace_daily:
machine: true
@ -792,6 +793,9 @@ jobs:
- run:
command: ./bin/linux/influxd --store=memory --log-level=debug
background: true
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project:/grace/test-results/grace-results quay.io/influxdb/grace:daily
- run: mkdir -p ~/project/results
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project/results:/grace/test-results/grace-results quay.io/influxdb/grace:daily
- store_artifacts:
path: ~/project
path: ~/project/results
- store_test_results:
path: ~/project/results