dpl 1.7.21.travis.979.4 → 1.7.21.travis.980.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/TESTING.md +3 -0
- data/lib/dpl/provider/packagecloud.rb +1 -1
- data/spec/provider/packagecloud_spec.rb +22 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDBjMDBlNzRjNmRmNWZlYzQwODNkY2VhZDhmMjUxNjU4MzdlOTQ4Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDBlM2UwMWI1NTAxZjIwNzM4YTVkOGU3OWYzMmIyMzRmZTQ3MmQ3Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODY4YjdkZjk0MmE4NWM5NTJmMjIzNmFkNDgwMjgzYmMyMmNjNmMyMTkwOGUw
|
10
|
+
ZDlkZGJiY2ViY2EwMTkxNGYyODM3ZDg0ZDE0NTU4NjIyYTA3NDU5NTM3Y2Y4
|
11
|
+
MGE5YTMyYWZiZjNlNDEwODVmYWI3NzJmYWE1YTgyMWIyMWMwZGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjgxMWM4ODQ5Y2I5MWIyNjg5NmMyMDgyYjc4ZTQ0ZTZmNGIxOTQwMTZjZDdk
|
14
|
+
OGZlOTg1ZjY3MjI5ZThiYWU3MTc1ZmU4YTUyMWIzMzhkZjdmN2ZlODBkYjZh
|
15
|
+
MTA5OWI3MWRhMWZhMjZiOGRmMDA3NTY4Mzg3MzkzYzQyODM2YmQ=
|
data/TESTING.md
CHANGED
@@ -22,3 +22,6 @@ and uses that to deploy.
|
|
22
22
|
Notice that this is not a merge commit, so it is important
|
23
23
|
that when you are testing your PR, the branch `foo` is up-to-date
|
24
24
|
with https://github.com/travis-ci/dpl/tree/master/.
|
25
|
+
|
26
|
+
When opening a PR, be sure to run at least one deployment with the new configuration,
|
27
|
+
and provide a link to the build in the PR.
|
@@ -32,4 +32,25 @@ describe DPL::Provider::Packagecloud do
|
|
32
32
|
|
33
33
|
end
|
34
34
|
|
35
|
-
|
35
|
+
describe "#push_app" do
|
36
|
+
it 'defaults to searching everywhere' do
|
37
|
+
expect(Dir).to receive(:glob).with('**/*')
|
38
|
+
expect { provider.push_app }.to raise_error(DPL::Error)
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'accepts and uses a string glob' do
|
42
|
+
provider.options.update(:package_glob => 'foo*.gem')
|
43
|
+
|
44
|
+
expect(Dir).to receive(:glob).with('foo*.gem')
|
45
|
+
expect { provider.push_app }.to raise_error(DPL::Error)
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'accepts and uses an array of globs' do
|
49
|
+
provider.options.update(:package_glob => ['*.rpm', '**/*.deb'])
|
50
|
+
|
51
|
+
expect(Dir).to receive(:glob).with('*.rpm', '**/*.deb')
|
52
|
+
expect { provider.push_app }.to raise_error(DPL::Error)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|