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 2022/12/01 08:15:16 UTC
[camel-k] branch main updated: chore(ci): move native into nigtly release wf
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 ff4119307 chore(ci): move native into nigtly release wf
ff4119307 is described below
commit ff41193078c7307f565f74a85146cc829d1c1576
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Nov 30 11:57:40 2022 +0100
chore(ci): move native into nigtly release wf
---
.github/actions/release-nightly/action.yml | 15 ++++---
.github/workflows/native.yaml | 71 ------------------------------
2 files changed, 10 insertions(+), 76 deletions(-)
diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml
index 2a3c60976..f8a7e0026 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -31,13 +31,13 @@ inputs:
secretDockerHubUser:
required: true
secretDockerHubPassword:
- required: true
+ required: true
secretGithubToken:
required: true
runs:
using: "composite"
-
+
steps:
- name: Set up JDK ${{ inputs.javaVersion }}
uses: actions/setup-java@v2
@@ -48,11 +48,16 @@ runs:
uses: actions/setup-go@v2
with:
go-version: ${{ inputs.goVersion }}
- - name: Smoke tests
+ - name: Common smoke tests
uses: ./.github/actions/e2e-common
with:
cluster-config-data: ${{ inputs.secretE2ECluster }}
cluster-kube-config-data: ${{ inputs.secretE2EKube }}
+ - name: Native smoke tests
+ uses: ./.github/actions/e2e-install-native
+ with:
+ cluster-config-data: ${{ inputs.secretE2ECluster }}
+ cluster-kube-config-data: ${{ inputs.secretE2EKube }}
- name: Cache modules
uses: actions/cache@v1
with:
@@ -101,7 +106,7 @@ runs:
with:
artifacts: "./camel-k-client*.tar.gz"
body: |
- Apache Camel K ${{ env.VERSION }} build for testing (unstable). This nightly release is using
+ Apache Camel K ${{ env.VERSION }} build for testing (unstable). This nightly release is using
an **unsupported** operator image published as `${{ env.IMAGE_NAME }}:${{ env.VERSION }}`
To test it, download the client for your OS and run:
@@ -109,7 +114,7 @@ runs:
```
kamel install --olm=false --maven-repository=${{ env.MAVEN_REPOSITORY }}
```
-
+
NOTE: last updated on ${{ env.UPD_DATE }}
token: ${{ inputs.secretGithubToken }}
draft: false
diff --git a/.github/workflows/native.yaml b/.github/workflows/native.yaml
deleted file mode 100644
index b5543e91a..000000000
--- a/.github/workflows/native.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-# ---------------------------------------------------------------------------
-# 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: native
-
-env:
- TEST_CLUSTER: kind
-
-on:
- schedule:
- - cron: "0 0 * * *"
- workflow_dispatch:
- inputs:
- log-level:
- description: 'Set the operator log level (info or debug)'
- required: false
- pre-built-kamel-image:
- description: 'Kamel image url for skipping building of kamel stages. Used for debugging'
- required: false
- skip-problematic:
- description: 'Whether tests marked as problematic should be skipped - false by default (sets CAMEL_K_TEST_SKIP_PROBLEMATIC)'
- required: false
- default: false
- test-filters:
- description: |
- List of comma-separated key/value pairs to filter the tests in this test suite:
- TEST_INSTALL_RUN, TEST_INSTALL_CLI_RUN,
- TEST_INSTALL_KUSTOMIZE_RUN, TEST_QUARKUS_RUN
- eg. TEST_INTEGRATION_COMMON_RUN=TestBasic will only run tests prefixed with 'TestBasic'
- required: false
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
- cancel-in-progress: true
-
-jobs:
- native-it:
- runs-on: ubuntu-20.04
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
- with:
- persist-credentials: false
- submodules: recursive
- - name: Convert input parameters to env vars
- shell: bash
- run: |
- ./.github/workflows/manual-exec-process-inputs.sh \
- -i "${{ github.event.inputs.pre-built-kamel-image }}" \
- -p "${{ github.event.inputs.skip-problematic }}" \
- -t "${{ github.event.inputs.test-filters }}"
-
- - name: Execute Tests
- uses: ./.github/actions/e2e-install-native
- with:
- cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
- cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}