mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-13 08:06:44 +00:00
* bump actions * experiment using init container to prepare working environment * rm script before continuing * fix * Update packages/k8s/src/hooks/run-script-step.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * leverage exec stat instead of printf * npm update * document the new constraint --------- Co-authored-by: DenisPalnitsky <DenisPalnitsky@users.noreply.github.com>
39 lines
720 B
YAML
39 lines
720 B
YAML
metadata:
|
|
annotations:
|
|
annotated-by: "extension"
|
|
labels:
|
|
labeled-by: "extension"
|
|
spec:
|
|
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
|