forked from platypush/platypush
fuse doesn't like inter-device move operations.
So the Drone pipeline has to resort to the cp+rm dance instead.
This commit is contained in:
parent
b9e68d69a9
commit
33b26fa8dd
1 changed files with 2 additions and 1 deletions
|
@ -766,7 +766,8 @@ steps:
|
||||||
- echo "--- Updating the S3 bucket"
|
- echo "--- Updating the S3 bucket"
|
||||||
- export NEW_RPM_ROOT="$BUCKET_MNT/rpm_new"
|
- export NEW_RPM_ROOT="$BUCKET_MNT/rpm_new"
|
||||||
- export OLD_RPM_ROOT="$BUCKET_MNT/rpm_old"
|
- export OLD_RPM_ROOT="$BUCKET_MNT/rpm_old"
|
||||||
- mv "$TMP_RPM_ROOT" "$NEW_RPM_ROOT"
|
- cp -r "$TMP_RPM_ROOT" "$NEW_RPM_ROOT"
|
||||||
|
- rm -rf "$TMP_RPM_ROOT"
|
||||||
- mv "$RPM_ROOT" "$OLD_TMP_ROOT"
|
- mv "$RPM_ROOT" "$OLD_TMP_ROOT"
|
||||||
- mv "$NEW_RPM_ROOT" "$RPM_ROOT"
|
- mv "$NEW_RPM_ROOT" "$RPM_ROOT"
|
||||||
- rm -rf "$OLD_TMP_ROOT"
|
- rm -rf "$OLD_TMP_ROOT"
|
||||||
|
|
Loading…
Reference in a new issue