Sha256: 60741d41ef741d3730c036ed007e86e132ed7372d96191bbedc9ce7b6d2e1445

Contents?: true

Size: 741 Bytes

Versions: 2

Compression:

Stored size: 741 Bytes

Contents

module Actions
  module Katello
    module Repository
      class CloneDockerContent < Actions::Base
        def plan(source_repo, target_repo)
          sequence do
            plan_action(Pulp::Repository::CopyDockerImage,
                        source_pulp_id: source_repo.pulp_id,
                        target_pulp_id: target_repo.pulp_id)
            plan_action(Pulp::Repository::CopyDockerTag,
                        source_pulp_id: source_repo.pulp_id,
                        target_pulp_id: target_repo.pulp_id)
            plan_action(Katello::Repository::MetadataGenerate, target_repo)
            plan_action(ElasticSearch::Repository::IndexContent, id: target_repo.id)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katello-2.4.0.rc2 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.0.rc1 app/lib/actions/katello/repository/clone_docker_content.rb