deepdog/jenkins/ci-agent-pod.yaml
Deepak Mallubhotla 743c3e22ae
Some checks failed
gitea-physics/deepdog/pipeline/head There was a failure building this commit
build: use pre-built poetry image
2023-04-09 17:35:37 -05:00

17 lines
677 B
YAML

apiVersion: v1
kind: Pod
spec:
imagePullSecrets:
- name: regcreds
containers: # list of containers that you want present for your build, you can define a default container in the Jenkinsfile
- name: poetry
image: ghcr.io/dmallubhotla/poetry-image:1
command: ["tail", "-f", "/dev/null"] # this or any command that is bascially a noop is required, this is so that you don't overwrite the entrypoint of the base container
imagePullPolicy: Always # use cache or pull image for agent
resources: # limits the resources your build contaienr
requests:
memory: "2Gi"
cpu: "500m"
limits:
memory: "2Gi"