it just works
This commit is contained in:
parent
11b8018de9
commit
911a35b079
4 changed files with 6 additions and 4 deletions
1
.github/workflows/terraform-apply.yml
vendored
1
.github/workflows/terraform-apply.yml
vendored
|
|
@ -17,6 +17,7 @@ jobs:
|
||||||
if: github.repository != 'hashicorp-education/learn-terraform-github-actions'
|
if: github.repository != 'hashicorp-education/learn-terraform-github-actions'
|
||||||
name: "Terraform Apply"
|
name: "Terraform Apply"
|
||||||
runs-on: mealcraft-runners
|
runs-on: mealcraft-runners
|
||||||
|
container: ubuntu:22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
1
.github/workflows/terraform-plan.yml
vendored
1
.github/workflows/terraform-plan.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
if: github.repository != 'hashicorp-education/learn-terraform-github-actions'
|
if: github.repository != 'hashicorp-education/learn-terraform-github-actions'
|
||||||
name: "Terraform Plan"
|
name: "Terraform Plan"
|
||||||
runs-on: mealcraft-runners
|
runs-on: mealcraft-runners
|
||||||
|
container: ubuntu:22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
|
||||||
1
.github/workflows/test-autoscaling.yml
vendored
1
.github/workflows/test-autoscaling.yml
vendored
|
|
@ -6,6 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
load-test:
|
load-test:
|
||||||
runs-on: mealcraft-runners
|
runs-on: mealcraft-runners
|
||||||
|
container: ubuntu:22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
job_id: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
|
job_id: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,6 @@ helm install arc \
|
||||||
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
|
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
|
||||||
|
|
||||||
helm uninstall mealcraft-runners -n arc-systems
|
helm uninstall mealcraft-runners -n arc-systems
|
||||||
|
|
||||||
echo "=== Install MealCraft Runner Scale Set ==="
|
|
||||||
helm install mealcraft-runners \
|
helm install mealcraft-runners \
|
||||||
--namespace arc-systems \
|
--namespace arc-systems \
|
||||||
--set runnerScaleSetName=mealcraft-runners \
|
--set runnerScaleSetName=mealcraft-runners \
|
||||||
|
|
@ -31,12 +29,13 @@ helm install mealcraft-runners \
|
||||||
--set githubConfigUrl=https://github.com/MealCraft \
|
--set githubConfigUrl=https://github.com/MealCraft \
|
||||||
--set githubConfigSecret.github_token=$GITHUB_PAT \
|
--set githubConfigSecret.github_token=$GITHUB_PAT \
|
||||||
--set githubConfigSecret.name=github-secret \
|
--set githubConfigSecret.name=github-secret \
|
||||||
|
\
|
||||||
--set containerMode.type=kubernetes \
|
--set containerMode.type=kubernetes \
|
||||||
|
--set containerMode.kubernetesModeDefaultContainer.image=ubuntu:22.04 \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.accessModes[0]=ReadWriteOnce \
|
--set containerMode.kubernetesModeWorkVolumeClaim.accessModes[0]=ReadWriteOnce \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.storageClassName=microk8s-hostpath \
|
--set containerMode.kubernetesModeWorkVolumeClaim.storageClassName=microk8s-hostpath \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.resources.requests.storage=1Gi \
|
--set containerMode.kubernetesModeWorkVolumeClaim.resources.requests.storage=1Gi \
|
||||||
--set defaultContainer.image=ubuntu:22.04 \
|
\
|
||||||
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
|
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
|
||||||
|
|
||||||
|
|
||||||
echo "=== ARC installation complete ==="
|
echo "=== ARC installation complete ==="
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue