Sha256: a3ffeff951a6a968d49b59922c12a8f0ca309f4c6bb920836c37334c93793ac4

Contents?: true

Size: 1.21 KB

Versions: 35

Compression:

Stored size: 1.21 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
    # The equivalent to invoking this task is calling Pkg::Util::Repo.deb_repos
    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

35 entries across 35 versions & 1 rubygems

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