Skip to content

Commit

Permalink
Merge pull request #3 from digicert/TIPS-1250-upgrade-debezium-versio…
Browse files Browse the repository at this point in the history
…n-2.7

TIPS-1250 Upgrade Debezium version to 2.7
  • Loading branch information
aveekroychowdhury authored Dec 17, 2024
2 parents bf491dd + 871caa4 commit 5bf91b4
Show file tree
Hide file tree
Showing 1,878 changed files with 156,352 additions and 48,041 deletions.
49 changes: 49 additions & 0 deletions .github/actions/build-debezium-cassandra/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Build Cassandra"
description: "Builds the Debezium Cassandra connector"

inputs:
path-core:
description: "Debezium core repository checkout path"
required: true
path-cassandra:
description: "Debezium Cassandra repository checkout path"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- name: Build Debezium (Core)
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-core }}/pom.xml
-pl debezium-assembly-descriptors,debezium-bom,debezium-core,debezium-embedded,:debezium-ide-configs,:debezium-checkstyle,:debezium-revapi
-am
-DskipTests=true
-DskipITs=true
-Dcheckstyle.skip=true
-Dformat.skip=true
-Drevapi.skip
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Install DSE dependency artifacts
working-directory: ${{ inputs.path-cassandra }}
shell: ${{ inputs.shell }}
run: sh ./install-artifacts.sh

- name: Build Cassandra
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-cassandra }}/pom.xml
-Passembly
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
45 changes: 45 additions & 0 deletions .github/actions/build-debezium-db2/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "Build Db2"
description: "Builds the Debezium Db2 connector"

inputs:
path-core:
description: "Debezium core repository checkout path"
required: true
path-db2:
description: "Debezium Db2 repository checkout path"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- name: Build Debezium (Core)
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-core }}/pom.xml
-pl debezium-assembly-descriptors,debezium-bom,debezium-core,debezium-embedded,:debezium-ide-configs,:debezium-checkstyle,:debezium-revapi
-am
-DskipTests=true
-DskipITs=true
-Dcheckstyle.skip=true
-Dformat.skip=true
-Drevapi.skip
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Build Db2
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-db2 }}/pom.xml
-Passembly
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-Ddebezium.test.records.waittime=5
-DfailFlakyTests=false
48 changes: 48 additions & 0 deletions .github/actions/build-debezium-ibmi/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: "Build IBMi"
description: "Builds the Debezium IBMi connector"

inputs:
path-core:
description: "Debezium core repository checkout path"
required: true
path-ibmi:
description: "Debezium IBMi repository checkout path"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- name: Build Debezium (Core)
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-core }}/pom.xml
-pl debezium-assembly-descriptors,debezium-bom,debezium-core,debezium-embedded,:debezium-ide-configs,:debezium-checkstyle,:debezium-revapi
-am
-DskipTests=true
-DskipITs=true
-Dcheckstyle.skip=true
-Dformat.skip=true
-Drevapi.skip
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Build IBMi
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-ibmi }}/pom.xml
-Passembly
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-Ddebezium.test.records.waittime=5
-Ddebezium.test.records.waittime.after.nulls=5
-DfailFlakyTests=false
-DskipITs
-Ddebezium.test.mongo.replica.primary.startup.timeout.seconds=120
46 changes: 46 additions & 0 deletions .github/actions/build-debezium-informix/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Build Informix"
description: "Builds the Debezium Informix connector"

inputs:
path-core:
description: "Debezium core repository checkout path"
required: true
path-informix:
description: "Debezium Informix repository checkout path"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- name: Build Debezium (Core)
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-core }}/pom.xml
-pl debezium-assembly-descriptors,debezium-bom,debezium-core,debezium-embedded,:debezium-ide-configs,:debezium-checkstyle,:debezium-revapi
-am
-DskipTests=true
-DskipITs=true
-Dcheckstyle.skip=true
-Dformat.skip=true
-Drevapi.skip
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Build Informix
shell: ${{ inputs.shell }}
run: >
./${{ inputs.path-core }}/mvnw clean install -B -ntp -f ${{ inputs.path-informix }}/pom.xml
-Passembly,informix14
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-Ddebezium.test.records.waittime=5
-Ddebezium.test.records.waittime.after.nulls=5
-DfailFlakyTests=false
33 changes: 33 additions & 0 deletions .github/actions/build-debezium-jdbc/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Build JDBC"
description: "Builds the Debezium JDBC connector"

