From 1dc5b30c40f69de9fc23fb907e70fe667547f692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Exbrayat?= <cexbrayat@users.noreply.github.com> Date: Fri, 11 Mar 2022 08:25:07 +0100 Subject: [PATCH] chore: set up circleci --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..9f663b5d --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2.1 # use CircleCI 2.1 +orbs: + browser-tools: circleci/browser-tools@1.2.4 +jobs: # a collection of steps + build: # runs not using Workflows must have a `build` job as entry point + + working_directory: ~/faidare # directory where steps will run + + docker: # run the steps with Docker + - image: cimg/openjdk:11.0-browsers # ...with this image as the primary container; this is where all `steps` will run + - image: docker.elastic.co/elasticsearch/elasticsearch:7.13.2 + name: elasticsearch + environment: + transport.host: localhost + network.host: elasticsearch + http.port: 9200 + cluster.name: es-cluster + discovery.type: single-node + xpack.security.enabled: false + ES_JAVA_OPTS: -Xms750m -Xmx750m + + steps: # a collection of executable commands + - browser-tools/install-chrome + # check out source code to working directory + - checkout + - run: ./gradlew check build -- GitLab