Class: Gitomator::Task::EnableCI
- Inherits:
-
EnableDisableCI
- Object
- BaseTask
- BaseReposTask
- EnableDisableCI
- Gitomator::Task::EnableCI
- Defined in:
- lib/gitomator/task/enable_disable_ci.rb
Instance Attribute Summary
Attributes inherited from BaseReposTask
Attributes inherited from BaseTask
Instance Method Summary collapse
Methods inherited from EnableDisableCI
Methods inherited from BaseReposTask
#after_processing_all_repos, #before_processing_any_repos, #initialize, #process_repo_error, #run
Methods inherited from BaseTask
#ci, #git, #hosting, #initialize, #run, #tagging
Constructor Details
This class inherits a constructor from Gitomator::Task::EnableDisableCI
Instance Method Details
#process_repo(repo_name, i) ⇒ Object
40 41 42 43 |
# File 'lib/gitomator/task/enable_disable_ci.rb', line 40 def process_repo(repo_name, i) logger.info "Enabling CI for #{repo_name} (#{i + 1} out of #{repos.length})" ci.enable_ci repo_name end |