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/29 08:13:51 UTC
[camel-k] 03/04: Attempt to upgrade knative CI: fix yq
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
commit 9bfcde00ac2b98fb38cd0e428786fd8da10fdccd
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Tue Apr 28 18:33:25 2020 +0200
Attempt to upgrade knative CI: fix yq
---
.github/workflows/knative.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 6168539..910b768 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -94,7 +94,7 @@ jobs:
# Serving
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.14.0/serving-crds.yaml
- curl -L -s https://github.com/knative/serving/releases/download/v0.14.0/serving-core.yaml | yq 'del(.spec.template.spec.containers[].resources)' -y 2>/dev/null | kubectl apply -f -
+ curl -L -s https://github.com/knative/serving/releases/download/v0.14.0/serving-core.yaml | yq 'del(.spec.template.spec.containers[]?.resources)' -y | kubectl apply -f -
# Kourier
kubectl apply --filename https://github.com/knative/net-kourier/releases/download/v0.14.0/kourier.yaml
@@ -105,7 +105,7 @@ jobs:
# Eventing
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.14.1/eventing-crds.yaml
- curl -L -s https://github.com/knative/eventing/releases/download/v0.14.1/eventing-core.yaml | yq 'del(.spec.template.spec.containers[].resources)' -y 2>/dev/null | kubectl apply -f -
+ curl -L -s https://github.com/knative/eventing/releases/download/v0.14.1/eventing-core.yaml | yq 'del(.spec.template.spec.containers[]?.resources)' -y | kubectl apply -f -
# Camel Sources
kubectl apply --filename https://github.com/knative/eventing-contrib/releases/download/v0.14.0/camel.yaml
@@ -233,7 +233,7 @@ jobs:
# Serving
kubectl apply --filename https://github.com/knative/serving/releases/download/v0.14.0/serving-crds.yaml
- curl -L -s https://github.com/knative/serving/releases/download/v0.14.0/serving-core.yaml | yq 'del(.spec.template.spec.containers[].resources)' -y 2>/dev/null | kubectl apply -f -
+ curl -L -s https://github.com/knative/serving/releases/download/v0.14.0/serving-core.yaml | yq 'del(.spec.template.spec.containers[]?.resources)' -y | kubectl apply -f -
# Kourier
kubectl apply --filename https://github.com/knative/net-kourier/releases/download/v0.14.0/kourier.yaml
@@ -244,7 +244,7 @@ jobs:
# Eventing
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.14.1/eventing-crds.yaml
- curl -L -s https://github.com/knative/eventing/releases/download/v0.14.1/eventing-core.yaml | yq 'del(.spec.template.spec.containers[].resources)' -y 2>/dev/null | kubectl apply -f -
+ curl -L -s https://github.com/knative/eventing/releases/download/v0.14.1/eventing-core.yaml | yq 'del(.spec.template.spec.containers[]?.resources)' -y | kubectl apply -f -
# Camel Sources
kubectl apply --filename https://github.com/knative/eventing-contrib/releases/download/v0.14.1/camel.yaml