You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/04/03 14:28:22 UTC

[camel-k] branch master updated: chore(ci): fix Knative CI

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3e0243f  chore(ci): fix Knative CI
3e0243f is described below

commit 3e0243f78824ae576e165f7eb7db99cd98c3d55b
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Fri Apr 3 15:46:27 2020 +0200

    chore(ci): fix Knative CI
---
 .github/workflows/knative.yml | 9 +++++++++
 deploy/resources.go           | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index e8f9e89..617d738 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -72,12 +72,21 @@ jobs:
         for node in $(kind get nodes --name ${CLUSTER_NAME}); do
           docker exec "${node}" sh -c "echo $(docker inspect --format '{{.NetworkSettings.IPAddress }}' "${REGISTRY_CONTAINER_NAME}") registry >> /etc/hosts"
         done
+    - name: Downgrade Kubectl
+      run: |
+        # It fails with version 1.18
+        sudo apt-get install -y --allow-downgrades kubectl=1.16.3-00
+
     - name: Info
       run: |
+        kubectl version
         kubectl cluster-info
         kubectl describe nodes
     - name: Install Knative
       run: |
+        kubectl apply --selector knative.dev/crd-install=true -f https://github.com/knative/serving/releases/download/v0.10.0/serving-core.yaml
+        kubectl apply --selector knative.dev/crd-install=true -f https://github.com/knative/eventing/releases/download/v0.10.0/release.yaml
+
         kubectl apply -f https://github.com/knative/serving/releases/download/v0.10.0/serving-core.yaml
         kubectl apply -f https://github.com/knative/eventing/releases/download/v0.10.0/release.yaml
 
diff --git a/deploy/resources.go b/deploy/resources.go
index c5e50d7..028a2af 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -203,9 +203,9 @@ var assets = func() http.FileSystem {
 		"/operator-role-olm.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-olm.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 3684,
+			uncompressedSize: 3856,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x41\x8f\xdb\x36\x13\xbd\xeb\x57\x0c\xac\x4b\xf2\x61\x2d\x7f\xe9\xa9\x70\x4f\x6e\xb2\xdb\x1a\x0d\x6c\x60\xed\x34\xc8\x71\x44\x8d\xa5\xa9\x29\x0e\x4b\x52\x76\xdc\x5f\x5f\x88\x92\x77\xe5\xd5\x6e\x37\x05\x02\xb8\xbe\x98\x22\xc7\x6f\xde\xbc\x37\x1a\x33\x85\xe9\xf7\xfb\x24\x29\x7c\x64\x45\xc6\x53\x01\x41\x20\x54\x04\x0b\x8b\xaa\x22\xd8\xc8\x2e\x1c\xd1\x11\xdc\x49\x63\x0a\x0c\x2c\x06\xde\x2c\x36\x77\x6f\xa1\x31\x05\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\xc1\x8e\xdb\x36\x10\xbd\xeb\x2b\x06\xf6\x25\x29\xd6\x72\xd3\x53\xe1\x9e\xdc\x64\xb7\x35\x1a\x78\x81\xf5\xa6\x41\x8e\x23\x6a\x2c\x4d\x97\xe4\xb0\x24\x65\xc7\xfd\xfa\x82\xb4\x9c\xc8\xd1\x6e\x37\x05\x82\xba\xbe\x98\x22\xc7\x6f\xde\xbc\x37\x1a\x73\x0a\xb3\x6f\xf7\x29\xa6\xf0\x96\x15\xd9\x40\x35\x44\x81\xd8\x12\x2c\x1d\xaa\x96\x60\x23\xdb\xb8\x47\x4f\x70\x23\x9d\xad\x31\xb2\x58\x78\xb1\xdc\xdc\xbc\x84\xce\xd6\xe4\x [...]
 		},
 		"/operator-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-openshift.yaml",