Sha256: 0899acea1a516670683f875239bfb39af2ea3e9f215803919476ab2966e086f0
Contents?: true
Size: 1.16 KB
Versions: 24
Compression:
Stored size: 1.16 KB
Contents
namespace :docker do desc 'Build Docker image' task :build do system('docker-compose build --no-cache') end desc 'Bundles gems using cache' namespace :bundle do task :ruby do system('docker-compose run --rm gooddata-ruby bundle') end task :jruby do system('docker-compose run --rm gooddata-jruby bundle') end end end namespace :test do task :test do system('docker-compose run gooddata-ruby bundle exec echo ahoj') end end namespace :pronto do desc 'Performs automated code review on the PR' task :ci do system('docker-compose run gooddata-ruby bundle exec pronto run -f github_pr -c origin/master --exit-code') || fail('Pronto execution failed!') end end namespace :test do namespace :unit do task :docker do system('docker-compose run -u $(id -u):$(id -g) -e GNUPGHOME=/tmp gooddata-ruby bundle exec rake test:unit') || fail('Test execution failed!') end end namespace :integration do task :docker do system('docker-compose run -u $(id -u):$(id -g) -e GNUPGHOME=/tmp gooddata-jruby bundle exec rake test:integration') || fail('Test execution failed!') end end end
Version data entries
24 entries across 24 versions & 1 rubygems