summaryrefslogtreecommitdiff
path: root/docker-run.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2023-08-13 10:47:23 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2023-08-15 08:33:05 +0000
commit5bbf0af8dbff1dbf7028f08a163d191f300f5fd0 (patch)
tree5b8b2cb1dfd638bb25bb52a09874b0fb6b8673ef /docker-run.sh
parentd00b4ce643db1ae3318faf70d4f1429fbddacc37 (diff)
docker-run.sh: Remove ++rsync_to/++rsync_from unused options
These were used in precommit CI jobs, where we now use start-container-docker.sh and container_rsync() directly. Change-Id: I1044666cd5dc748cab43d761323c60bb3006b184
Diffstat (limited to 'docker-run.sh')
-rwxr-xr-xdocker-run.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/docker-run.sh b/docker-run.sh
index c0cd6835..6e8f6025 100755
--- a/docker-run.sh
+++ b/docker-run.sh
@@ -35,24 +35,7 @@ else
JENKINS_FLOCK=""
fi
-# Rsync specified directories to the container.
-# This is, primarily, for task==precommit, when we don't bind-mount $WORKSPACE.
-if test_array rsync_to; then
- declare -a rsync_to
- for dir in "${rsync_to[@]}"; do
- ${prefix}container_rsync -a --del "$dir" ":$dir"
- done
-fi
-
${prefix}container_exec "$@" &
res=0 && wait $! || res=$?
-# Rsync specified directories from the container.
-if test_array rsync_from; then
- declare -a rsync_from
- for dir in "${rsync_from[@]}"; do
- ${prefix}container_rsync -a --del ":$dir" "$dir"
- done
-fi
-
exit $res