Sha256: d893a755bb16e0dca910f6aa7f43bf92680279c786a4787a26bc4e7e46ed6ebb

Contents?: true

Size: 738 Bytes

Versions: 22

Compression:

Stored size: 738 Bytes

Contents

module Actions
  module Katello
    module Repository
      class CloneDockerContent < Actions::Base
        def plan(source_repo, target_repo)
          sequence do
            plan_action(Pulp::Repository::CopyDockerManifest,
                        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

22 entries across 22 versions & 1 rubygems

Version Path
katello-3.3.0.rc1.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.3.0.rc1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.1.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.0 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.0.rc3 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.0.rc2 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.0.rc1.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.2.0.rc1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.1.0.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.1.0 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.1.0.rc2.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.2 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.1.0.rc1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.1 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.0 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.0.rc7 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.0.rc5 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.0.rc4 app/lib/actions/katello/repository/clone_docker_content.rb
katello-3.0.0.rc3 app/lib/actions/katello/repository/clone_docker_content.rb