Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
Revert "Fixes #8409 - Pull docker image asynchronously"
Browse files Browse the repository at this point in the history
This reverts commit 16234b2.

Conflicts:
	app/models/service/containers.rb
  • Loading branch information
dLobatog committed Jan 28, 2015
1 parent 63ae5d9 commit e054355
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion app/models/container.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
class Container < ActiveRecord::Base
include Authorizable
include Taxonomix
include ForemanTasks::Concerns::ActionSubject

belongs_to :compute_resource
belongs_to :registry, :class_name => "DockerRegistry", :foreign_key => :registry_id
Expand Down
21 changes: 0 additions & 21 deletions app/models/service/actions/compute_resource/pull.rb

This file was deleted.

1 change: 0 additions & 1 deletion foreman_docker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ Gem::Specification.new do |s|

s.add_dependency 'docker-api', '~> 1.13'
s.add_dependency 'wicked', '~> 1.1'
s.add_dependency 'foreman-tasks'
s.add_development_dependency 'rubocop', '~> 0.26'
end
5 changes: 0 additions & 5 deletions lib/foreman_docker/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ class Engine < ::Rails::Engine
config.autoload_paths += Dir["#{config.root}/app/controllers/concerns"]
config.autoload_paths += Dir["#{config.root}/app/models/concerns"]

initializer "foreman_docker.require_dynflow",
:before => "foreman_tasks.initialize_dynflow" do |app|
ForemanTasks.dynflow.require!
end

initializer 'foreman_docker.load_app_instance_data' do |app|
app.config.paths['db/migrate'] += ForemanDocker::Engine.paths['db/migrate'].existent
end
Expand Down

0 comments on commit e054355

Please sign in to comment.