Merge pull request #2 from deviceinsight/feature/add-travis-ci-remove-gitlab-ci
Add travis ci and remove gitlab ci
This commit is contained in:
commit
116eb98984
@ -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
|
|
15
.travis-ci.yml
Normal file
15
.travis-ci.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
language: java
|
||||||
|
|
||||||
|
jdk:
|
||||||
|
- openjdk8
|
||||||
|
- oraclejdk8
|
||||||
|
- oraclejdk9
|
||||||
|
- oraclejdk11
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.m2
|
||||||
|
|
||||||
|
install: /bin/true
|
||||||
|
|
||||||
|
script: ./mvnw verify -B
|
@ -1,5 +1,10 @@
|
|||||||
= Kafka Health Check
|
= 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.
|
This library provides a kafka health check for spring boot actuator.
|
||||||
|
|
||||||
== Usage
|
== Usage
|
||||||
@ -11,7 +16,7 @@ Add the following dependency to your `pom.xml`
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.deviceinsight.kafka</groupId>
|
<groupId>com.deviceinsight.kafka</groupId>
|
||||||
<artifactId>kafka-health-check</artifactId>
|
<artifactId>kafka-health-check</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>1.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
....
|
....
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user