Skip to content

Commit

Permalink
installing Kustomize in e2d if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
universam1 committed Aug 14, 2020
1 parent 42bb59a commit 6c5a3ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
- run: test/e2e-kind.sh
- run: test/e2e-skipper.sh
- run: test/e2e-skipper-tests.sh
- run: test/e2e-nginx-cleanup.sh
- run: test/e2e-skipper-cleanup.sh

push-helm-charts:
docker:
Expand Down
7 changes: 7 additions & 0 deletions test/e2e-skipper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ echo '>>> Installing Skipper Ingress, Flagger and Prometheus'
# https://github.com/kubernetes-sigs/kustomize/issues/2390
# Skipper will throw an Prometheus warning which can be ignored:
# https://github.com/weaveworks/flagger/issues/664

# installing kustomize if not installed
if ! command -v kustomize &> /dev/null; then
echo "kustomize not found, installing"
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | sudo bash
fi

kustomize build ${REPO_ROOT}/kustomize/skipper | kubectl apply -f -

kubectl rollout status deployment/skipper-ingress -n kube-system
Expand Down

0 comments on commit 6c5a3ce

Please sign in to comment.