Skip to content

Commit

Permalink
chore(apps/arc): invablog runner
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed May 22, 2024
1 parent dead71e commit dead696
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/arc/runners/invablog/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM ghcr.io/actions/actions-runner:latest

RUN sudo apt update && sudo apt install -y curl gpg jq
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && \
sudo apt update && sudo apt install -y nodejs && \
sudo npm install -g pnpm
68 changes: 68 additions & 0 deletions apps/arc/runners/invablog/helmrelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: arc-invablog
namespace: apps
spec:
interval: 10m0s
chart:
spec:
chart: gha-runner-scale-set
version: 0.9.2
sourceRef:
kind: HelmRepository
name: actions-runner-controller
namespace: core
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
runnerScaleSetName: invablog
githubConfigUrl: https://github.com/invakid404/invablog
githubConfigSecret:
github_token: ENC[AES256_GCM,data:27PRdK4fCKKNbz9N4t38baEa1c2W722F/y/kZYVUSZCdAjWBD3BX5w==,iv:KXET4X5iimHtTRXr3e+sFaYu3THCHOagY4fO9lCAGvs=,tag:il2ozLcQb8Ju7tU2346JYQ==,type:str]
template:
spec:
containers:
- name: runner
image: ghcr.io/invakid404/runners/invablog
imagePullPolicy: Always
command:
- /home/runner/run.sh
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-05-22T12:37:21Z"
mac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sbTAPDWPxMMlP5g1GZVwPMVrKwKbaRR/hx
o1ho62EE0QvAOqQm4yrtq7WGV6lQKrU1vj7ZDNr1hCuwsBIOUFuit6baoox3ylA=
=02k1
-----END PGP MESSAGE-----
fp: 05FA72D13D58F8D4588BE3FE5606FFB02A5F0984
encrypted_regex: ((?i)(pass($|word)|claim|secret($|[^N])|key|token|^data$|^stringData))
version: 3.8.1
4 changes: 4 additions & 0 deletions apps/arc/runners/invablog/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
1 change: 1 addition & 0 deletions apps/arc/runners/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: Kustomization
resources:
- ./pi-cluster
- ./abcccid
- ./invablog

0 comments on commit dead696

Please sign in to comment.