File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ description : " #{repo}"
3
+ builds :
4
+ - platform : " debian"
5
+ arch : " amd64"
6
+ asset_filename : " #{repo}_#{version}_debian_linux_amd64.tar.gz"
7
+ sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
8
+ filter :
9
+ - " entity.system.os == 'linux'"
10
+ - " entity.system.arch == 'amd64'"
11
+ - " entity.system.platform_family == 'debian'"
12
+ - platform : " centos"
13
+ arch : " amd64"
14
+ asset_filename : " #{repo}_#{version}_centos_linux_amd64.tar.gz"
15
+ sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
16
+ filter :
17
+ - " entity.system.os == 'linux'"
18
+ - " entity.system.arch == 'amd64'"
19
+ - " entity.system.platform_family == 'rhel'"
20
+ - platform : " alpine"
21
+ arch : " amd64"
22
+ asset_filename : " #{repo}_#{version}_alpine_linux_amd64.tar.gz"
23
+ sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
24
+ filter :
25
+ - " entity.system.os == 'linux'"
26
+ - " entity.system.arch == 'amd64'"
27
+ - " entity.system.platform == 'alpine'"
Original file line number Diff line number Diff line change @@ -24,8 +24,10 @@ script:
24
24
- bundle exec rake kitchen:ruby-`echo $TRAVIS_RUBY_VERSION | sed -e "s/\.//g"`-debian-8
25
25
- gem build sensu-plugins-postgres.gemspec
26
26
- gem install sensu-plugins-postgres-*.gem
27
+ before_deploy :
28
+ - bash -c "[ ! -d bonsai/ ] && git clone https://github.com/sensu/sensu-go-bonsai-asset.git bonsai || echo 'bonsai/ exists, skipping git clone'"
27
29
deploy :
28
- provider : rubygems
30
+ - provider : rubygems
29
31
api_key :
30
32
secure : L3ot3q90Sz+1dhi1Lxg4rvxZ0AEUCq2dL55Gzau48wou72T3GYSDBoqVGnZPmQcS9miNy4J7NZMxUgfoycnceqUkkue8+ss4c42NtrYs+SLU+rnmB/cwLTBQJ1ERRNXqgOYTwWt8EuIy6Dong1oCu8voFSj7NH4sXxTTO7RFho8=
31
33
gem : sensu-plugins-postgres
@@ -34,3 +36,10 @@ deploy:
34
36
all_branches : true
35
37
rvm : 2.4.1
36
38
repo : sensu-plugins/sensu-plugins-postgres
39
+ - provider : script
40
+ script : bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-postgres
41
+ skip_cleanup : true
42
+ on :
43
+ tags : true
44
+ all_branches : true
45
+ rvm : 2.4.1
You can’t perform that action at this time.
0 commit comments