Skip to content

Commit

Permalink
Use a common debezium-examples-parent pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Apr 10, 2024
1 parent e6cc2c2 commit 3f7ee8b
Show file tree
Hide file tree
Showing 66 changed files with 780 additions and 563 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/apache-pulsar-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'apache-pulsar/**'
- '.github/workflows/apache-pulsar-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'apache-pulsar/**'
- '.github/workflows/apache-pulsar-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/auditlog-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'auditlog/**'
- '.github/workflows/auditlog-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'auditlog/**'
- '.github/workflows/auditlog-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cache-invalidation-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'cache-invalidation/**'
- '.github/workflows/cache-invalidation-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'cache-invalidation/**'
- '.github/workflows/cache-invalidation-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/camel-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'camel-component/**'
- '.github/workflows/camel-component-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'camel-component/**'
- '.github/workflows/camel-component-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/camel-kafka-connect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'camel-kafka-connect/**'
- '.github/workflows/camel-kafka-connect-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'camel-kafka-connect/**'
- '.github/workflows/camel-kafka-connect-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cloudevents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'cloudevents/**'
- '.github/workflows/cloudevents-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'cloudevents/**'
- '.github/workflows/cloudevents-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/debezium-server-name-mapper-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'debezium-server-name-mapper/**'
- '.github/workflows/debezium-server-name-mapper-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'debezium-server-name-mapper/**'
- '.github/workflows/debezium-server-name-mapper-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/distributed-caching-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'distributed-caching/**'
- '.github/workflows/distributed-caching-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'distributed-caching/**'
- '.github/workflows/distributed-caching-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/end-to-end-demo-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'end-to-end-demo/**'
- '.github/workflows/end-to-end-demo-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'end-to-end-demo/**'
- '.github/workflows/end-to-end-demo-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/graphql-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'graphql/**'
- '.github/workflows/graphql-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'graphql/**'
- '.github/workflows/graphql-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/http-signaling-notifications-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build [http signaling notification]

on:
push:
paths:
- 'http-signaling-notification/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'http-signaling-notification/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('http-signaling-notification/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in [http-signaling-notification] example
run: |
cd http-signaling-notification &&
mvn clean install -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
2 changes: 2 additions & 0 deletions .github/workflows/jpa-aggregations-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'jpa-aggregations/**'
- '.github/workflows/jpa-aggregations-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'jpa-aggregations/**'
- '.github/workflows/jpa-aggregations-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/kinesis-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'kinesis/**'
- '.github/workflows/kinesis-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'kinesis/**'
- '.github/workflows/kinesis-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/kstreams-fk-join-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'kstreams-fk-join/**'
- '.github/workflows/kstreams-fk-join-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'kstreams-fk-join/**'
- '.github/workflows/kstreams-fk-join-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/kstreams-live-update-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'kstreams-live-update/**'
- '.github/workflows/kstreams-live-update-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'kstreams-live-update/**'
- '.github/workflows/kstreams-live-update-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/kstreams-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'kstreams/**'
- '.github/workflows/kstreams-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'kstreams/**'
- '.github/workflows/kstreams-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/machine-learning-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build [machine learning]

on:
push:
paths:
- 'machine-learning/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'machine-learning/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('machine-learning/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in [machine-learning] example (Iris-Flink)
run: |
cd machine-learning/flink-spark-iris/iris-flink &&
mvn clean install -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Check changes in [machine-learning] example (Iris-Spark)
run: |
cd machine-learning/flink-spark-iris/iris-spark &&
mvn clean install -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Check changes in [machine-learning] example (Tensorflow)
run: |
cd machine-learning/tensorflow-mnist/connect/mnist-smt &&
mvn clean install -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
28 changes: 28 additions & 0 deletions .github/workflows/offset-editor-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build [offset editor]

on:
push:
paths:
- 'offset-editor/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'offset-editor/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('offset-editor/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in [offset-editor] example
run: cd offset-editor && mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
2 changes: 2 additions & 0 deletions .github/workflows/outbox-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'outbox/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'outbox/**'
- '.github/workflows/outbox-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/postgres-toast-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'postgres-toast/**'
- '.github/workflows/postgres-toast-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'postgres-toast/**'
- '.github/workflows/postgres-toast-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/saga-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
paths:
- 'saga/**'
- '.github/workflows/saga-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'saga/**'
- '.github/workflows/saga-workflow.yml'

- 'debezium-examples-parent/pom.xml'
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/testcontainers-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
paths:
- 'testcontainers/**'
- '.github/workflows/testcontainers-workflow.yml'
- 'debezium-examples-parent/pom.xml'
pull_request:
paths:
- 'testcontainers/**'
- '.github/workflows/testcontainers-workflow.yml'
- 'debezium-examples-parent/pom.xml'

jobs:
build:
Expand Down
Loading

0 comments on commit 3f7ee8b

Please sign in to comment.