Sha256: 415eddea9572d73b3bcb13fa125bb9e989a60fb43660aa2ab36ad3a82659638e

Contents?: true

Size: 634 Bytes

Versions: 110

Compression:

Stored size: 634 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class UploadTag < Pulp3::AbstractAsyncTask
        def plan(repository, smart_proxy, args)
          plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id, :args => args)
        end

        def invoke_external_task
          repo = ::Katello::Repository.find(input[:repository_id])
          tag_name = input[:args].dig(:unit_key, :name)
          manifest_digest = input[:args].dig(:unit_key, :digest)
          output[:pulp_tasks] = [repo.backend_service(smart_proxy).tag_manifest(tag_name, manifest_digest)]
        end
      end
    end
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.15.0 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.15.0.rc2 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.15.0.rc1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.0 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.0.rc3 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.0.rc2 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.0.rc1.1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.14.0.rc1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.13.1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.13.0 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.12.1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.13.0.rc1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.12.0 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.12.0.rc3 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.12.0.rc2 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.12.0.rc1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.11.1 app/lib/actions/pulp3/repository/upload_tag.rb
katello-4.11.0 app/lib/actions/pulp3/repository/upload_tag.rb