lib/minke/rake/app.rake in minke-1.8.3 vs lib/minke/rake/app.rake in minke-1.9.0

- old
+ new

@@ -4,41 +4,41 @@ task :fetch => ['config:set_docker_env'] do create_dependencies if @config.fetch != nil puts 'run fetch' - runner = Minke::Tasks::Fetch.new @config, :fetch, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper + runner = Minke::Tasks::Fetch.new @config, :fetch, @generator_config, @docker_runner, @docker_compose_factory, @service_discovery, @logger, @helper runner.run end end desc "build application" task :build => [:fetch] do create_dependencies if @config.build != nil - runner = Minke::Tasks::Build.new @config, :build, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper + runner = Minke::Tasks::Build.new @config, :build, @generator_config, @docker_runner, @docker_compose_factory, @service_discovery, @logger, @helper runner.run end end desc "run unit tests" task :test => [:build] do create_dependencies if @config.test != nil - runner = Minke::Tasks::Test.new @config, :test, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper + runner = Minke::Tasks::Test.new @config, :test, @generator_config, @docker_runner, @docker_compose_factory, @service_discovery, @logger, @helper runner.run end end desc "build Docker image for application" task :build_image => [:test] do create_dependencies if @config.build != nil - runner = Minke::Tasks::BuildImage.new @config, :build, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper + runner = Minke::Tasks::BuildImage.new @config, :build, @generator_config, @docker_runner, @docker_compose_factory, @service_discovery, @logger, @helper runner.run end end desc "run application with Docker Compose" @@ -65,10 +65,10 @@ end desc "push built image to Docker registry" task :push do create_dependencies - runner = Minke::Tasks::Push.new @config, :cucumber, @generator_config, @docker_runner, @docker_compose_factory, @logger, @helper + runner = Minke::Tasks::Push.new @config, :cucumber, @generator_config, @docker_runner, @docker_compose_factory, @service_discovery, @logger, @helper runner.run end def create_dependencies @project_name = "minke#{SecureRandom.urlsafe_base64(12)}".downcase.gsub('-', '')