diff --git a/lib/dpl/provider/gae.rb b/lib/dpl/provider/gae.rb index beaf67633..e3e37c78b 100644 --- a/lib/dpl/provider/gae.rb +++ b/lib/dpl/provider/gae.rb @@ -58,10 +58,6 @@ def no_promote options[:no_promote] end - def use_cloud_build - options[:use_cloud_build] || 'false' - end - def verbosity options[:verbosity] || 'warning' end @@ -75,7 +71,6 @@ def no_stop_previous_version end def push_app - context.shell "#{GCLOUD} config set app/use_cloud_build #{use_cloud_build}" command = GCLOUD command << ' --quiet' command << " --verbosity \"#{verbosity}\"" diff --git a/spec/provider/gae_spec.rb b/spec/provider/gae_spec.rb index 46939509d..60ad65937 100644 --- a/spec/provider/gae_spec.rb +++ b/spec/provider/gae_spec.rb @@ -8,7 +8,6 @@ describe '#push_app' do example 'with defaults' do - allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} config set app/use_cloud_build false").and_return(true) allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} --quiet --verbosity \"warning\" --project \"test\" preview app deploy \"app.yaml\" --version \"\" --docker-build \"remote\" --promote").and_return(true) provider.push_app end