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 2022/03/04 17:15:49 UTC

[camel-kamelets] branch 0.7.x updated (314119a -> 67198fc)

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

acosentino pushed a change to branch 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git.


    from 314119a  Added Generator to regen GH Action
     new 45548e7  Added Java Tests GH Action on PR
     new 67198fc  GH Actions: Point to 0.7.x

The 2 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.


Summary of changes:
 .../workflows/{validate.yaml => java-tests.yaml}   | 51 +++++++++++-----------
 .github/workflows/main-push-regen.yaml             |  8 ++--
 .github/workflows/validate.yaml                    |  2 +-
 .github/workflows/yaks-tests.yaml                  |  2 +-
 4 files changed, 31 insertions(+), 32 deletions(-)
 copy .github/workflows/{validate.yaml => java-tests.yaml} (60%)

[camel-kamelets] 02/02: GH Actions: Point to 0.7.x

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

acosentino pushed a commit to branch 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 67198fc891dcd9be5f3af7adc78489a7879b9c8b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 4 18:14:13 2022 +0100

    GH Actions: Point to 0.7.x
---
 .github/workflows/java-tests.yaml      | 2 +-
 .github/workflows/main-push-regen.yaml | 8 ++++----
 .github/workflows/validate.yaml        | 2 +-
 .github/workflows/yaks-tests.yaml      | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml
index a6b02ca..b761c7f 100644
--- a/.github/workflows/java-tests.yaml
+++ b/.github/workflows/java-tests.yaml
@@ -20,7 +20,7 @@ name: Java Tests
 on:
   pull_request:
     branches:
-      - main
+      - 0.7.x
     paths-ignore:
       - '**.adoc'
       - 'KEYS'
diff --git a/.github/workflows/main-push-regen.yaml b/.github/workflows/main-push-regen.yaml
index cd97130..7558185 100644
--- a/.github/workflows/main-push-regen.yaml
+++ b/.github/workflows/main-push-regen.yaml
@@ -20,7 +20,7 @@ name: Build Regen
 on:
   push:
     branches:
-      - main
+      - 0.7.x
   workflow_dispatch:
 
 concurrency:
@@ -70,11 +70,11 @@ jobs:
           committer: GitHub <no...@github.com>
           author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
           signoff: true
-          branch: regen_bot
+          branch: regen_bot-0.7.x
           title: "Generated sources regen"
           body: |
-            Regen bot :robot: found some uncommited changes after running build on :camel: kamelets main.
-            Please do not delete `regen_bot` branch after merge/rebase.
+            Regen bot :robot: found some uncommited changes after running build on :camel: kamelets 0.7.x.
+            Please do not delete `regen_bot-0.7.x` branch after merge/rebase.
           labels: |
             regen
             automated pr
diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml
index ec2a9af..f706926 100644
--- a/.github/workflows/validate.yaml
+++ b/.github/workflows/validate.yaml
@@ -20,7 +20,7 @@ name: validate
 on:
   pull_request:
     branches:
-      - main
+      - 0.7.x
     paths-ignore:
       - '**.adoc'
       - 'KEYS'
diff --git a/.github/workflows/yaks-tests.yaml b/.github/workflows/yaks-tests.yaml
index 4019775..ceea053 100644
--- a/.github/workflows/yaks-tests.yaml
+++ b/.github/workflows/yaks-tests.yaml
@@ -20,7 +20,7 @@ name: YAKS Tests
 on:
   pull_request:
     branches:
-      - main
+      - 0.7.x
     paths-ignore:
       - '**.adoc'
       - 'KEYS'

[camel-kamelets] 01/02: Added Java Tests GH Action on PR

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

acosentino pushed a commit to branch 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 45548e78a4be59d1809bb478d2f73d5755e6f749
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 4 18:05:22 2022 +0100

    Added Java Tests GH Action on PR
---
 .github/workflows/java-tests.yaml | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml
new file mode 100644
index 0000000..a6b02ca
--- /dev/null
+++ b/.github/workflows/java-tests.yaml
@@ -0,0 +1,57 @@
+#
+# 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: Java Tests
+
+on:
+  pull_request:
+    branches:
+      - main
+    paths-ignore:
+      - '**.adoc'
+      - 'KEYS'
+      - 'LICENSE'
+      - 'NOTICE'
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '11' ]
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Cache Maven Repository
+        uses: actions/cache@v1
+        with:
+          path: ~/.m2
+          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+          restore-keys: ${{ runner.os }}-m2
+      - name: Build catalog 1st Run
+        run: ./mvnw clean install -DskipTests
+      - name: Build catalog 2nd Run
+        run: ./mvnw clean install