You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/02/27 08:57:31 UTC
[camel-k] 03/03: chore: matrix strategy
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
commit ec04f4b9aa0570f6aee9b6809ae07cf2b9eb5c52
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Feb 27 09:56:06 2023 +0100
chore: matrix strategy
---
.github/workflows/nightly-native-test.yml | 54 ++++---------------------------
1 file changed, 7 insertions(+), 47 deletions(-)
diff --git a/.github/workflows/nightly-native-test.yml b/.github/workflows/nightly-native-test.yml
index 5f46f97bd..14e4749a4 100644
--- a/.github/workflows/nightly-native-test.yml
+++ b/.github/workflows/nightly-native-test.yml
@@ -26,37 +26,19 @@ on:
workflow_dispatch:
jobs:
- main:
- if: github.repository == 'apache/camel-k'
- runs-on: ubuntu-20.04
- name: Generate changelog for main branch
- steps:
- - name: "Checkout code"
- uses: actions/checkout@v2
- with:
- ref: main
- persist-credentials: false
- submodules: recursive
- - name: Higher mem native smoke tests
- uses: ./.github/actions/e2e-install-native
- with:
- cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
- cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
- high-memory: 'true'
- - name: Lower mem native smoke tests
- uses: ./.github/actions/e2e-install-native
- with:
- cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
- cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
+ strategy:
+ matrix:
+ ref-branch: [main, release-1.10.x, release-1.11.x]
- v1_10_x:
+ native:
if: github.repository == 'apache/camel-k'
- runs-on: ubuntu-20.04
+ runs-on: macos-12
+ name: Quarkus native checks for ${{ matrix.ref-branch }}
steps:
- name: "Checkout code"
uses: actions/checkout@v2
with:
- ref: release-1.10.x
+ ref: ${{ matrix.ref-branch }}
persist-credentials: false
submodules: recursive
- name: Higher mem native smoke tests
@@ -70,25 +52,3 @@ jobs:
with:
cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
-
- v1_11_x:
- if: github.repository == 'apache/camel-k'
- runs-on: ubuntu-20.04
- steps:
- - name: "Checkout code"
- uses: actions/checkout@v2
- with:
- ref: release-1.11.x
- persist-credentials: false
- submodules: recursive
- - name: Higher mem native smoke tests
- uses: ./.github/actions/e2e-install-native
- with:
- cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
- cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
- high-memory: 'true'
- - name: Lower mem native smoke tests
- uses: ./.github/actions/e2e-install-native
- with:
- cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
- cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
\ No newline at end of file