Skip to content

Commit

Permalink
[AZP] Mount in a more spacious /tmp for the agents
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Feb 8, 2020
1 parent 57580d4 commit f165286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/azp_agent/agent_startup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ PermissionsStartOnly = true
Environment = AGENT_IDX=${AGENT_IDX}
EnvironmentFile = ${SRC_DIR}/.env
ExecStartPre = /bin/bash -c "mkdir -p ${STORAGE_DIR}/logs/agent_${AGENT_IDX}"
ExecStartPre = /bin/bash -c "mkdir -p ${STORAGE_DIR}/tmp/agent_${AGENT_IDX}"
ExecStart = ${STORAGE_DIR}/rootfs/sandbox --verbose --rootfs=${STORAGE_DIR}/rootfs \
--map=${STORAGE_DIR}/rootfs:/rootfs \
--workspace=${STORAGE_DIR}/depot:/depot \
--workspace=${STORAGE_DIR}/logs/agent_${AGENT_IDX}:/agent/_diag \
--workspace=${STORAGE_DIR}/tmp/agent_${AGENT_IDX}:/tmp \
-- /bin/bash -c "/run_agent.sh"

# Always restart, don't limit restarts at all, restart once per second
Expand Down

0 comments on commit f165286

Please sign in to comment.