Skip to content
Snippets Groups Projects
Commit 198847c0 authored by Sebastian Pape's avatar Sebastian Pape
Browse files

Excluding Thumbs.db from rsync

parent df05bd9b
No related branches found
No related tags found
1 merge request!31Excluding Thumbs.db from rsync
......@@ -154,7 +154,7 @@ variables:
allow_failure: true
script:
# Get all previous builds from network
- rsync -e "ssh -i $HOME/.ssh/cluster_access_vrdev" --archive --info=progress2 --human-readable --no-inc-recursive --delete --exclude=*.11 --chmod=0770 vrdev@${CLUSTER_ADDRESS}:/ ${VRDEV_UNREAL_DEPLOY_FOLDER}/ || true
- rsync -e "ssh -i $HOME/.ssh/cluster_access_vrdev" --archive --info=progress2 --human-readable --no-inc-recursive --delete --exclude=*.11 --exclude 'Thumbs.db' --chmod=0770 vrdev@${CLUSTER_ADDRESS}:/ ${VRDEV_UNREAL_DEPLOY_FOLDER}/ || true
# Copy build into the previous builds folder and overwrite old folder
- CURRENT_VRDEV_FOLDER=${VRDEV_UNREAL_DEPLOY_FOLDER}/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/${CI_PIPELINE_IID}
- find ${CURRENT_VRDEV_FOLDER} -delete &> /dev/null || true
......@@ -175,7 +175,7 @@ variables:
allow_failure: true
script:
# Get all previous builds from network
- rsync -e "ssh -i $HOME/.ssh/cluster_access_av006de" --archive --info=progress2 --human-readable --no-inc-recursive --delete --exclude=*.11 --chmod=0770 av006de@${CLUSTER_ADDRESS}:/ ${CAVE_UNREAL_DEPLOY_FOLDER}/ || true
- rsync -e "ssh -i $HOME/.ssh/cluster_access_av006de" --archive --info=progress2 --human-readable --no-inc-recursive --delete --exclude=*.11 --exclude 'Thumbs.db' --chmod=0770 av006de@${CLUSTER_ADDRESS}:/ ${CAVE_UNREAL_DEPLOY_FOLDER}/ || true
# Copy build into the previous builds folder and overwrite old folder
- CURRENT_CAVE_FOLDER=${CAVE_UNREAL_DEPLOY_FOLDER}/${CI_PROJECT_NAME}/${CI_COMMIT_REF_NAME}/${CI_PIPELINE_IID}
- find ${CURRENT_CAVE_FOLDER} -delete &> /dev/null || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment