Skip to content

Commit

Permalink
Test examples action should only apply YAML (#592)
Browse files Browse the repository at this point in the history
There are some JSON files in the examples related to RabbitMQ. Kubectl should not apply those JSON files because they don't contain Kubernetes manifests and would cause a failure in the action.
  • Loading branch information
Zerpet committed Feb 5, 2021
1 parent 6527ae9 commit 6cb88cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
curl https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/master/bundle.yaml | sed "s/replicas: 1$/replicas: 0/" | kubectl apply -f -
make install
sleep 3 # otherwise we sporadically observe 'no matches for kind "RabbitmqCluster" in version "rabbitmq.com/v1beta1'
kubectl apply --dry-run=server --recursive -f docs/examples/
find docs/examples/ -name "*.y*ml" -exec kubectl apply --dry-run=server -f {} \;
system_tests:
name: system tests
Expand Down

0 comments on commit 6cb88cb

Please sign in to comment.