Open sever-sever opened 6 months ago
I spent several days, and it doesn't work for some reason.
I tried --privileged
as in host as in the pipeline, I tried sudo
I try ~10-15 variants of config
volumes:
- type: volume
name: vol
spec: host
path: /tmp/foo:/tmp/foo
kind: pipeline
type: docker
name: default
steps:
- name: hello
privileged: true
image: alpine:3
volume:
name: vol
path:
/tmp/foo
commands:
- mkdir /tmp/foo
- ls -la
- cat /etc/os-release
- touch /tmp/foo/example.txt
I can't get it working.
I just want to ask, is it possible at all or should we don't do it anymore?
There is no information about it. And Slack it seems requires only accounts with a harness
domain, impossible to register with other mails.
As I understand it is just not implemented.
If you need any debug or help with this implementation let me know.
I can contribute if you point me to at least the part of the code where I should look. As a workaround with scp
looks really ugly.
Thanks.
I also tried using 'mount'. No success.
It is not clear how to use volumes, or maybe it is a bug I start the
gitness
container and mount/tmp/foo
to containerThe goal is to get artifacts from the container to the host system. I can't get it working and tried several ways.
Pipeline:
I can see it in the container:
But I don't see this file from the host who starts container
gitness
I would be grateful if this is possible.