You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/04/27 12:25:51 UTC

[camel-k] branch prepare-oper created (now c85ad1db7)

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

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


      at c85ad1db7 Operators: make prepare-operators should use the same folder structure of the Kubernetes output for the Openshift ecosystem

This branch includes the following new commits:

     new c85ad1db7 Operators: make prepare-operators should use the same folder structure of the Kubernetes output for the Openshift ecosystem

The 1 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.



[camel-k] 01/01: Operators: make prepare-operators should use the same folder structure of the Kubernetes output for the Openshift ecosystem

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

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

commit c85ad1db7e58d0d11c3c5039e0fb790e979dbfce
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 27 14:25:19 2022 +0200

    Operators: make prepare-operators should use the same folder structure of the Kubernetes output for the Openshift ecosystem
---
 script/prepare-operators.sh | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/script/prepare-operators.sh b/script/prepare-operators.sh
index 0ba768f93..9232324d3 100755
--- a/script/prepare-operators.sh
+++ b/script/prepare-operators.sh
@@ -30,7 +30,9 @@ cd bundle/
 mkdir -p k8s-operatorhub/$1/manifests/
 mkdir -p k8s-operatorhub/$1/metadata/
 mkdir -p k8s-operatorhub/$1/tests/scorecard/
-mkdir -p openshift-ecosystem/$1/
+mkdir -p openshift-ecosystem/$1/manifests/
+mkdir -p openshift-ecosystem/$1/metadata/
+mkdir -p openshift-ecosystem/$1/tests/scorecard/
 
 cp ./manifests/camel.apache.org_builds.yaml k8s-operatorhub/$1/manifests/builds.camel.apache.org.crd.yaml
 cp ./manifests/camel.apache.org_camelcatalogs.yaml k8s-operatorhub/$1/manifests/camelcatalogs.camel.apache.org.crd.yaml
@@ -43,16 +45,18 @@ cp ./manifests/camel-k.clusterserviceversion.yaml k8s-operatorhub/$1/manifests/c
 cp ./metadata/annotations.yaml k8s-operatorhub/$1/metadata/annotations.yaml
 cp ./tests/scorecard/config.yaml k8s-operatorhub/$1/tests/scorecard/config.yaml
 
-cp ./manifests/camel.apache.org_builds.yaml openshift-ecosystem/$1/builds.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_camelcatalogs.yaml openshift-ecosystem/$1/camelcatalogs.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_integrationkits.yaml openshift-ecosystem/$1/integrationkits.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_integrationplatforms.yaml openshift-ecosystem/$1/integrationplatforms.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_integrations.yaml openshift-ecosystem/$1/integrations.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_kameletbindings.yaml openshift-ecosystem/$1/kameletbindings.camel.apache.org.crd.yaml
-cp ./manifests/camel.apache.org_kamelets.yaml openshift-ecosystem/$1/kamelets.camel.apache.org.crd.yaml
-cp ./manifests/camel-k.clusterserviceversion.yaml openshift-ecosystem/$1/camel-k.v$1.clusterserviceversion.yaml
+cp ./manifests/camel.apache.org_builds.yaml openshift-ecosystem/$1/manifests/builds.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_camelcatalogs.yaml openshift-ecosystem/$1/manifests/camelcatalogs.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_integrationkits.yaml openshift-ecosystem/$1/manifests/integrationkits.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_integrationplatforms.yaml openshift-ecosystem/$1/manifests/integrationplatforms.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_integrations.yaml openshift-ecosystem/$1/manifests/integrations.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_kameletbindings.yaml openshift-ecosystem/$1/manifests/kameletbindings.camel.apache.org.crd.yaml
+cp ./manifests/camel.apache.org_kamelets.yaml openshift-ecosystem/$1/manifests/kamelets.camel.apache.org.crd.yaml
+cp ./manifests/camel-k.clusterserviceversion.yaml openshift-ecosystem/$1/manifests/camel-k.v$1.clusterserviceversion.yaml
+cp ./metadata/annotations.yaml openshift-ecosystem/$1/metadata/annotations.yaml
+cp ./tests/scorecard/config.yaml openshift-ecosystem/$1/tests/scorecard/config.yaml
 
 # Starting sed to replace operator
 
 sed -i 's/camel-k.v/camel-k-operator.v/g' k8s-operatorhub/$1/manifests/camel-k.v$1.clusterserviceversion.yaml
-sed -i 's/camel-k.v/camel-k-operator.v/g' openshift-ecosystem/$1/camel-k.v$1.clusterserviceversion.yaml
+sed -i 's/camel-k.v/camel-k-operator.v/g' openshift-ecosystem/$1/manifests/camel-k.v$1.clusterserviceversion.yaml