We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At present, there is no easy way to mount a build to a persistent volume.
Would be great to be able to do so;
(ideally using a similar syntax to Kubernetes, such that persistnt volumes cna easily be mounted as part of a spec).
Please see;
apiVersion: v1 kind: Pod metadata: name: pv-recycler namespace: default spec: restartPolicy: Never volumes: - name: vol hostPath: path: /any/path/it/will/be/replaced containers: - name: pv-recycler image: "registry.k8s.io/busybox" command: ["/bin/sh", "-c", "test -e /scrub && rm -rf /scrub/..?* /scrub/.[!.]* /scrub/* && test -z \"$(ls -A /scrub)\" || exit 1"] volumeMounts: - name: vol mountPath: /scrub
In the deployment (for kube) we need to pass;
mountpath storageClassName (default can be "") vol_name
For for docker-compose, need to be able to pass a host path.
Would be cool to have an array of volumes we can mount per agent.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At present, there is no easy way to mount a build to a persistent volume.
Would be great to be able to do so;
(ideally using a similar syntax to Kubernetes, such that persistnt volumes cna easily be mounted as part of a spec).
Please see;
In the deployment (for kube) we need to pass;
For for docker-compose, need to be able to pass a host path.
Would be cool to have an array of volumes we can mount per agent.
The text was updated successfully, but these errors were encountered: