-
Type:
Bug
-
Resolution: Fixed
-
None
-
Affects Version/s: None
-
Component/s: Installation & Update
-
Emptyshow more show less
Currently the deploy scripts modify the content in target, sync them to a ftp sync dir, and then sync them online:
- build generates content in target/
- deploy-XXX modifies content in target/
- deploy-XXX also syncs to target_client_XXX_ftp_sync
Since different deploy scripts use the same target directory (which contains the "build" done one time by the build script), the content in target changes according to the deploy script. This must not be!
It should be instead:
- build generates content in target/
- deploy-XXX generates content in target_client_XXX
- FTP: for painless FTP syncing a second dir target_client_XXX_ftp_sync is needed (synced from target_client_XXX).
Alternatively the last step can be omitted through using another FTP sync tool which can do checksum based checks like rsync -c.