diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-10-11 17:33:59 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2016-10-11 17:33:59 +0000 |
commit | bd650dca90555627095537d5d07fa8bf6c5ca4fa (patch) | |
tree | 024b99d5a3f6cb7ff6884c599586193130d78972 /tcwg-buildfarm-maxim.yaml | |
parent | febd2b0a058c8e4453dde0e76ea03a75efe3f43b (diff) |
tcwg-buildfarm-maxim,tcwg-test-container-matrix: Improve interoperability
Change-Id: I9413c8f02a8c22bbb4b670c3940f0b74c3cc29fe
Diffstat (limited to 'tcwg-buildfarm-maxim.yaml')
-rw-r--r-- | tcwg-buildfarm-maxim.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tcwg-buildfarm-maxim.yaml b/tcwg-buildfarm-maxim.yaml index d553180dd6..cb6ef35e1d 100644 --- a/tcwg-buildfarm-maxim.yaml +++ b/tcwg-buildfarm-maxim.yaml @@ -151,9 +151,12 @@ *) echo "ERROR: Wrong target $target"; exit 1 ;; esac docker_host="$(echo $DOCKER_HOST | sed -e "s#^tcp://\(.*\):.*#\1#")" + ssh_port="$(ssh $docker_host docker port $DOCKER_CONTAINER_ID 22)" + ssh_port="$(echo $ssh_port | cut -d: -f 2)" cat > test-container.param << EOF container_name=docker-trusty-$container_arch-tcwg-test - upstream_dest=$docker_host:$WORKSPACE/test-container.data + upstream_dest=$docker_host:$ssh_port:$WORKSPACE/test-container.data + watchdog=upstream EOF ;; esac |