Skip to content

Commit

Permalink
build: delete duplicate jobs for grace/litmus, update nightly workflow (
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran authored Aug 17, 2021
1 parent 63bfe86 commit bfc54e1
Showing 1 changed file with 3 additions and 34 deletions.
37 changes: 3 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ workflows:
branches:
only:
- master
- litmus_nightly:
- litmus_integration:
requires:
- deploy_nightly
- grace_nightly:
- grace_daily:
requires:
- deploy_nightly

Expand Down Expand Up @@ -717,6 +717,7 @@ jobs:
- persist_to_workspace:
root: .
paths:
- dist/influxd_linux_amd64/influxd
- etc/litmus_success_notify.sh
- etc/litmus_fail_notify.sh

Expand Down Expand Up @@ -783,38 +784,6 @@ jobs:
- store_test_results:
path: ~/project

litmus_nightly:
machine: true
steps:
- attach_workspace:
at: ~/project
- run: docker run --entrypoint "./run_litmus_tests_oss.sh" -e TEST_LIST=tests_lists/gateway_api_tests.list -e DOCKERIMAGE=true --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project:/Litmus/result quay.io/influxdb/litmus:latest
- run:
name: Litmus Nightly Tests Success
when: on_success
command: bash ~/project/etc/litmus_success_notify.sh Nightly
- run:
name: Litmus Nightly Tests Fail
when: on_fail
command: bash ~/project/etc/litmus_fail_notify.sh Nightly
- store_artifacts:
path: ~/project
destination: raw-nightly-output
- store_test_results:
path: ~/project

grace_nightly:
machine: true
steps:
- attach_workspace:
at: ~/project
- 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/results
- store_test_results:
path: ~/project/results

grace_daily:
machine: true
steps:
Expand Down

0 comments on commit bfc54e1

Please sign in to comment.