inputs:
maven-cache-key:
description: "The maven build cache key"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- uses: ./.github/actions/setup-java

- uses: ./.github/actions/maven-cache
with:
key: ${{ inputs.maven-cache-key }}

- name: Build JDBC
shell: ${{ inputs.shell }}
run: >
./mvnw clean install -B -pl debezium-connector-jdbc -am
-Passembly
-Dtest.tags=it-sqlserver,e2e-sqlserver,it-postgresql,e2e-postgresql,it-mysql,e2e-mysql
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
37 changes: 37 additions & 0 deletions .github/actions/build-debezium-mariadb/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Build MariaDB"
description: "Builds the Debezium MariaDB connector"

inputs:
maven-cache-key:
description: "The maven build cache key"
required: true
profile:
description: "The MariaDB build profile to use"
required: false
default: "mariadb-ci"
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- uses: ./.github/actions/setup-java

- uses: ./.github/actions/maven-cache
with:
key: ${{ inputs.maven-cache-key }}

- name: Build MariaDB connector (MariaDB - ${{ inputs.profile }})
shell: ${{ inputs.shell }}
run: >
./mvnw clean install -B -pl debezium-connector-mariadb -am
-P${{ inputs.profile }}
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
-Ddebezium.test.mongo.replica.primary.startup.timeout.seconds=120
38 changes: 38 additions & 0 deletions .github/actions/build-debezium-mongodb/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Build MongoDB"
description: "Builds the Debezium MongoDB connector"

inputs:
maven-cache-key:
description: "The maven build cache key"
required: true
version-mongo-server:
description: "The MongoDB server version to use"
required: false
default: "7.0"
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- uses: ./.github/actions/setup-java

- uses: ./.github/actions/maven-cache
with:
key: ${{ inputs.maven-cache-key }}

- name: Build MongoDB connector (MongoDB ${{ inputs.version-mongo-server }})
shell: ${{ inputs.shell }}
run: >
./mvnw clean install -B -pl debezium-connector-mongodb -am
-Passembly
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dversion.mongo.server=${{ inputs.version-mongo-server }}
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
-Ddebezium.test.mongo.replica.primary.startup.timeout.seconds=120
42 changes: 42 additions & 0 deletions .github/actions/build-debezium-mysql/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Build MySQL"
description: "Builds the Debezium MySQL connector"

inputs:
maven-cache-key:
description: "The maven build cache key"
required: true
version-mysql-server:
description: "The MySQL server version to use"
required: false
default: "8.2"
profile:
description: "The MySQL build profile to use"
required: false
default: "mysql-ci"
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- uses: ./.github/actions/setup-java

- uses: ./.github/actions/maven-cache
with:
key: ${{ inputs.maven-cache-key }}

- name: Build MySQL connector (MySQL ${{ inputs.version-mysql-server }} - ${{ inputs.profile }})
shell: ${{ inputs.shell }}
run: >
./mvnw clean install -B -pl debezium-connector-mysql -am
-P${{ inputs.profile }}
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dversion.mysql.server=${{ inputs.version-mysql-server }}
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
-Ddebezium.test.mongo.replica.primary.startup.timeout.seconds=120
35 changes: 35 additions & 0 deletions .github/actions/build-debezium-oracle/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Build Oracle"
description: "Builds the Debezium Oracle connector"

inputs:
maven-cache-key:
description: "The maven build cache key"
required: true
shell:
description: "The shell to use"
required: false
default: bash

runs:
using: "composite"
steps:
- uses: ./.github/actions/setup-java

- uses: ./.github/actions/maven-cache
with:
key: ${{ inputs.maven-cache-key }}

# We intentionally do not run the integration tests here because the runner does not have adequate space
# for the docker container and pull requests are not permitted to fetch the container image.
- name: Build Oracle connector
shell: ${{ inputs.shell }}
run: >
./mvnw clean install -B -pl debezium-connector-oracle -am
-Pinfinispan-buffer,oracle-tests
-DskipITs=true
-Dcheckstyle.skip=true
-Dformat.skip=true
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DfailFlakyTests=false
Loading

0 comments on commit 5bf91b4

Please sign in to comment.