Custom Working directory for CI stages.
long-term
Autopilot
Merged in a post:
Share a workdir between CI Stages
A
Amazing Puffin
Hi, we are trying to use multiple CI Stages with one Harness Pipeline. Could you provide us a way to share workdir between those ? So it may be inherited between two CI Stages.
N
Nofar Bluestein
Hey, do you run build on your self-hosted infrastructure?
Have you looked into cache/restore steps (cache the data in the first stage and restore in the second) , or mounting volumes to your stages (if run on K8S).
see https://developer.harness.io/docs/continuous-integration/use-ci/set-up-build-infrastructure/ci-stage-settings/#volumes and https://developer.harness.io/docs/continuous-integration/use-ci/caching-ci-data/saving-cache/.
Thank you,
Nofar Bluestein, CI product team.
A
Amazing Puffin
Use-case is that one CI Stage may be forced from Template and one is defined by user.
S
Safflower Unicorn
updated the status to
long-term