mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-13 16:16:46 +00:00
https://github.com/actions/runner-container-hooks/issues/132 Co-authored-by: Katarzyna Radkowska <katarzyna.radkowska@sabre.com>
42 lines
780 B
YAML
42 lines
780 B
YAML
metadata:
|
|
annotations:
|
|
annotated-by: "extension"
|
|
labels:
|
|
labeled-by: "extension"
|
|
spec:
|
|
securityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 3000
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: $job # overwrites job container
|
|
env:
|
|
- name: ENV1
|
|
value: "value1"
|
|
imagePullPolicy: Always
|
|
image: "busybox:1.28" # Ignored
|
|
command:
|
|
- sh
|
|
args:
|
|
- -c
|
|
- sleep 50
|
|
- name: $redis # overwrites redis service
|
|
env:
|
|
- name: ENV2
|
|
value: "value2"
|
|
image: "busybox:1.28" # Ignored
|
|
resources:
|
|
requests:
|
|
memory: "1Mi"
|
|
cpu: "1"
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: "2"
|
|
- name: side-car
|
|
image: "ubuntu:latest" # required
|
|
command:
|
|
- sh
|
|
args:
|
|
- -c
|
|
- sleep 60
|