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

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f6c17b70 feat(ci): bring back Quarkus native execution on PR and 
pushes
6f6c17b70 is described below

commit 6f6c17b7077ae4263a35fdb5dcdc2072ddda35cd
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Thu Jun 13 10:15:36 2024 +0200

    feat(ci): bring back Quarkus native execution on PR and pushes
    
    Closes #5598
---
 .github/workflows/native.yml              | 23 ++++++++++++++++-------
 .github/workflows/nightly-native-test.yml |  2 ++
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml
index fcd0e99e3..85362b640 100644
--- a/.github/workflows/native.yml
+++ b/.github/workflows/native.yml
@@ -19,16 +19,26 @@ name: native
 
 env:
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-  CAMEL_K_TEST_TIMEOUT_LONG: 30m
+  CAMEL_K_TEST_TIMEOUT_SHORT: 5m
+  CAMEL_K_TEST_TIMEOUT_MEDIUM: 10m
+  CAMEL_K_TEST_TIMEOUT_LONG: 15m
   CAMEL_K_TEST_TIMEOUT_VERY_LONG: 60m
 
 on:
   pull_request:
-    types:
-      - labeled
-      - opened
-      - synchronize
-      - reopened
+    branches:
+      - main
+      - "release-*"
+    paths-ignore:
+      - 'docs/**'
+      - 'java/**'
+      - 'proposals/**'
+      - '**.adoc'
+      - '**.md'
+      - 'KEYS'
+      - 'LICENSE'
+      - 'NOTICE'
+  push:
     branches:
       - main
       - "release-*"
@@ -66,7 +76,6 @@ concurrency:
 
 jobs:
   quarkus-native:
-    if: contains(github.event.pull_request.labels.*.name, 'trigger native 
test')
     runs-on: ubuntu-latest
 
     steps:
diff --git a/.github/workflows/nightly-native-test.yml 
b/.github/workflows/nightly-native-test.yml
index 8f90acc53..89dd88190 100644
--- a/.github/workflows/nightly-native-test.yml
+++ b/.github/workflows/nightly-native-test.yml
@@ -24,6 +24,8 @@ env:
   CAMEL_K_TEST_TIMEOUT_LONG: 15m
   CAMEL_K_TEST_TIMEOUT_VERY_LONG: 60m
 
+# We can disable as at the moment we're running this check on each PR and push
+# We keep the source in case it is required to be enabled again in the future.
 on:
   schedule:
     - cron:  '45 3 * * *'

Reply via email to