aboutsummaryrefslogtreecommitdiff
path: root/tests/repository/publish
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-23 10:00:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-23 10:00:56 +0200
commit5e761f5bee6f0bec9b4554821509bfaa6381d1c8 (patch)
tree4bb87bd7f80c618302bde7ad56aa19f90e3b2292 /tests/repository/publish
parent0736a7b0cb90b83895af6a11ae0158f2adcce321 (diff)
Update test repository publish script to exclude unnecessary files
Diffstat (limited to 'tests/repository/publish')
-rwxr-xr-xtests/repository/publish10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/repository/publish b/tests/repository/publish
index df3245b..5d3d0f1 100755
--- a/tests/repository/publish
+++ b/tests/repository/publish
@@ -6,5 +6,11 @@
# --dry-run
# --progress
#
-rsync -v -rlpt --exclude '.*' --copy-unsafe-links --prune-empty-dirs \
---delete-after $* 1/ build2.org:/var/bpkg/1/tests/
+rsync -v -rlpt --copy-unsafe-links \
+--prune-empty-dirs --delete-after --delete-excluded $* \
+--include '*/' \
+--include '*.tar.gz' \
+--include 'packages' \
+--include 'repositories' \
+--exclude '*' \
+1/ build2.org:/var/bpkg/1/tests/