You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/03/22 17:11:39 UTC

[camel-k] branch master updated (70ad223 -> a34fd3f)

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git.


    from 70ad223  doc(test): basic e2e local instructions
     new 9c2468f  fix(ci): Free more disk space for OpenShift workflow
     new 6533829  chore(ci): Pin OS version to ubuntu-20.04
     new 765d452  fix(e2e): Aggregate nodes permission to the default admin role
     new 6b3356b  fix(ci): Free more disk space for Knative workflow
     new a34fd3f  fix(e2e): Fix Nodes read permission

The 5 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/automatic-changelog-update.yml |  2 +-
 .github/workflows/backport.yml                   |  2 +-
 .github/workflows/build.yml                      |  4 +--
 .github/workflows/builder.yml                    |  2 +-
 .github/workflows/knative.yml                    | 13 ++++++++--
 .github/workflows/kubernetes.yml                 |  2 +-
 .github/workflows/local.yml                      |  2 +-
 .github/workflows/openshift.yml                  | 33 ++++++++++++++++++++++--
 .github/workflows/release.yml                    |  2 +-
 .github/workflows/stale.yaml                     |  2 +-
 .github/workflows/validate.yml                   |  2 +-
 11 files changed, 52 insertions(+), 14 deletions(-)

[camel-k] 04/05: fix(ci): Free more disk space for Knative workflow

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 6b3356b7684c9203742da44efdb86bfb0b436e9c
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 22 13:41:21 2021 +0100

    fix(ci): Free more disk space for Knative workflow
---
 .github/workflows/knative.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 1bb03c8..69976d5 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -53,10 +53,15 @@ jobs:
         sudo swapoff -a
         sudo rm -f /swapfile
         sudo apt clean
+        sudo rm -rf /usr/share/dotnet
+        sudo rm -rf /opt/ghc
+        sudo rm -rf "/usr/local/share/boost"
+        sudo rm -rf "$AGENT_TOOLSDIRECTORY"
         docker rmi $(docker image ls -aq)
 
         echo "Final status:"
         df -h
+        sudo mount --make-shared /
     - name: Set up JDK 11
       uses: AdoptOpenJDK/install-jdk@v1
       with:
@@ -169,6 +174,10 @@ jobs:
           sudo swapoff -a
           sudo rm -f /swapfile
           sudo apt clean
+          sudo rm -rf /usr/share/dotnet
+          sudo rm -rf /opt/ghc
+          sudo rm -rf "/usr/local/share/boost"
+          sudo rm -rf "$AGENT_TOOLSDIRECTORY"
           docker rmi $(docker image ls -aq)
 
           echo "Final status:"

[camel-k] 01/05: fix(ci): Free more disk space for OpenShift workflow

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 9c2468f54e92ca825c16f3aac33c81ac4b98516f
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 22 13:34:55 2021 +0100

    fix(ci): Free more disk space for OpenShift workflow
---
 .github/workflows/openshift.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index c56a73e..7d3afe0 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -55,6 +55,10 @@ jobs:
         sudo swapoff -a
         sudo rm -f /swapfile
         sudo apt clean
+        sudo rm -rf /usr/share/dotnet
+        sudo rm -rf /opt/ghc
+        sudo rm -rf "/usr/local/share/boost"
+        sudo rm -rf "$AGENT_TOOLSDIRECTORY"
         docker rmi $(docker image ls -aq)
 
         echo "Final status:"

[camel-k] 05/05: fix(e2e): Fix Nodes read permission

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit a34fd3f648410fe70257fac52ac3529bd1b1e1af
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 22 15:04:11 2021 +0100

    fix(e2e): Fix Nodes read permission
---
 .github/workflows/openshift.yml | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index fdf73ac..22aa6a1 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -168,7 +168,7 @@ jobs:
         kind: ClusterRole
         apiVersion: rbac.authorization.k8s.io/v1
         metadata:
-          name: camel-k:eviction
+          name: camel-k-test:eviction
           labels:
             app: "camel-k"
             rbac.authorization.k8s.io/aggregate-to-admin: "true"
@@ -183,15 +183,25 @@ jobs:
         kind: ClusterRole
         apiVersion: rbac.authorization.k8s.io/v1
         metadata:
-          name: camel-k:node
-          labels:
-            app: "camel-k"
-            rbac.authorization.k8s.io/aggregate-to-admin: "true"
+          name: camel-k-test:nodes
         rules:
         - apiGroups: [""]
           resources: ["nodes"]
           verbs: ["get","list"]
         EOF
+        cat <<EOF | oc apply -f -
+        kind: ClusterRoleBinding
+        apiVersion: rbac.authorization.k8s.io/v1
+        metadata:
+          name: camel-k-test:nodes
+        subjects:
+        - kind: User
+          name: developer
+        roleRef:
+          kind: ClusterRole
+          name: camel-k-test:nodes
+          apiGroup: rbac.authorization.k8s.io
+        EOF
 
         # Login as normal user
         oc login -u developer

