Skip to content

Commit

Permalink
chore: move native checks as nightly process
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Feb 23, 2023
1 parent 756203c commit 160091d
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 16 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,7 @@ on:
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
push:
branches:
- main
- "release-*"
paths-ignore:
- 'docs/**'
- 'proposals/**'
- '**.adoc'
- '**.md'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'

workflow_dispatch:
inputs:
log-level:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
# limitations under the License.
# ---------------------------------------------------------------------------

name: Automatic Updates
name: Nightly automatic updates

on:
schedule:
- cron: '30 0 * * *'
- cron: '30 23 * * *'
workflow_dispatch:

jobs:
Expand Down
94 changes: 94 additions & 0 deletions .github/workflows/nightly-native-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# ---------------------------------------------------------------------------
# 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: Nightly Quarkus native checks

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
schedule:
- cron: '45 3 * * *'
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 }}

v1_10_x:
if: github.repository == 'apache/camel-k'
runs-on: ubuntu-20.04
steps:
- name: "Checkout code"
uses: actions/checkout@v2
with:
ref: release-1.10.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 }}

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 }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 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: release
name: Nightly release

env:
TEST_CLUSTER: kind
Expand All @@ -25,7 +25,7 @@ env:

on:
schedule:
- cron: "10 23 * * *"
- cron: "15 0 * * *"
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 160091d

Please sign in to comment.