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

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

commit ac981574169aa4a34dde8c86f59449087bb570e1
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Tue Jun 22 17:29:01 2021 +0200

    chore(e2e): Remove Knative Camel Sources tests
---
 .github/workflows/knative.yml            | 12 ----------
 e2e/yaks/common/knative/receiver.groovy  | 19 ----------------
 e2e/yaks/common/knative/source.yaml      | 39 --------------------------------
 e2e/yaks/common/knative/sources.feature  | 10 --------
 e2e/yaks/common/knative/yaks-config.yaml | 29 ------------------------
 5 files changed, 109 deletions(-)

diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 80bdb36..7ae4255 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -97,7 +97,6 @@ jobs:
         export SERVING_VERSION=v0.23.1
         export EVENTING_VERSION=v0.23.2
         export KOURIER_VERSION=v0.23.0
-        export SOURCES_VERSION=v0.23.0
 
         # Serving
         kubectl apply --filename 
https://github.com/knative/serving/releases/download/$SERVING_VERSION/serving-crds.yaml
@@ -123,9 +122,6 @@ jobs:
         # Eventing sugar controller for injection
         kubectl apply -f 
https://github.com/knative/eventing/releases/download/$EVENTING_VERSION/eventing-sugar-controller.yaml
 
-        # Camel Sources
-        kubectl apply --filename 
https://github.com/knative-sandbox/eventing-camel/releases/download/$SOURCES_VERSION/camel.yaml
-
         # Wait for installation completed
         echo "Waiting for all pods to be ready in kourier-system"
         kubectl wait --for=condition=Ready pod --all -n kourier-system 
--timeout=60s
@@ -133,8 +129,6 @@ jobs:
         kubectl wait --for=condition=Ready pod --all -n knative-serving 
--timeout=60s
         echo "Waiting for all pods to be ready in knative-eventing"
         kubectl wait --for=condition=Ready pod --all -n knative-eventing 
--timeout=60s
-        echo "Waiting for all pods to be ready in knative-sources"
-        kubectl wait --for=condition=Ready pod --all -n knative-sources 
--timeout=60s
 
     - name: Build Operator
       run: |
@@ -221,7 +215,6 @@ jobs:
           export SERVING_VERSION=v0.23.1
           export EVENTING_VERSION=v0.23.2
           export KOURIER_VERSION=v0.23.0
-          export SOURCES_VERSION=v0.23.0
 
           # Serving
           kubectl apply --filename 
https://github.com/knative/serving/releases/download/$SERVING_VERSION/serving-crds.yaml
@@ -247,9 +240,6 @@ jobs:
           # Eventing sugar controller for injection
           kubectl apply -f 
https://github.com/knative/eventing/releases/download/$EVENTING_VERSION/eventing-sugar-controller.yaml
 
-          # Camel Sources
-          kubectl apply --filename 
https://github.com/knative-sandbox/eventing-camel/releases/download/$SOURCES_VERSION/camel.yaml
-
           # Wait for installation completed
           echo "Waiting for all pods to be ready in kourier-system"
           kubectl wait --for=condition=Ready pod --all -n kourier-system 
--timeout=60s
@@ -257,8 +247,6 @@ jobs:
           kubectl wait --for=condition=Ready pod --all -n knative-serving 
--timeout=60s
           echo "Waiting for all pods to be ready in knative-eventing"
           kubectl wait --for=condition=Ready pod --all -n knative-eventing 
--timeout=60s
-          echo "Waiting for all pods to be ready in knative-sources"
-          kubectl wait --for=condition=Ready pod --all -n knative-sources 
--timeout=60s
 
       - name: Build Operator
         run: |
diff --git a/e2e/yaks/common/knative/receiver.groovy 
b/e2e/yaks/common/knative/receiver.groovy
deleted file mode 100644
index 6c2e9b7..0000000
--- a/e2e/yaks/common/knative/receiver.groovy
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * 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.
- */
-
-from('knative:endpoint/receiver')
-  .log('Received: ${body}')
diff --git a/e2e/yaks/common/knative/source.yaml 
b/e2e/yaks/common/knative/source.yaml
deleted file mode 100644
index 88c4e5d..0000000
--- a/e2e/yaks/common/knative/source.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# 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.
-# ---------------------------------------------------------------------------
-
-apiVersion: sources.knative.dev/v1alpha1
-kind: CamelSource
-metadata:
-  name: camel-timer-source
-spec:
-  sink:
-    ref:
-      apiVersion: serving.knative.dev/v1
-      kind: Service
-      name: receiver
-  source:
-    flow:
-      from:
-        uri: timer:tick
-        parameters:
-          period: 3000
-        steps:
-        - set-header:
-            constant: text/plain
-            name: Content-Type
-        - set-body:
-            constant: MagicString!
diff --git a/e2e/yaks/common/knative/sources.feature 
b/e2e/yaks/common/knative/sources.feature
deleted file mode 100644
index 0257e8a..0000000
--- a/e2e/yaks/common/knative/sources.feature
+++ /dev/null
@@ -1,10 +0,0 @@
-Feature: Camel K can run latest released Knative CamelSource
-
-  Background:
-    Given Camel-K resource polling configuration
-      | maxAttempts          | 40   |
-      | delayBetweenAttempts | 3000 |
-
-  Scenario: Integration gets the message from the source
-    Given Camel-K integration receiver is running
-    Then Camel-K integration receiver should print MagicString!
diff --git a/e2e/yaks/common/knative/yaks-config.yaml 
b/e2e/yaks/common/knative/yaks-config.yaml
deleted file mode 100644
index b2bebf2..0000000
--- a/e2e/yaks/common/knative/yaks-config.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# 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.
-# ---------------------------------------------------------------------------
-
-config:
-  namespace:
-    temporary: true
-pre:
-- name: installation
-  run: |
-    kamel install -n $YAKS_NAMESPACE
-
-    kamel run receiver.groovy -w -n $YAKS_NAMESPACE
-
-    kubectl apply -f source.yaml -n $YAKS_NAMESPACE
-    kubectl wait camelsource --all --for=condition=Ready --timeout=10m -n 
$YAKS_NAMESPACE

Reply via email to