diff options
author | 2015-02-12 23:54:19 +0000 | |
---|---|---|
committer | 2015-02-13 00:12:11 +0000 | |
commit | f1773af4f9e933dcc4bd5a23d8f173b2b0b6a214 (patch) | |
tree | 653d39a3b20aa487bc8b0299a9e6df9a0b08ff08 /web/Rakefile | |
parent | Fix the way empty directories are tracked (diff) | |
download | ruby-tinderbox-f1773af4f9e933dcc4bd5a23d8f173b2b0b6a214.tar.gz ruby-tinderbox-f1773af4f9e933dcc4bd5a23d8f173b2b0b6a214.tar.bz2 ruby-tinderbox-f1773af4f9e933dcc4bd5a23d8f173b2b0b6a214.zip |
Add a rake task which only runs a limited number of repoman checks
Diffstat (limited to 'web/Rakefile')
-rw-r--r-- | web/Rakefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/web/Rakefile b/web/Rakefile index 0140c84..86aa390 100644 --- a/web/Rakefile +++ b/web/Rakefile @@ -53,6 +53,9 @@ namespace :db do end namespace :docker do + num_of_packages = ENV['NUM_OF_PACKAGES'].to_i + num_of_packages = 5 if num_of_packages == 0 + desc 'Build a docker image to use with subsequent tasks' task :setup do Docker.options[:read_timeout] = 36_000 @@ -71,8 +74,7 @@ namespace :docker do run_ci(@docker_image, :all) end - desc 'Build and test a fixed number of packages (num_of_packages=5)' - num_of_packages = ENV['num_of_packages'].to_i + desc 'Build and test a fixed number of packages (NUM_OF_PACKAGES=5)' task :run_ci_some do run_ci(@docker_image, num_of_packages) end @@ -82,8 +84,13 @@ namespace :docker do run_ci(@docker_image, :untested) end - desc 'Run repoman against the current and next targets for all packages' - task :run_repoman do - run_repoman(@docker_image) + desc 'QA test all packages' + task :run_repoman_all do + run_repoman(@docker_image, :all) + end + + desc 'QA test a fixed number of packages (NUM_OF_PACKAGES=5)' + task :run_repoman_some do + run_repoman(@docker_image, num_of_packages) end end |