Commit ecf9a46e authored by Dan Notestein's avatar Dan Notestein
Browse files

Refactor sync job to use common-ci-configuration templates

Use composable templates for sync job:
- .haf_app_sync_variables for common directory/compose variables
- .haf_app_sync_setup for docker login and git safe.directory
- .haf_app_fetch_haf_cache for HAF replay data from local/NFS
- .haf_app_copy_blockchain for block_log copy
- .haf_app_copy_datadir for datadir copy and ownership fix
- .haf_app_sync_shutdown for checkpoint, logs, compose down
- .haf_app_sync_save_cache for local and NFS cache push
- .haf_app_sync_cleanup for after_script cleanup
- .haf_app_sync_artifacts for artifacts configuration

Reduces sync job from ~150 lines to ~50 lines while keeping
app-specific startup scripts inline.
parent d2c98b3f
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment