From e5b6f3e5777351204ed2f41da73d9e583e966e12 Mon Sep 17 00:00:00 2001 From: Artem Sidorkin Date: Thu, 25 Mar 2021 17:00:22 +0300 Subject: [PATCH] #10: Use a single job instead of two. Optimized circleci config. --- .circleci/config.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a967872..2f46da9 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,20 +25,6 @@ jobs: path: ~/junit - store_artifacts: path: ~/container-logs - deploy-artifacts: - machine: true - working_directory: ~/eventuate-tram-core-quarkus - steps: - - checkout - - restore_cache: - keys: - - eventuate-tram-core-quarkus-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }} - - eventuate-tram-core-quarkus- - - run: TERM=dumb ./gradlew testClasses aggregateJavaDocs - - save_cache: - paths: - - ~/.gradle - key: eventuate-tram-core-quarkus-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }} - run: name: Publish artifacts command: | @@ -47,9 +33,6 @@ workflows: version: 2 build-test-and-deploy: jobs: - - build-and-test-all - - deploy-artifacts: + - build-and-test-all: context: - publish - requires: - - build-and-test-all