dpl 1.8.17.travis.1444.4 → 1.8.17.travis.1460.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGFiOTc2NGYwY2NhZTQwNDQwNjMzZWYzNDhlZDZmNTg3M2MwMDZlNg==
4
+ NjljNGI4OTY4ZGZkMWUxYzg5NTI5Mjk3NDQ2YWQ4ODk2ZjY2ZGZjNg==
5
5
  data.tar.gz: !binary |-
6
- YWVmMDMxOGIxMGM4MTM2OTJhYWQ5OGI3NTJmY2VjZTZmNzI0YWRjYg==
6
+ MGRlNzZjMDdhZTk4ZDU2YjA5OGVkYTc2OWQxY2E5NWE1NTIyM2U1OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Mjg2Mjk2NDA2Yzc1OTk5YWYwMzYzZTYyZjkxNjEzMGZmM2IxYWMzYmI3ZmYx
10
- ZjQ5MTBiYjBhMzAwNzU2ZWIxNTYxZGY2YmI3M2VlYjNjYmU1OTMwMGJhZjIy
11
- MzlhMDdmMGJjZTcwMmEyZmViMTIxYjk2MzVlOGVmNGU4ZmI3NmE=
9
+ NmE3ZWRhMGQwMmE3NTIxODRkMTVkMGIyZjU2Y2ZmZDI1OTI3ZDNiM2E3Nzk4
10
+ MjY3YWNlNzlhZWJkMTA5MWIyZDk0ZTAzZGQzZDQ0NGIxYTU0ODNkZTQyZDhm
11
+ ZGZkZDRjYjRiOWRlNzJjMDc2ZDliOGE0MmVhYzdiNjFiY2U2Zjc=
12
12
  data.tar.gz: !binary |-
13
- ZTg5NzgzNjFhN2I3YjUyNWFhYzRhYWI5ZGE0Y2IwYWNjY2MyNDlmOGQ2YTk2
14
- MjUwNzI4YmE3NzU1MGY2OWY5MjY4M2ZhNGZkMjA4YjFkZWZiYzkyZjRmYjZh
15
- ZGMxY2RjYmZjMmUwMmIwMTM1ZmVmYzA1ZjQ5ZDZlNDA1OWU2Njg=
13
+ ZTM5NzIwZTBmZmJiY2U0NmRkYTVkNGNiYjE2NGZlMTg4ZWZkYjFhNTdiY2Uw
14
+ MTkxNzZmZjNkZDBjMmViMWRjNDg1NjA4NTE2MWRkNjVkODE0YTRlZjkwNmE5
15
+ MjU0NjMxMzkwZDJhOTI3MDIwMTIyMTU1ZmIzODdlOGE1YTRjNWQ=
data/README.md CHANGED
@@ -796,7 +796,6 @@ In order to use this provider, please make sure you have the [App Engine Admin A
796
796
  * **version**: The version of the app that will be created or replaced by this deployment. If you do not specify a version, one will be generated for you. See [`gcloud preview app deploy`](https://cloud.google.com/sdk/gcloud/reference/preview/app/deploy)
797
797
  * **no_promote**: Flag to not promote the deployed version. See [`gcloud preview app deploy`](https://cloud.google.com/sdk/gcloud/reference/preview/app/deploy)
798
798
  * **verbosity**: Let's you adjust the verbosity when invoking `"gcloud"`. Defaults to `"warning"`. See [`gcloud`](https://cloud.google.com/sdk/gcloud/reference/).
799
- * **docker_build**: If deploying a Managed VM, specifies where to build your image. Typical values are `"remote"` to build on Google Cloud Engine and `"local"` which requires Docker to be set up properly (to utilize this on Travis CI, read [Using Docker on Travis CI](http://blog.travis-ci.com/2015-08-19-using-docker-on-travis-ci/)). Defaults to `"remote"`.
800
799
  * **no_stop_previous_version**: Flag to prevent your deployment from stopping the previously promoted version. This is from the future, so might not work (yet). See [`gcloud preview app deploy`](https://cloud.google.com/sdk/gcloud/reference/preview/app/deploy)
801
800
 
802
801
  #### Environment variables:
@@ -58,31 +58,21 @@ module DPL
58
58
  options[:no_promote]
59
59
  end
60
60
 
61
- def use_cloud_build
62
- options[:use_cloud_build] || 'false'
63
- end
64
-
65
61
  def verbosity
66
62
  options[:verbosity] || 'warning'
67
63
  end
68
64
 
69
- def docker_build
70
- options[:docker_build] || 'remote'
71
- end
72
-
73
65
  def no_stop_previous_version
74
66
  options[:no_stop_previous_version]
75
67
  end
76
68
 
77
69
  def push_app
78
- context.shell "#{GCLOUD} config set app/use_cloud_build #{use_cloud_build}"
79
70
  command = GCLOUD
80
71
  command << ' --quiet'
81
72
  command << " --verbosity \"#{verbosity}\""
82
73
  command << " --project \"#{project}\""
83
74
  command << " preview app deploy \"#{config}\""
84
75
  command << " --version \"#{version}\""
85
- command << " --docker-build \"#{docker_build}\""
86
76
  command << " --#{no_promote ? 'no-' : ''}promote"
87
77
  command << (no_stop_previous_version ? ' --no-stop-previous-version' : '')
88
78
  unless context.shell(command)
@@ -8,8 +8,7 @@ describe DPL::Provider::GAE do
8
8
 
9
9
  describe '#push_app' do
10
10
  example 'with defaults' do
11
- allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} config set app/use_cloud_build false").and_return(true)
12
- 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)
11
+ allow(provider.context).to receive(:shell).with("#{DPL::Provider::GAE::GCLOUD} --quiet --verbosity \"warning\" --project \"test\" preview app deploy \"app.yaml\" --version \"\" --promote").and_return(true)
13
12
  provider.push_app
14
13
  end
15
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.17.travis.1444.4
4
+ version: 1.8.17.travis.1460.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2016-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec