Skip to content

Commit

Permalink
CI/travis/deploy: extend cleanup to all debian packages
Browse files Browse the repository at this point in the history
We should also cleanup Trusty debian packages, since Trusty is the current
default image used in Travis-CI.
And also include Xenial images in the cleanup (since they were added now).

Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo committed Jul 27, 2018
1 parent 2b1c4b8 commit 0950037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/travis/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo "bye" >> script$3
sftp ${EXTRA_SSH} -b script$3 ${SSHUSER}@${SSHHOST}

# limit things to a few files, so things don't grow forever
if [ "${LDIST}" = "-precise" -a "$3" = ".deb" ] ; then
if [ "$3" = ".deb" ] ; then
for files in $(ssh ${EXTRA_SSH} ${SSHUSER}@${SSHHOST} \
"ls -lt ${GLOB}" | tail -n +100 | awk '{print $NF}')
do
Expand Down

0 comments on commit 0950037

Please sign in to comment.