mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kubectl apply \
|
tool=${ACCEPTANCE_TEST_DEPLOYMENT_TOOL}
|
||||||
-n actions-runner-system \
|
|
||||||
-f release/actions-runner-controller.yaml
|
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
|
kubectl -n actions-runner-system wait deploy/controller-manager --for condition=available
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user