ci: give pip a writable HOME on the agent
This commit is contained in:
parent
ca1ac6bfd4
commit
a7f7e2deaa
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -17,6 +17,11 @@ spec:
|
|||||||
image: python:3.12-slim
|
image: python:3.12-slim
|
||||||
command: ["sleep"]
|
command: ["sleep"]
|
||||||
args: ["3600"]
|
args: ["3600"]
|
||||||
|
env:
|
||||||
|
- name: HOME
|
||||||
|
value: /home/jenkins/agent
|
||||||
|
- name: PIP_CACHE_DIR
|
||||||
|
value: /home/jenkins/agent/.pip-cache
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user