From 648bfda7069b981a2b29ab6775aad41d406531f0 Mon Sep 17 00:00:00 2001 From: Emanuel Zienecker Date: Fri, 26 Apr 2019 14:32:35 +0200 Subject: [PATCH 1/3] Add travis ci and remove gitlab ci --- .gitlab-ci.yml | 37 ------------------------------------- .travis-ci.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 37 deletions(-) delete mode 100644 .gitlab-ci.yml create mode 100644 .travis-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c833a9d..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -image: docker-proxy.device-insight.com/library/maven:alpine - -variables: - DOCKER_DRIVER: overlay2 - -services: - - docker:stable-dind - -mvn_test_job: - stage: build - script: > - mvn clean install -B -P gitlab - artifacts: - paths: - - kafka-health-check/target/*.log - when: on_failure - expire_in: 1 week - except: - - master - - develop - tags: - - dind - -mvn_deploy_job: - stage: build - script: > - mvn clean deploy -B -P gitlab - artifacts: - paths: - - kafka-health-check/target/*.log - when: on_failure - expire_in: 1 week - only: - - master - - develop - tags: - - dind diff --git a/.travis-ci.yml b/.travis-ci.yml new file mode 100644 index 0000000..64632df --- /dev/null +++ b/.travis-ci.yml @@ -0,0 +1,15 @@ +language: java + +jdk: + - openjdk8 + - oraclejdk8 + - oraclejdk9 + - oraclejdk11 + +cache: + directories: + - $HOME/.m2 + +install: /bin/true + +script: ./mvnw verify -B From 9250a8a045fd72df005f26d3976577682707c902 Mon Sep 17 00:00:00 2001 From: Emanuel Zienecker Date: Fri, 26 Apr 2019 16:38:30 +0200 Subject: [PATCH 2/3] Update version in readme --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 597d0a1..03745b5 100644 --- a/README.adoc +++ b/README.adoc @@ -11,7 +11,7 @@ Add the following dependency to your `pom.xml` com.deviceinsight.kafka kafka-health-check - 0.1.0-SNAPSHOT + 1.0.0 .... From 3a299dfd48537f523947d9c6dc7e0e0b241c7e1c Mon Sep 17 00:00:00 2001 From: Emanuel Zienecker Date: Fri, 26 Apr 2019 16:46:05 +0200 Subject: [PATCH 3/3] Add travis ci build badge --- README.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.adoc b/README.adoc index 03745b5..9f789ea 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,10 @@ = Kafka Health Check +:uri-build-status: https://travis-ci.org/deviceinsight/kafka-health-check +:img-build-status: https://api.travis-ci.org/deviceinsight/kafka-health-check.svg?branch=master + +image:{img-build-status}[Build Status Badge,link={uri-build-status}] + This library provides a kafka health check for spring boot actuator. == Usage