Sha256: e3b2ef6a2d6beffa8e7a3e2e10d2fed26f6ee4b124eed811fa378a517af298f3

Contents?: true

Size: 1.14 KB

Versions: 91

Compression:

Stored size: 1.14 KB

Contents

##
# Create a debian repository under the standard pkg/ directory layout that the
# packaging repo creates. The standard layout is pkg/deb/$distribution/files.
# The repository is created in the 'repos' directory under the jenkins build
# directories on the distribution server, e.g.
# /opt/jenkins-builds/$project/$sha/repos. Because we're creating deb
# repositories on the fly, we have to generate the configuration files as well.
# We assume every directory under the `deb` directory is named for a
# distribution, and we use this in creating our configurations.
#
namespace :pl do
  namespace :jenkins do
    desc "Create apt repositories of build DEB packages for this SHA on the distributions erver"
    task :deb_repos => "pl:fetch" do
      Pkg::Deb::Repo.create_repos
    end

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

    desc "Retrieve debian apt repository configs for this sha"
    task :deb_repo_configs => "pl:fetch" do
      Pkg::Deb::Repo::retrieve_repo_configs
    end
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

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