From 9070e672b630c2d133492bc15dd7b2e9fc282540 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff <93011140+darin-kelkhoff@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:41:22 -0500 Subject: [PATCH 1/3] Add .circleci/config.yml --- .circleci/config.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..8e4fd3e --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,46 @@ +# Java Gradle CircleCI 2.0 configuration file +# See: https://circleci.com/docs/2.0/language-java/ +version: 2 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + build: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + # specify the version you desire here + - image: circleci/openjdk:11-jdk + + # Specify service dependencies here if necessary + # CircleCI maintains a library of pre-built images + # documented at https://circleci.com/docs/2.0/circleci-images/ + # - image: circleci/postgres:9.4 + + working_directory: ~/repo + + environment: + # Customize the JVM maximum heap limit + JVM_OPTS: -Xmx3200m + TERM: dumb + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + + # Download and cache dependencies + - restore_cache: + keys: + - v1-dependencies-{{ checksum "build.gradle" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- + + - run: gradle dependencies + + - save_cache: + paths: + - ~/.gradle + key: v1-dependencies-{{ checksum "build.gradle" }} + + # run tests! + - run: gradle test -- 2.54.0 From f7ffc2a3e578c49b7c372e822671d0f64e2001bc Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff <93011140+darin-kelkhoff@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:45:47 -0500 Subject: [PATCH 2/3] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e4fd3e..f8b942a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor docker: # specify the version you desire here - - image: circleci/openjdk:11-jdk + - image: cimg/openjdk:11-jdk # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images -- 2.54.0 From 533bb04608f4db3fc25f708dd2f9de0cc4314912 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff <93011140+darin-kelkhoff@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:47:31 -0500 Subject: [PATCH 3/3] Updated config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8b942a..8e4fd3e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor docker: # specify the version you desire here - - image: cimg/openjdk:11-jdk + - image: circleci/openjdk:11-jdk # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images -- 2.54.0