[camel-k] 02/05: chore(ci): Pin OS version to ubuntu-20.04

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 6533829369d438388732039ca9113942a01fdfc1
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 22 13:37:56 2021 +0100

    chore(ci): Pin OS version to ubuntu-20.04
---
 .github/workflows/automatic-changelog-update.yml | 2 +-
 .github/workflows/backport.yml                   | 2 +-
 .github/workflows/build.yml                      | 4 ++--
 .github/workflows/builder.yml                    | 2 +-
 .github/workflows/knative.yml                    | 4 ++--
 .github/workflows/kubernetes.yml                 | 2 +-
 .github/workflows/local.yml                      | 2 +-
 .github/workflows/openshift.yml                  | 2 +-
 .github/workflows/release.yml                    | 2 +-
 .github/workflows/stale.yaml                     | 2 +-
 .github/workflows/validate.yml                   | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/automatic-changelog-update.yml b/.github/workflows/automatic-changelog-update.yml
index c648de0..d51ac18 100644
--- a/.github/workflows/automatic-changelog-update.yml
+++ b/.github/workflows/automatic-changelog-update.yml
@@ -25,7 +25,7 @@ on:
 
 jobs:
   generate_changelog:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     name: Generate changelog for master branch
     if: github.ref == 'refs/heads/master' && github.repository == 'apache/camel-k'
     steps:
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index 5860f31..9079bce 100644
--- a/.github/workflows/backport.yml
+++ b/.github/workflows/backport.yml
@@ -24,7 +24,7 @@ on:
 
 jobs:
   backport:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     name: Backport
     steps:
       - name: "Checkout camel-k"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5ca0114..900cffe 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,8 +41,8 @@ jobs:
     strategy:
       matrix:
         # TODO: test an all the supported OS
-        # [ubuntu-latest, macos-latest, windows-latest]
-        os: [ubuntu-latest]
+        # [ubuntu-20.04, macos-latest, windows-latest]
+        os: [ubuntu-20.04]
     runs-on: ${{ matrix.os }}
     steps:
     - name: Set up JDK 11
diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 8b78230..557caeb 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -40,7 +40,7 @@ on:
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     strategy:
       matrix:
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 008c0db..1bb03c8 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -39,7 +39,7 @@ on:
 
 jobs:
   test:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
     - name: Checkout code
       uses: actions/checkout@v2
@@ -155,7 +155,7 @@ jobs:
         make test-knative
 
   yaks:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
       - name: Checkout code
         uses: actions/checkout@v2
diff --git a/.github/workflows/kubernetes.yml b/.github/workflows/kubernetes.yml
index fdbe210..d61da81 100644
--- a/.github/workflows/kubernetes.yml
+++ b/.github/workflows/kubernetes.yml
@@ -40,7 +40,7 @@ on:
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml
index 2b25e66..b1067c0 100644
--- a/.github/workflows/local.yml
+++ b/.github/workflows/local.yml
@@ -40,7 +40,7 @@ on:
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index 7d3afe0..0db6046 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -40,7 +40,7 @@ on:
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     - name: Checkout code
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 67f0b77..40ab8f8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ on:
 
 jobs:
   release:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
     - name: Set up JDK 11
       uses: AdoptOpenJDK/install-jdk@v1
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
index 54fe762..ca09977 100644
--- a/.github/workflows/stale.yaml
+++ b/.github/workflows/stale.yaml
@@ -23,7 +23,7 @@ on:
 
 jobs:
   stale:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
     - uses: actions/stale@v3
       with:
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 5decec1..59f5c28 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -28,7 +28,7 @@ on:
       - "release-*"
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
       - name: Check out code
         uses: actions/checkout@v2

[camel-k] 03/05: fix(e2e): Aggregate nodes permission to the default admin role

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 765d452fa6bf1f6458f9c70a77e73524974c4007
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Mar 22 13:40:18 2021 +0100

    fix(e2e): Aggregate nodes permission to the default admin role
---
 .github/workflows/openshift.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index 0db6046..fdf73ac 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -178,6 +178,21 @@ jobs:
           verbs: ["create"]
         EOF
 
+        # Aggregate nodes permission to the default admin role
+        cat <<EOF | oc apply -f -
+        kind: ClusterRole
+        apiVersion: rbac.authorization.k8s.io/v1
+        metadata:
+          name: camel-k:node
+          labels:
+            app: "camel-k"
+            rbac.authorization.k8s.io/aggregate-to-admin: "true"
+        rules:
+        - apiGroups: [""]
+          resources: ["nodes"]
+          verbs: ["get","list"]
+        EOF
+
         # Login as normal user
         oc login -u developer