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:28 UTC
[camel-k] branch main updated (91ec6b465 -> ec04f4b9a)
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 91ec6b465 Next is 1.13.0
new 1961b51cb chore(ci): trigger native only when PR are labeled
new 9c62e6ce3 chore: move native checks as nightly process
new ec04f4b9a chore: matrix strategy
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/native.yml | 22 +++-----
...c-updates.yml => nightly-automatic-updates.yml} | 4 +-
.../{local.yml => nightly-native-test.yml} | 62 +++++++++-------------
.../workflows/{release.yml => nightly-release.yml} | 4 +-
4 files changed, 36 insertions(+), 56 deletions(-)
rename .github/workflows/{automatic-updates.yml => nightly-automatic-updates.yml} (97%)
copy .github/workflows/{local.yml => nightly-native-test.yml} (57%)
rename .github/workflows/{release.yml => nightly-release.yml} (98%)
[camel-k] 03/03: chore: matrix strategy
Posted by pc...@apache.org.
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 ec04f4b9aa0570f6aee9b6809ae07cf2b9eb5c52
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Feb 27 09:56:06 2023 +0100
chore: matrix strategy
---
.github/workflows/nightly-native-test.yml | 54 ++++---------------------------
1 file changed, 7 insertions(+), 47 deletions(-)
diff --git a/.github/workflows/nightly-native-test.yml b/.github/workflows/nightly-native-test.yml
index 5f46f97bd..14e4749a4 100644
--- a/.github/workflows/nightly-native-test.yml
+++ b/.github/workflows/nightly-native-test.yml
@@ -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
@@ -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 }}
\ No newline at end of file
[camel-k] 01/03: chore(ci): trigger native only when PR are labeled
Posted by pc...@apache.org.
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 1961b51cb5ccf2be49997706a24025f87d3d52ee
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Feb 23 17:34:17 2023 +0100
chore(ci): trigger native only when PR are labeled
---
.github/workflows/native.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml
index 2b7b2ed6a..a7040cfc7 100644
--- a/.github/workflows/native.yml
+++ b/.github/workflows/native.yml
@@ -22,6 +22,11 @@ env:
on:
pull_request:
+ types:
+ - labeled
+ - opened
+ - synchronize
+ - reopened
branches:
- main
- "release-*"
@@ -69,7 +74,7 @@ concurrency:
jobs:
install-native-high-memory:
-
+ if: contains(github.event.pull_request.labels.*.name, 'trigger native test')
runs-on: macos-12
steps:
@@ -94,7 +99,7 @@ jobs:
high-memory: 'true'
install-native:
-
+ if: contains(github.event.pull_request.labels.*.name, 'trigger native test')
runs-on: macos-12
steps:
[camel-k] 02/03: chore: move native checks as nightly process
Posted by pc...@apache.org.
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: