Sha256: 2f092f3a941efc745c5d0a97125271bfbe992dd10f193f41b42148ff762a0d0d

Contents?: true

Size: 1.03 KB

Versions: 91

Compression:

Stored size: 1.03 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
    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

91 entries across 91 versions & 1 rubygems

Version Path
packaging-0.104.0 tasks/rpm_repos.rake
packaging-0.103.0 tasks/rpm_repos.rake
packaging-0.102.0 tasks/rpm_repos.rake
packaging-0.101.0 tasks/rpm_repos.rake
packaging-0.99.82 tasks/rpm_repos.rake
packaging-0.99.81 tasks/rpm_repos.rake
packaging-0.99.80 tasks/rpm_repos.rake
packaging-0.99.79 tasks/rpm_repos.rake
packaging-0.99.78 tasks/rpm_repos.rake
packaging-0.99.77 tasks/rpm_repos.rake
packaging-0.88.77 tasks/rpm_repos.rake
packaging-0.99.76 tasks/rpm_repos.rake
packaging-0.99.75 tasks/rpm_repos.rake
packaging-0.99.74 tasks/rpm_repos.rake
packaging-0.99.73 tasks/rpm_repos.rake
packaging-0.99.72 tasks/rpm_repos.rake
packaging-0.99.71 tasks/rpm_repos.rake
packaging-0.99.70 tasks/rpm_repos.rake
packaging-0.99.69 tasks/rpm_repos.rake
packaging-0.99.68 tasks/rpm_repos.rake