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:30 UTC

[camel-k] 02/03: chore: move native checks as nightly process

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 9c62e6ce3e4efe1a4856cc0bc5341b86e64c902d
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Feb 23 18:06:08 2023 +0100

    chore: move native checks as nightly process
---
 .github/workflows/native.yml                       | 13 +-----
 ...c-updates.yml => nightly-automatic-updates.yml} |  4 +-
 ...tomatic-updates.yml => nightly-native-test.yml} | 54 ++++++++++++++--------
 .../workflows/{release.yml => nightly-release.yml} |  4 +-
 4 files changed, 41 insertions(+), 34 deletions(-)

diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml
index a7040cfc7..3888ec282 100644
--- a/.github/workflows/native.yml
+++ b/.github/workflows/native.yml
@@ -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:
diff --git a/.github/workflows/automatic-updates.yml b/.github/workflows/nightly-automatic-updates.yml
similarity index 97%
copy from .github/workflows/automatic-updates.yml
copy to .github/workflows/nightly-automatic-updates.yml
index ba05c9421..b65cfa39d 100644
--- a/.github/workflows/automatic-updates.yml
+++ b/.github/workflows/nightly-automatic-updates.yml
@@ -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:
diff --git a/.github/workflows/automatic-updates.yml b/.github/workflows/nightly-native-test.yml
similarity index 53%
rename from .github/workflows/automatic-updates.yml
rename to .github/workflows/nightly-native-test.yml
index ba05c9421..5f46f97bd 100644
--- a/.github/workflows/automatic-updates.yml
+++ b/.github/workflows/nightly-native-test.yml
@@ -15,11 +15,14 @@
 # limitations under the License.
 # ---------------------------------------------------------------------------
 
-name: Automatic Updates
+name: Nightly Quarkus native checks
+
+env:
+  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
 on:
   schedule:
-    - cron:  '30 0 * * *'
+    - cron:  '45 3 * * *'
   workflow_dispatch:
 
 jobs:
@@ -34,14 +37,19 @@ jobs:
         ref: main
         persist-credentials: false
         submodules: recursive
-    - name: Automatic updates on main
-      uses: ./.github/actions/automatic-updates
+    - 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:
-        branch-ref: "main"
-        secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
-        goVersion: "1.18.x"
+        cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
+        cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
 
-  v1_12_x:
+  v1_10_x:
     if: github.repository == 'apache/camel-k'
     runs-on: ubuntu-20.04
     steps:
@@ -51,12 +59,17 @@ jobs:
         ref: release-1.10.x
         persist-credentials: false
         submodules: recursive
-    - name: Automatic updates on release-1.10.x
-      uses: ./.github/actions/automatic-updates
+    - name: Higher mem native smoke tests
+      uses: ./.github/actions/e2e-install-native
       with:
-        branch-ref: "release-1.10.x"
-        secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
-        goVersion: "1.17.x"
+        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'
@@ -68,9 +81,14 @@ jobs:
         ref: release-1.11.x
         persist-credentials: false
         submodules: recursive
-    - name: Automatic updates on release-1.11.x
-      uses: ./.github/actions/automatic-updates
+    - 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:
-        branch-ref: "release-1.11.x"
-        secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
-        goVersion: "1.17.x"
+        cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
+        cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/nightly-release.yml
similarity index 98%
rename from .github/workflows/release.yml
rename to .github/workflows/nightly-release.yml
index 8105bc033..96f7aafc3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/nightly-release.yml
@@ -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
@@ -25,7 +25,7 @@ env:
 
 on:
   schedule:
-    - cron: "10 23 * * *"
+    - cron: "15 0 * * *"
   workflow_dispatch:
 
 jobs: