From 6f6c17b7077ae4263a35fdb5dcdc2072ddda35cd Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 13 Jun 2024 10:15:36 +0200 Subject: [PATCH] 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 fcd0e99e35..85362b6402 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 8f90acc530..89dd881901 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 * * *'