From 1e582938379cd9ce2e8302b89f4953bcc51b18db Mon Sep 17 00:00:00 2001 From: Daniel Moran Date: Thu, 4 Feb 2021 12:44:53 -0500 Subject: [PATCH] build: fix test-result collection for grace_nighty job (#20590) --- .circleci/config.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 70abcad79a..0377f40eda 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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