Skip to content

Commit d15d648

Browse files
committed
bump version for realse 1.2.2
1 parent e64ccbf commit d15d648

File tree

7 files changed

+41
-8
lines changed

7 files changed

+41
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM confluentinc/cp-kafka-connect-base:5.2.1
22

3-
COPY connect-file-pulse-plugin/target/components/packages/streamthoughts-kafka-connect-file-pulse-plugin-1.2.1.zip /tmp/kafka-connect-file-pulse.zip
3+
COPY connect-file-pulse-plugin/target/components/packages/streamthoughts-kafka-connect-file-pulse-1.2.2.zip /tmp/kafka-connect-file-pulse.zip
44
RUN confluent-hub install --no-prompt /tmp/kafka-connect-file-pulse.zip && \
55
rm -rf /tmp/kafka-connect-file-pulse.zip
66

Makefile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Makefile used to build docker images for Connect File Pulse
2+
3+
CONNECT_VERSION := $(shell mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)
4+
5+
REPOSITORY = streamthoughts
6+
IMAGE = kafka-connect-file-pulse
7+
8+
.SILENT:
9+
10+
all: build-images clean-build
11+
12+
clean-containers:
13+
echo "Cleaning containers \n========================================== ";
14+
15+
clean-images:
16+
echo "Cleaning images \n========================================== ";
17+
for image in `docker images -qf "label=io.streamthoughts.docker.name"`; do \
18+
echo "Removing image $${image} \n==========================================\n " ; \
19+
docker rmi -f $${image} || exit 1 ; \
20+
done
21+
22+
clean-build:
23+
echo "Cleaning build directory \n========================================== ";
24+
rm -rf ./docker-build;
25+
26+
build-images:
27+
echo "Building image \n========================================== ";
28+
echo "CONNECT_VERSION="$(CONNECT_VERSION)
29+
echo "==========================================\n "
30+
mvn clean package && \
31+
docker build \
32+
-t ${REPOSITORY}/${IMAGE}:latest . || exit 1 ;
33+
docker tag ${REPOSITORY}/${IMAGE}:latest ${REPOSITORY}/${IMAGE}:${CONNECT_VERSION} || exit 1 ;
34+
35+
clean: clean-containers clean-images clean-build

connect-file-pulse-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>io.streamthoughts</groupId>
99
<artifactId>kafka-connect-file-pulse-reactor</artifactId>
10-
<version>1.2.1</version>
10+
<version>1.2.2</version>
1111
</parent>
1212

1313
<artifactId>kafka-connect-file-pulse-api</artifactId>

connect-file-pulse-filters/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>io.streamthoughts</groupId>
99
<artifactId>kafka-connect-file-pulse-reactor</artifactId>
10-
<version>1.2.1</version>
10+
<version>1.2.2</version>
1111
</parent>
1212

1313
<artifactId>kafka-connect-file-pulse-filters</artifactId>

connect-file-pulse-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>io.streamthoughts</groupId>
99
<artifactId>kafka-connect-file-pulse-reactor</artifactId>
10-
<version>1.2.1</version>
10+
<version>1.2.2</version>
1111
</parent>
1212

1313
<artifactId>kafka-connect-file-pulse-plugin</artifactId>

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ services:
4545
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
4646

4747
connect-file-pulse:
48-
build:
49-
context: .
50-
dockerfile: Dockerfile
48+
image: streamthoughts/kafka-connect-file-pulse:latest
5149
container_name: connect
5250
depends_on:
5351
- cp-schema-registry

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>io.streamthoughts</groupId>
88
<artifactId>kafka-connect-file-pulse-reactor</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.2.1</version>
10+
<version>1.2.2</version>
1111

1212
<name>Kafka Connect Source File Pulse Reactor</name>
1313
<description>Connect File Pulse is a multi-purpose source connector for streaming files from a local filesystem to Kafka.</description>

0 commit comments

Comments
 (0)