mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-12 20:46:47 +00:00
setup tests for single namespace and dind
This commit is contained in:
@@ -48,17 +48,12 @@ function delete_cluster() {
|
||||
minikube delete
|
||||
}
|
||||
|
||||
function install_arc() {
|
||||
echo "Installing ARC"
|
||||
|
||||
helm install ${NAME} \
|
||||
--namespace ${NAMESPACE} \
|
||||
--create-namespace \
|
||||
--set image.repository=${IMAGE_NAME} \
|
||||
--set image.tag=${IMAGE_VERSION} \
|
||||
${ROOT_DIR}/charts/gha-runner-scale-set-controller \
|
||||
--debug
|
||||
function log_arc() {
|
||||
echo "ARC logs"
|
||||
kubectl logs -n "${NAMESPACE}" -l app.kubernetes.io/name=gha-rs-controller
|
||||
}
|
||||
|
||||
function wait_for_arc() {
|
||||
echo "Waiting for ARC to be ready"
|
||||
local count=0;
|
||||
while true; do
|
||||
@@ -80,11 +75,6 @@ function install_arc() {
|
||||
kubectl describe deployment "${NAME}" -n "${NAMESPACE}"
|
||||
}
|
||||
|
||||
function log_arc() {
|
||||
echo "ARC logs"
|
||||
kubectl logs -n "${NAMESPACE}" -l app.kubernetes.io/name=gha-rs-controller
|
||||
}
|
||||
|
||||
function wait_for_scale_set() {
|
||||
local count=0
|
||||
while true; do
|
||||
|
||||
Reference in New Issue
Block a user