Class: CircleCI::Parallel::Task::Master Private
- Defined in:
- lib/circleci/parallel/task/master.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Defined Under Namespace
Classes: Downloader
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#run ⇒ Object
private
rubocop:disable Metrics/AbcSize.
Methods inherited from Base
Constructor Details
This class inherits a constructor from CircleCI::Parallel::Task::Base
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
rubocop:disable Metrics/AbcSize
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/circleci/parallel/task/master.rb', line 8 def run # rubocop:disable Metrics/AbcSize create_node_data_dir configuration.before_sync_hook.call(node.data_dir) mark_as_syncing configuration.before_download_hook.call(BASE_DATA_DIR) download_from_slave_nodes configuration.after_download_hook.call(BASE_DATA_DIR) configuration.after_sync_hook.call(node.data_dir) done end |