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/07/26 08:17:04 UTC
[camel-k] branch main updated: chore(ci): check against latest available runtime
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
The following commit(s) were added to refs/heads/main by this push:
new 25c83ad6e chore(ci): check against latest available runtime
25c83ad6e is described below
commit 25c83ad6e04bfa044d346978384f760f98dded06
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Jul 26 10:14:38 2023 +0200
chore(ci): check against latest available runtime
---
.github/actions/automatic-updates/action.yml | 2 +-
.github/workflows/nightly-latest-runtime.yml | 61 ++++++++++++++++++++++++++++
2 files changed, 62 insertions(+), 1 deletion(-)
diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml
index b867d46d7..a0b79eefc 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -59,7 +59,7 @@ runs:
CI_USER: "github-actions[bot]"
CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
run: |
- make update-default-camel generate codegen update-docs
+ make generate codegen update-docs
git add -A && git commit -m 'chore: autogenerated project resource update' && echo "autogenerated=1" >> $GITHUB_ENV || echo "No changes to autogenerated project resources"
# SBOM
diff --git a/.github/workflows/nightly-latest-runtime.yml b/.github/workflows/nightly-latest-runtime.yml
new file mode 100644
index 000000000..fa1f92f11
--- /dev/null
+++ b/.github/workflows/nightly-latest-runtime.yml
@@ -0,0 +1,61 @@
+--- # ---------------------------------------------------------------------------
+
+# ---------------------------------------------------------------------------
+# 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 check against latest runtime
+
+env:
+ TEST_CLUSTER: kind
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+on:
+ schedule:
+ - cron: "30 2 * * *"
+ workflow_dispatch:
+
+jobs:
+ release:
+ strategy:
+ fail-fast: false
+ matrix:
+ # We want to check this on latest development branch only
+ ref-branch: [main]
+
+ if: github.repository == 'apache/camel-k'
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: "Checkout code"
+ uses: actions/checkout@v3
+ with:
+ ref: ${{ matrix.ref-branch }}
+ persist-credentials: false
+ submodules: recursive
+
+ # Use latest snapshot runtime
+ - name: Upgrade to latest snapshot runtime
+ shell: bash
+ run: |
+ make update-default-camel
+
+ - name: Run smoke tests
+ uses: ./.github/actions/e2e-common
+ with:
+ cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
+ cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
+ smoke-test-only: 'true'