Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
NEW_BUILD_ARTIFACT: es-kafka-connect
SERVICE_LOCATION: build/es-kafka-connecter/kafka_connect_transforms
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
if: ${{ ( env.BUILD_ARTIFACT != 'false' ) }}
with:
name: ${{ env.BUILD_ARTIFACT }}
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Upload the springboot jars
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.NEW_BUILD_ARTIFACT }}
path: ${{ env.NEW_BUILD_ARTIFACT }}.zip
Expand Down
10 changes: 10 additions & 0 deletions build/debezium-fixer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
FROM alpine:3.15.4

ARG SOURCE
ARG COMMIT_HASH
ARG COMMIT_ID
ARG BUILD_TIME

LABEL source=${SOURCE}
LABEL commit_hash=${COMMIT_HASH}
LABEL commit_id=${COMMIT_ID}
LABEL build_time=${BUILD_TIME}

ARG container_user=mosip
ARG container_user_group=mosip
ARG container_user_uid=1001
Expand Down
12 changes: 11 additions & 1 deletion build/es-kafka-connecter/kafka_connect_transforms/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
FROM confluentinc/cp-kafka-connect:7.0.0-1-ubi8

RUN confluent-hub install --no-prompt confluentinc/kafka-connect-elasticsearch:11.1.3
ARG SOURCE
ARG COMMIT_HASH
ARG COMMIT_ID
ARG BUILD_TIME

LABEL source=${SOURCE}
LABEL commit_hash=${COMMIT_HASH}
LABEL commit_id=${COMMIT_ID}
LABEL build_time=${BUILD_TIME}

RUN confluent-hub install --no-prompt confluentinc/kafka-connect-elasticsearch:14.1.0

ADD ./target/kafka_connect_transforms-*.jar /usr/share/java/my_transforms
ADD ./target/debezium-core-*.jar /usr/share/java/my_transforms
5 changes: 2 additions & 3 deletions build/es-kafka-connecter/kafka_connect_transforms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,15 @@
<groupId>io.mosip</groupId>
<artifactId>kafka_connect_transforms</artifactId>
<name>kafka_connect_transforms</name>
<version>1.2.0.1</version>
<version>1.3.0-SNAPSHOT</version>
<url>https://github.com/mosip/reporting</url>

<description>MOSIP kafka connector for data transformations</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
10 changes: 10 additions & 0 deletions build/reporting-init/debezium-init/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
FROM alpine

ARG SOURCE
ARG COMMIT_HASH
ARG COMMIT_ID
ARG BUILD_TIME

LABEL source=${SOURCE}
LABEL commit_hash=${COMMIT_HASH}
LABEL commit_id=${COMMIT_ID}
LABEL build_time=${BUILD_TIME}

RUN apk add curl bash vim

ADD docker-entrypoint.sh /
Expand Down
10 changes: 10 additions & 0 deletions build/reporting-init/es-kafka-connect-init/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
FROM alpine

ARG SOURCE
ARG COMMIT_HASH
ARG COMMIT_ID
ARG BUILD_TIME

LABEL source=${SOURCE}
LABEL commit_hash=${COMMIT_HASH}
LABEL commit_id=${COMMIT_ID}
LABEL build_time=${BUILD_TIME}

RUN apk add curl bash vim

RUN mkdir /connectors /kibana_saved_objects
Expand Down