From 0b72ae1391db8fcd0467ee8839f13976d188a3db Mon Sep 17 00:00:00 2001 From: John Brand Date: Mon, 27 Jan 2020 23:15:51 +0100 Subject: [PATCH] Travis and bonsai update. --- .bonsai.yml | 4 +++- .travis.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bonsai.yml b/.bonsai.yml index b60deae..40472d5 100644 --- a/.bonsai.yml +++ b/.bonsai.yml @@ -41,4 +41,6 @@ sha_filename: "#{repo}_#{version}_sha512-checksums.txt" filter: - "entity.system.os == 'linux'" - - "entity.system.arch == 'amd64'" \ No newline at end of file + - "entity.system.arch == 'amd64'" + - "entity.system.platform_family == 'debian'" + - "entity.system.platform_version.split('.')[0] == '9'" diff --git a/.travis.yml b/.travis.yml index b07842c..6993e7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,10 @@ before_script: - bash -c "[ ! -d bonsai/ ] && git clone https://github.com/sensu/sensu-go-bonsai-asset.git bonsai || echo 'bonsai/ exists, skipping git clone' ; cp asset_build_scripts/Dockerfile.* bonsai/ruby-runtime/" script: -- bundle exec rake quick #- bundle exec rake kitchen:ruby-`echo $TRAVIS_RUBY_VERSION | sed -e "s/\.//g"`-debian-8 - gem build sensu-plugins-percona.gemspec - gem install sensu-plugins-percona-*.gem +- bundle exec rake quick deploy: - provider: script script: chmod +x bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh && bonsai/ruby-runtime/travis-build-ruby-plugin-assets.sh sensu-plugins-percona