nix: play with agent stuff
Some checks failed
gitea-physics/pdme/pipeline/head There was a failure building this commit

This commit is contained in:
Deepak Mallubhotla 2022-09-06 18:23:57 -05:00
parent 13cf2ce1d1
commit f97a34a3c7
Signed by: deepak
GPG Key ID: 976F3357369149AB

View File

@ -4,7 +4,8 @@ spec:
containers: # list of containers that you want present for your build, you can define a default container in the Jenkinsfile
- name: nix-builder
image: nixos/nix:2.11.0
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
command: ["nix", "--version"]
# 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: