mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-08-21 13:16:51 +00:00
* INS-2798: Refactor polaris to make it more compatible with other oss projects * INS-2798: Refactor polaris to make it more compatible with other oss projects * Fix
24 lines
457 B
Bash
Executable File
24 lines
457 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
mkdir -p /tmp/test-results
|
|
|
|
if [[ -n "${CIRCLE_PR_NUMBER:-}" ]]; then
|
|
echo "Skipping Kubernetes tests for forked PR"
|
|
exit 0
|
|
fi
|
|
|
|
cd /polaris
|
|
|
|
helm repo add jetstack https://charts.jetstack.io
|
|
helm repo update
|
|
helm install cert-manager jetstack/cert-manager \
|
|
--namespace cert-manager \
|
|
--version v1.12.1 \
|
|
--set installCRDs=true \
|
|
--wait \
|
|
--create-namespace
|
|
|
|
./test/webhook_test.sh
|
|
./test/kube_dashboard_test.sh
|