Set `ACCEPTANCE_TEST_DEPLOYMENT_TOOL=helm` to run acceptance tests with chart
This commit is contained in:
parent
ce48dc58e6
commit
6a4c29d30e
|
|
@ -19,9 +19,18 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
kubectl apply \
|
||||
-n actions-runner-system \
|
||||
-f release/actions-runner-controller.yaml
|
||||
tool=${ACCEPTANCE_TEST_DEPLOYMENT_TOOL}
|
||||
|
||||
if [ "${tool}" == "helm" ]; then
|
||||
helm upgrade --install actions-runner-controller \
|
||||
charts/actions-runner-controller \
|
||||
-n actions-runner-system \
|
||||
--set syncPeriod=5m
|
||||
else
|
||||
kubectl apply \
|
||||
-n actions-runner-system \
|
||||
-f release/actions-runner-controller.yaml
|
||||
fi
|
||||
|
||||
kubectl -n actions-runner-system wait deploy/controller-manager --for condition=available
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue