Sha256: 599a6c08f2a52a3a20afed1e69c17be94a41ed6137d8fa156f62d447ab92283d

Contents?: true

Size: 1.11 KB

Versions: 35

Compression:

Stored size: 1.11 KB

Contents

##
#
# A set of functionality for creating yum rpm repositories throughout the
# standard pkg/ directory layout that the packaging repo creates. The standard
# layout is:
# pkg/{el,fedora}/{5,6,f16,f17,f18}/{products,devel,dependencies,extras}/{i386,x86_64,SRPMS}
#
# Because we'll likely be creating the repos on a server that is remote, e.g.
# the distribution server, the logic here assumes we'll be doing everything via
# ssh commands.
#
namespace :pl do
  namespace :jenkins do
    # The equivalent to invoking this task is calling Pkg::Util::Repo.rpm_repos
    desc "Create yum repositories of built RPM packages for this SHA on the distribution server"
    task :rpm_repos => "pl:fetch" do
      Pkg::Rpm::Repo.create_remote_repos
    end

    desc "Create yum repository configs for package repos for this sha/tag on the distribution server"
    task :generate_rpm_repo_configs => "pl:fetch" do
      Pkg::Rpm::Repo.generate_repo_configs
    end

    desc "Retrieve rpm yum repository configs from distribution server"
    task :rpm_repo_configs => "pl:fetch" do
      Pkg::Rpm::Repo.retrieve_repo_configs
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
packaging-0.122.3 tasks/rpm_repos.rake
packaging-0.122.2 tasks/rpm_repos.rake
packaging-0.122.1 tasks/rpm_repos.rake
packaging-0.122.0 tasks/rpm_repos.rake
packaging-0.121.0 tasks/rpm_repos.rake
packaging-0.120.0 tasks/rpm_repos.rake
packaging-0.118.0 tasks/rpm_repos.rake
packaging-0.117.0 tasks/rpm_repos.rake
packaging-0.116.0 tasks/rpm_repos.rake
packaging-0.115.0 tasks/rpm_repos.rake
packaging-0.114.0 tasks/rpm_repos.rake
packaging-0.113.0 tasks/rpm_repos.rake
packaging-0.112.0 tasks/rpm_repos.rake
packaging-0.111.0 tasks/rpm_repos.rake
packaging-0.110.1 tasks/rpm_repos.rake
packaging-0.110.0 tasks/rpm_repos.rake
packaging-0.109.7 tasks/rpm_repos.rake
packaging-0.109.6 tasks/rpm_repos.rake
packaging-0.109.5 tasks/rpm_repos.rake
packaging-0.109.4 tasks/rpm_repos.rake