mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
Set ACCEPTANCE_TEST_DEPLOYMENT_TOOL=helm to run acceptance tests with chart
This commit is contained in:
@@ -19,9 +19,18 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user