-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patharc-setup.sh
More file actions
31 lines (27 loc) · 1.1 KB
/
arc-setup.sh
File metadata and controls
31 lines (27 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
NAMESPACE="arc-systems"
helm install arc \
--namespace "${NAMESPACE}" \
--create-namespace \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
# CPU arc runners
# TODO remove this just used for auth test
# INSTALLATION_NAME="arc-runner-set"
# NAMESPACE="arc-runners"
# GITHUB_CONFIG_URL="https://github.com/samos123/axlearn"
# helm install "${INSTALLATION_NAME}" \
# --namespace "${NAMESPACE}" \
# --create-namespace \
# --set githubConfigUrl="${GITHUB_CONFIG_URL}" \
# --set githubConfigSecret.github_token="${GITHUB_PAT}" \
# oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
INSTALLATION_NAME="arc-runner-h100"
NAMESPACE="arc-runners"
GITHUB_CONFIG_URL="https://github.com/samos123/axlearn"
helm install "${INSTALLATION_NAME}" \
--namespace "${NAMESPACE}" \
--create-namespace \
--set githubConfigUrl="${GITHUB_CONFIG_URL}" \
--set githubConfigSecret.github_token="${GITHUB_PAT}" \
-f values-arc-h100.yaml \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set