From f95dfbef75f516ba23064585bae3b06c6c1871ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bresson?= Date: Fri, 31 Aug 2018 09:16:41 +0200 Subject: [PATCH] Move "ensure-up-to-date" execution to CircleCI (#944) --- CI/circle_parallel.sh | 3 +++ circle.yml | 2 +- shippable.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh index 3487a09bf6e..95b47adcebc 100755 --- a/CI/circle_parallel.sh +++ b/CI/circle_parallel.sh @@ -8,6 +8,9 @@ if [ "$NODE_INDEX" = "1" ]; then cp CI/pom.xml.circleci pom.xml java -version mvn --quiet verify -Psamples +elif [ "$NODE_INDEX" = "2" ]; then + echo "Running node $NODE_INDEX to test ensure-up-to-date" + ./bin/utils/ensure-up-to-date else echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..." sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 diff --git a/circle.yml b/circle.yml index bfbe40bcedd..cd331d259d7 100644 --- a/circle.yml +++ b/circle.yml @@ -10,7 +10,7 @@ jobs: machine: docker_layer_caching: true working_directory: ~/OpenAPITools/openapi-generator - parallelism: 2 + parallelism: 3 shell: /bin/bash --login environment: CIRCLE_ARTIFACTS: /tmp/circleci-artifacts diff --git a/shippable.yml b/shippable.yml index efb7e072864..7b48208fe8c 100644 --- a/shippable.yml +++ b/shippable.yml @@ -12,7 +12,7 @@ build: ci: - mvn --quiet clean install # ensure all modifications created by 'mature' generators are in the git repo - - ./bin/utils/ensure-up-to-date + # moved to CircleCI ./bin/utils/ensure-up-to-date # prepare environment for tests - sudo apt-get update -qq # install stack