Sha256: 30468cbbea550135b57bca05ea0238df5ad33c5707a99a6beead2f7792fb42e3

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

if @build.build_pe
  namespace :pe do
    desc "Build a PE rpm using rpmbuild (requires all BuildRequires, rpmbuild, etc)"
    task :local_rpm => "package:rpm"

    desc "Build rpms using ALL final mocks in build_defaults yaml, keyed to PL infrastructure, pass MOCK to override"
    task :local_mock_all => ["pl:fetch", "pl:mock_all"] do
      if @build.team == 'release'
        Rake::Task["pe:sign_rpms"].invoke
      end
    end

    desc "Build a PE rpm using the default mock"
    task :local_mock => ["pl:fetch", "pl:mock"] do
      if @build.team == 'release'
        Rake::Task["pe:sign_rpms"].invoke
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-2.7.22 ext/packaging/tasks/pe_rpm.rake
puppet-2.7.21 ext/packaging/tasks/pe_rpm.rake