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/06/01 15:08:25 UTC

[camel-k] branch main updated: chore(ci): use ubuntu-latest

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 f9a4e33a3 chore(ci): use ubuntu-latest
f9a4e33a3 is described below

commit f9a4e33a3f00d7e8f5295cc62f46d9c0192f611a
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Jun 1 15:22:05 2023 +0200

    chore(ci): use ubuntu-latest
---
 .github/workflows/backport.yml                  |  2 +-
 .github/workflows/build.yml                     |  4 ++--
 .github/workflows/builder.yml                   |  2 +-
 .github/workflows/common.yml                    |  4 ++--
 .github/workflows/install.yml                   |  4 ++--
 .github/workflows/knative.yml                   |  4 ++--
 .github/workflows/nightly-automatic-updates.yml |  6 +++---
 .github/workflows/nightly-coverage.yml          | 10 +++++-----
 .github/workflows/nightly-release.yml           |  6 +++---
 .github/workflows/stale.yaml                    |  6 +++---
 .github/workflows/telemetry.yml                 |  2 +-
 .github/workflows/validate.yml                  |  6 +++---
 12 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 4acde63d0..26412810a 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -24,7 +24,7 @@ on:
 
 jobs:
   backport:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     name: Backport
     steps:
       - name: "Checkout camel-k"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 41a5e86c8..9ae5e994f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -57,8 +57,8 @@ jobs:
     strategy:
       matrix:
         # TODO: test an all the supported OS
-        # [ubuntu-20.04, macos-latest, windows-latest]
-        os: [ubuntu-20.04]
+        # [ubuntu-latest, macos-latest, windows-latest]
+        os: [ubuntu-latest]
 
     runs-on: ${{ matrix.os }}
     steps:
diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 36920d3e3..1caa8e51f 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -69,7 +69,7 @@ concurrency:
 
 jobs:
   builder-it:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
 
     strategy:
       fail-fast: false
diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml
index ef9931143..15e99d7ab 100644
--- a/.github/workflows/common.yml
+++ b/.github/workflows/common.yml
@@ -72,7 +72,7 @@ concurrency:
 
 jobs:
   common-it-single-operator-installation:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
 
     steps:
     - name: Checkout code
@@ -95,7 +95,7 @@ jobs:
         cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
 
   common-it-custom-operator-installation:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml
index 50c43d7ba..600c32368 100644
--- a/.github/workflows/install.yml
+++ b/.github/workflows/install.yml
@@ -71,7 +71,7 @@ concurrency:
 
 jobs:
   non-olm:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: Checkout code
       uses: actions/checkout@v2
@@ -94,7 +94,7 @@ jobs:
         cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
 
   olm:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 2c7f84cb9..ec591490b 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -69,7 +69,7 @@ concurrency:
 
 jobs:
   knative-test:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
 
     - name: Checkout code
@@ -93,7 +93,7 @@ jobs:
         cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
 
   yaks-test:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: Checkout code
       uses: actions/checkout@v2
diff --git a/.github/workflows/nightly-automatic-updates.yml b/.github/workflows/nightly-automatic-updates.yml
index 23834c084..0f30297cc 100644
--- a/.github/workflows/nightly-automatic-updates.yml
+++ b/.github/workflows/nightly-automatic-updates.yml
@@ -25,7 +25,7 @@ on:
 jobs:
   main:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     name: Automatic updates on main branch
     steps:
     - name: "Checkout code"
@@ -43,7 +43,7 @@ jobs:
 
   v1_12_x:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: "Checkout code"
       uses: actions/checkout@v2
@@ -60,7 +60,7 @@ jobs:
 
   v1_10_x:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: "Checkout code"
       uses: actions/checkout@v2
diff --git a/.github/workflows/nightly-coverage.yml b/.github/workflows/nightly-coverage.yml
index bda72b846..261e3de0e 100644
--- a/.github/workflows/nightly-coverage.yml
+++ b/.github/workflows/nightly-coverage.yml
@@ -20,20 +20,20 @@ name: coverage
 on:
   schedule:
     - cron:  '45 1 * * *'
-  workflow_dispatch: 
+  workflow_dispatch:
 
 jobs:
   test:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     name: Update Coverage Badge
     steps:
       - name: Checkout
         uses: actions/checkout@v3
         with:
-          persist-credentials: false 
+          persist-credentials: false
           fetch-depth: 0
-      
+
       - name: Setup go
         uses: actions/setup-go@v3
         with:
@@ -75,7 +75,7 @@ jobs:
           git config --local user.email "$CI_EMAIL"
           git config --local user.name "$CI_USER"
           git add -A && git commit -m 'chore: nightly coverage badge' && echo "refresh=1" >> $GITHUB_ENV || echo "No changes to make update-docs"
-      
+
       - name: Push changes
         shell: bash
         if: env.changelog == 1 || env.refresh == 1
diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml
index 948cee80c..061e8327a 100644
--- a/.github/workflows/nightly-release.yml
+++ b/.github/workflows/nightly-release.yml
@@ -31,7 +31,7 @@ on:
 jobs:
   main:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: "Checkout code"
       uses: actions/checkout@v2
@@ -52,7 +52,7 @@ jobs:
 
   v1_12_x:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: "Checkout code"
       uses: actions/checkout@v2
@@ -73,7 +73,7 @@ jobs:
 
   v1_10_x:
     if: github.repository == 'apache/camel-k'
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - name: "Checkout code"
       uses: actions/checkout@v2
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
index 324cf2845..ab250c540 100644
--- a/.github/workflows/stale.yaml
+++ b/.github/workflows/stale.yaml
@@ -23,7 +23,7 @@ on:
 
 jobs:
   stale:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
     - uses: actions/stale@v3
       with:
@@ -34,14 +34,14 @@ jobs:
         stale-issue-label: status/stale
         exempt-issue-labels: 'status/never-stale,kind/bug'
         stale-issue-message: |
-          This issue has been automatically marked as stale due to 90 days of inactivity. 
+          This issue has been automatically marked as stale due to 90 days of inactivity.
           It will be closed if no further activity occurs within 15 days.
           If you think that’s incorrect or the issue should never stale, please simply write any comment.
           Thanks for your contributions!
         stale-pr-label: status/stale
         exempt-pr-labels: status/never-stale
         stale-pr-message: |
-          This PR has been automatically marked as stale due to 90 days of inactivity. 
+          This PR has been automatically marked as stale due to 90 days of inactivity.
           It will be closed if no further activity occurs within 15 days.
           If you think that’s incorrect or the issue should never stale, please simply write any comment.
           Thanks for your contributions!
diff --git a/.github/workflows/telemetry.yml b/.github/workflows/telemetry.yml
index d227faba3..6ef3e2d6e 100644
--- a/.github/workflows/telemetry.yml
+++ b/.github/workflows/telemetry.yml
@@ -70,7 +70,7 @@ concurrency:
 jobs:
   telemetry-it:
 
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 26fb12dd6..110519f3e 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -17,9 +17,9 @@
 
 name: validate
 
-on: 
+on:
   pull_request:
-    branches: 
+    branches:
       - main
       - "release-*"
   push:
@@ -33,7 +33,7 @@ concurrency:
 
 jobs:
   validate:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     steps:
       - name: Check out code
         uses: actions/checkout@v2