You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/08/25 09:38:23 UTC

[camel-kafka-connector] branch ckc-auto-sync created (now cfdcee1)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch ckc-auto-sync
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.


      at cfdcee1  Added automatic-sync gh action for camel-kafka-connector on camel-master branch

This branch includes the following new commits:

     new cfdcee1  Added automatic-sync gh action for camel-kafka-connector on camel-master branch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kafka-connector] 01/01: Added automatic-sync gh action for camel-kafka-connector on camel-master branch

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch ckc-auto-sync
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit cfdcee1272869893848d97a9a6e62a1353653afe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 25 11:37:46 2020 +0200

    Added automatic-sync gh action for camel-kafka-connector on camel-master branch
---
 .github/workflows/automatic-sync-camel-master.yml | 63 +++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/.github/workflows/automatic-sync-camel-master.yml b/.github/workflows/automatic-sync-camel-master.yml
new file mode 100644
index 0000000..156b308
--- /dev/null
+++ b/.github/workflows/automatic-sync-camel-master.yml
@@ -0,0 +1,63 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Sync Camel Kafka Connector camel-master Branch
+
+on:
+  schedule:
+    # Run at midnight every day
+    - cron:  '*/1 * * * *'
+jobs:
+  build:
+    name: Sync Camel Kafka Connector camel-master Branch
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '1.8', '11' ]
+    steps:
+      - name: Checkout Camel project
+        uses: actions/checkout@v2
+        with:
+          repository: apache/camel
+          ref: master
+          path: camel
+      - name: Set Up Java
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Build Camel Project
+        run: ./mvnw -V --no-transfer-progress clean install -DskipTests
+        working-directory: ${{ github.workspace }}/camel
+      - name: Checkout camel-kafka-connector project
+        uses: actions/checkout@v2
+        with:
+          ref: camel-master
+          fetch-depth: 0
+      - name: Build Camel-kafka-connector Project
+        run: |
+          ./mvnw -V --no-transfer-progress -DskipTests --projects org.apache.camel.kafkaconnector:parent,org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator,org.apache.camel.kafkaconnector:camel-buildtools clean install
+          ./mvnw -V --no-transfer-progress --projects org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipTests clean install
+          ./mvnw -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
+      - name: Create Pull Request
+        uses: peter-evans/create-pull-request@v2.4.1
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          branch: automatic-periodic-sync
+          title: '[Github Actions] Periodic Sync Camel-kafka-connector camel-master Branch'
+          body: |
+            Periodic Sync of Camel Kafka connector camel-master Branch with main Camel Master.
+            see https://github.com/apache/camel-kafka-connector/blob/master/.github/workflows/automatic-sync-camel-master.yml