Unset CIRCLE_NODE_TOTAL and CIRCLE_NODE_INDEX
Since it breaks CircleCI.
The plugin tries to be "smart", but we don't run unit tests in ALL Circle containers and so splitting is wrong
@@ -34,7 +34,7 @@ dependencies:
test:
override:
- - case $CIRCLE_NODE_INDEX in 0) make ci-checks ci-packs-tests ;; 1) make ci-unit ;; 2) make ci-integration ;; 3) make ci-unit ;; 4) make ci-integration ;; esac:
+ - case $CIRCLE_NODE_INDEX in 0) unset CIRCLE_NODE_TOTAL; unset CIRCLE_NODE_INDEX; make ci-checks ci-packs-tests ;; 1) unset CIRCLE_NODE_TOTAL; unset CIRCLE_NODE_INDEX; make ci-unit ;; 2) unset CIRCLE_NODE_TOTAL; unset CIRCLE_NODE_INDEX; make ci-integration ;; 3) unset CIRCLE_NODE_TOTAL; unset CIRCLE_NODE_INDEX; make ci-unit ;; 4) unset CIRCLE_NODE_TOTAL; unset CIRCLE_NODE_INDEX; make ci-integration ;; esac:
parallel: true
post:
- case $CIRCLE_NODE_INDEX in 0) . virtualenv/bin/activate; st2common/bin/st2-generate-api-spec > $CIRCLE_ARTIFACTS/openapi.yaml ;; [1,2]) codecov ;; esac:
