dpl 2.0.0.alpha.13 → 2.0.0.alpha.14
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 +4 -4
- data/CHANGELOG.md +12 -2
- data/Gemfile.lock +1 -1
- data/lib/dpl/providers/s3.rb +2 -2
- data/lib/dpl/providers/snap.rb +5 -1
- data/lib/dpl/version.rb +1 -1
- data/status.json +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 803bba59dcae1537929d574e957d3798af066ada
|
4
|
+
data.tar.gz: d9bcdda5054b954925d348211e73575270972ddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa254bf4c8cd811d12517ad75375402bfd8414349fec89af28edc581af75250eaa3fc1ea83502031c2bb3ab94a1e6530d78f4d60ebdfde8a7e06bf94c46e794d
|
7
|
+
data.tar.gz: d281cc907723915d4c443445bde802f055d8c8017a036a29bdebeed4cde67e8abe71c77b957f963c55c1d06829c3baf3f4a7ad7b5cfa9e46a0471fe764c82eff
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
3
|
+
## dpl v2.0.0-alpha.13 (2020-01-17)
|
4
|
+
|
5
|
+
* Add s3 `--glob`
|
6
|
+
|
7
|
+
## dpl v2.0.0-alpha.13 (2020-01-06)
|
8
|
+
|
9
|
+
* Bump Cl which now raises on arguments undeclared by the command
|
10
|
+
|
11
|
+
## dpl v2.0.0-alpha.12 (2020-01-06)
|
4
12
|
|
5
13
|
* Add npm `--run_script`, allowing one or many scripts from package.json to be run
|
6
|
-
*
|
14
|
+
* Add elasticbeanstalk `--wait_until_deployed_timeout`
|
15
|
+
* Update pages to pass one -m option per commit message line
|
16
|
+
* Fix releases to transliterate filenames in an attempt to mirror GitHub's behavior
|
7
17
|
|
8
18
|
## dpl v2.0.0-alpha.11 (2019-10-14)
|
9
19
|
|
data/Gemfile.lock
CHANGED
data/lib/dpl/providers/s3.rb
CHANGED
@@ -27,6 +27,7 @@ module Dpl
|
|
27
27
|
opt '--endpoint URL', 'S3 endpoint'
|
28
28
|
opt '--upload_dir DIR', 'S3 directory to upload to'
|
29
29
|
opt '--local_dir DIR', 'Local directory to upload from', default: '.', example: '~/travis/build (absolute path) or ./build (relative path)'
|
30
|
+
opt '--glob GLOB', 'Files to upload', default: '**/*'
|
30
31
|
opt '--dot_match', 'Upload hidden files starting with a dot'
|
31
32
|
opt '--acl ACL', 'Access control for the uploaded objects', default: 'private', enum: %w(private public_read public_read_write authenticated_read bucket_owner_read bucket_owner_full_control)
|
32
33
|
opt '--detect_encoding', 'HTTP header Content-Encoding for files compressed with gzip and compress utilities'
|
@@ -40,7 +41,6 @@ module Dpl
|
|
40
41
|
opt '--force_path_style', 'Whether to force keeping the bucket name on the path'
|
41
42
|
opt '--max_threads NUM', 'The number of threads to use for S3 file uploads', default: 5, max: 15, type: :integer
|
42
43
|
opt '--verbose', 'Be verbose about uploading files'
|
43
|
-
# how come there is no glob or file option?
|
44
44
|
|
45
45
|
msgs login: 'Using Access Key: %{access_key_id}',
|
46
46
|
default_uri_schema: 'S3 endpoint does not specify a scheme; defaulting to https',
|
@@ -135,7 +135,7 @@ module Dpl
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def glob
|
138
|
-
[
|
138
|
+
[super, dot_match? ? File::FNM_DOTMATCH : nil].compact
|
139
139
|
end
|
140
140
|
|
141
141
|
def acl
|
data/lib/dpl/providers/snap.rb
CHANGED
@@ -15,7 +15,9 @@ module Dpl
|
|
15
15
|
|
16
16
|
apt 'snapd', 'snap'
|
17
17
|
|
18
|
-
cmds
|
18
|
+
cmds apt_get_update: 'sudo apt-get update -qq',
|
19
|
+
update_snapd: 'sudo apt-get install snapd',
|
20
|
+
install: 'sudo snap install snapcraft --classic',
|
19
21
|
login: 'echo "%{token}" | snapcraft login --with -',
|
20
22
|
deploy: 'snapcraft push %{snap_path} --release=%{channel}'
|
21
23
|
|
@@ -26,6 +28,8 @@ module Dpl
|
|
26
28
|
|
27
29
|
def install
|
28
30
|
return if which 'snapcraft'
|
31
|
+
shell :apt_get_update
|
32
|
+
shell :update_snapd
|
29
33
|
shell :install
|
30
34
|
ENV['PATH'] += ':/snap/bin'
|
31
35
|
end
|
data/lib/dpl/version.rb
CHANGED
data/status.json
CHANGED
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.
|
4
|
+
version: 2.0.0.alpha.14
|
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: 2020-01-
|
13
|
+
date: 2020-01-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cl
|