Skip to content

Commit

Permalink
chore: matrix strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Feb 27, 2023
1 parent 9c62e6c commit ec04f4b
Showing 1 changed file with 7 additions and 47 deletions.
54 changes: 7 additions & 47 deletions .github/workflows/nightly-native-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit ec04f4b

Please sign in to comment.