Sha256: 7ec9512e0b8bc2c1c24b76af3e0ff2759aac7b48e5c9f45eb3f40e2be1df2154

Contents?: true

Size: 459 Bytes

Versions: 9

Compression:

Stored size: 459 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class CopyDockerTag  < Pulp::Abstract
        input_format do
          param :source_pulp_id
          param :target_pulp_id
        end

        def run
          repo = ::Katello::Repository.find_by_pulp_id(input[:source_pulp_id])
          output[:response] = pulp_extensions.repository.update_docker_tags(input[:target_pulp_id], repo.docker_image_tag_hash)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.4 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.3 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.2 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.1 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.0 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.0.rc3 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.0.rc2 app/lib/actions/pulp/repository/copy_docker_tag.rb
katello-2.4.0.rc1 app/lib/actions/pulp/repository/copy_docker_tag.rb