Commit c2683ec7 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

DockerHeptapod: Fixed SSH params

Now that it inherits from OmnibusHeptapod, it had
the hardcoded expected `git@localhost`, which isn't
appropriate because DockerHeptapod is meant to be
used from outside the container (and OmnibusHeptapod can
be used from inside the container)
parent ba67af8c7b21
Pipeline #13412 waiting for manual action with stages
in 26 seconds
......@@ -579,6 +579,10 @@ class DockerHeptapod(OmnibusHeptapod):
def run_shell(self, command, **kw):
return docker.heptapod_run_shell(self.docker_container, command, **kw)
@property
def ssh_url(self):
return super(OmnibusHeptapod, self).ssh_url
def put_archive(self, dest, path, owner='git'):
res = docker.heptapod_put_archive(self.docker_container, dest, path)
self.run_shell(['chown', '-R', 'git:root', dest])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment