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 f0a6b0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
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
10 changes: 10 additions & 0 deletions test/e2e-skipper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ 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"
KUSTOMIZE_VERSION=3.8.1
curl -L -o /usr/local/bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64
chmod +x /usr/local/bin/kustomize
kustomize version
fi

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

kubectl rollout status deployment/skipper-ingress -n kube-system
Expand Down
15 changes: 0 additions & 15 deletions test/local/skipper.sh

This file was deleted.

0 comments on commit f0a6b0d

Please sign in to comment.