dpl 2.0.0.alpha.9 → 2.0.0.alpha.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ffe98f5b9f3ce0ca191cf682cef66a9ce40d9ca
4
- data.tar.gz: c6f078c0327bdc898dacce86ba58146d40b1c59e
3
+ metadata.gz: 003cfee325bc454ee88129b538430b6a469be380
4
+ data.tar.gz: 320164315ea404214e30f3e0a81fad81a7d10285
5
5
  SHA512:
6
- metadata.gz: 6ea460e362dc45fde1bc1c6bf2b4712e3e1b33d78720323cbaac8a5168b0bfc69c7fdbc3ae723441ee7f61f881f19d5baadff123da9ea0c1561a572c8a847ad6
7
- data.tar.gz: '097250f7c7aae96be417e826b5b50ac724b3046dd3cbc5ad38bf4ca7c2e74a8458de1bf8a397696ffc6b5953e0bb2e2265cd922f417c9225dd3e3f56e17b1532'
6
+ metadata.gz: a2f13a6a9497cb298f30d68d4d20513f97149af65392b94fdc673787812cd31e0254c54c7cc18b8e5f8dfc370b831cc52691e6d779f824b93b4185bba92dc4fa
7
+ data.tar.gz: 17649221bb6d51b291855d8fcc0540a884ebb93fa940b1f6c36d6f7b80e40e672250a1f9cbd1c17f0c585683fe496f06c3ab03c78fe13081df8d605acf80dbed
@@ -1,19 +1,39 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## dpl v2.0.0-alpha.6 - v2.0.0-alpha.10 (2019-08-28)
4
4
 
5
- * Rescue `UnknownOption` and suggest known options on Ruby >= 2.4
6
5
  * Add a Cloudformation provider
7
6
  * Add a Convox provider
7
+ * Add a Gleis provider
8
+ * Remove the Atlas provider (service retired)
9
+ * Rescue `UnknownOption` and suggest known options on Ruby >= 2.4
10
+ * Allow options to be given as env vars on all providers
8
11
 
9
12
  ### Cargo
10
13
 
11
14
  * Add `--allow_dirty` to allow publishing from a dirty Git working directory
12
15
 
16
+ ### Cloudfoundry
17
+
18
+ * Default `--api` to `https://api.run.pivotal.io`
19
+
20
+ ### Elasticbeanstalk
21
+
22
+ * Hornor `.gitignore` if `.ebignore` is not present
23
+
13
24
  ### GCS
14
25
 
15
26
  * Add `--key_file` to allow using a service account key file
16
27
 
28
+ ### NPM
29
+
30
+ * Allow publishing to GitHub Package Registry
31
+ * Add `--dry_run` to allow testing deployments
32
+
33
+ ### Pages
34
+
35
+ * Do not commit or push unless the working dir is dirty on cloned repos
36
+
17
37
  ### Releases
18
38
 
19
39
  * Make --file glob files by default, and default to `*`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dpl (2.0.0.alpha.8)
4
+ dpl (2.0.0.alpha.9)
5
5
  cl (~> 1.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -418,7 +418,7 @@ Options can be given via env vars if prefixed with `[AWS_|LAMBDA_]`. E.g. the op
418
418
 
419
419
  ### AWS OpsWorks
420
420
 
421
- Support for deployments to AWS OpsWorks is in **alpha**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
421
+ Support for deployments to AWS OpsWorks is in **beta**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
422
422
 
423
423
  ```
424
424
  Usage: dpl opsworks [options]
@@ -1344,6 +1344,7 @@ Options:
1344
1344
  --cache_control HEADER HTTP header Cache-Control to suggest that the browser cache the file. (type:
1345
1345
  string, see:
1346
1346
  https://cloud.google.com/storage/docs/xml-api/reference-headers#cachecontrol)
1347
+ --glob GLOB type: string, default: **/*
1347
1348
 
1348
1349
  Common Options:
1349
1350
 
@@ -1402,7 +1403,7 @@ given as `HACKAGE_PASSWORD=<password>`.
1402
1403
 
1403
1404
  ### Hephy
1404
1405
 
1405
- Support for deployments to Hephy is in **alpha**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
1406
+ Support for deployments to Hephy is in **beta**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
1406
1407
 
1407
1408
  ```
1408
1409
  Usage: dpl hephy [options]
@@ -1559,7 +1560,7 @@ be given as `LAUNCHPAD_OAUTH_TOKEN=<oauth_token>`.
1559
1560
 
1560
1561
  ### Netlify
1561
1562
 
1562
- Support for deployments to Netlify is in **alpha**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
1563
+ Support for deployments to Netlify is in **beta**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
1563
1564
 
1564
1565
  ```
1565
1566
  Usage: dpl netlify [options]
@@ -1622,6 +1623,7 @@ Options:
1622
1623
  --registry URL npm registry url (type: string)
1623
1624
  --src SRC directory or tarball to publish (type: string, default: .)
1624
1625
  --tag TAGS distribution tags to add (type: string)
1626
+ --[no-]dry_run performs test run without uploading to registry
1625
1627
  --auth_method METHOD Authentication method (type: string, known values: auth)
1626
1628
 
1627
1629
  Common Options:
@@ -1,7 +1,7 @@
1
1
  module Dpl
2
2
  module Providers
3
3
  class Hephy < Provider
4
- status :alpha
4
+ status :beta
5
5
 
6
6
  description sq(<<-str)
7
7
  tbd
@@ -1,7 +1,7 @@
1
1
  module Dpl
2
2
  module Providers
3
3
  class Netlify < Provider
4
- status :alpha
4
+ status :beta
5
5
 
6
6
  description sq(<<-str)
7
7
  tbd
@@ -19,6 +19,7 @@ module Dpl
19
19
  opt '--registry URL', 'npm registry url'
20
20
  opt '--src SRC', 'directory or tarball to publish', default: '.'
21
21
  opt '--tag TAGS', 'distribution tags to add'
22
+ opt '--dry_run', 'performs test run without uploading to registry'
22
23
  opt '--auth_method METHOD', 'Authentication method', enum: %w(auth)
23
24
 
24
25
  REGISTRY = 'https://registry.npmjs.org'
@@ -51,7 +52,7 @@ module Dpl
51
52
  private
52
53
 
53
54
  def publish_opts
54
- opts_for(%i(access tag))
55
+ opts_for(%i(access tag dry_run), dashed: true)
55
56
  end
56
57
 
57
58
  def write_npmrc
@@ -1,7 +1,7 @@
1
1
  module Dpl
2
2
  module Providers
3
3
  class Opsworks < Provider
4
- status :alpha
4
+ status :beta
5
5
 
6
6
  full_name 'AWS OpsWorks'
7
7
 
@@ -96,7 +96,7 @@ module Dpl
96
96
  def deploy
97
97
  git_clone? ? git_clone : git_init
98
98
  copy_files
99
- return info :stop unless git_dirty?
99
+ return info :stop if git_clone? && !git_dirty?
100
100
  git_config
101
101
  git_commit
102
102
  git_push
@@ -1,3 +1,3 @@
1
1
  module Dpl
2
- VERSION = '2.0.0.alpha.9'
2
+ VERSION = '2.0.0.alpha.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha.9
4
+ version: 2.0.0.alpha.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-10-03 00:00:00.000000000 Z
13
+ date: 2019-10-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cl