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.
Loading
Please sign in to comment