Sha256: d97c2c3111ff749011e59c6e0e48fd508426165734fdcf27e8f2766bc704c79c

Contents?: true

Size: 735 Bytes

Versions: 7

Compression:

Stored size: 735 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(Katello::Repository::IndexContent, id: target_repo.id)
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-2.4.5 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.4 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.3 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.2 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.0 app/lib/actions/katello/repository/clone_docker_content.rb
katello-2.4.0.rc3 app/lib/actions/katello/repository/clone_docker_content.rb