Skip to content

Commit

Permalink
Merge pull request #84 from sensu-plugins/centos_8_asset
Browse files Browse the repository at this point in the history
Update Bonsai assets to work with centos8
  • Loading branch information
Jef Spaleta authored Nov 13, 2020
2 parents 4013f48 + eaa1151 commit aed1bed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .bonsai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ builds:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform == 'alpine'"
- "entity.system.platform_version.split('.')[0] == '3'"
- platform: "alpine3.8"
- platform: "debian"
arch: "amd64"
asset_filename: "#{repo}_#{version}_alpine3.8_linux_amd64.tar.gz"
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
filter:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform == 'alpine'"
- "entity.system.platform_family == 'debian'"
- platform: "centos6"
arch: "amd64"
asset_filename: "#{repo}_#{version}_centos6_linux_amd64.tar.gz"
Expand All @@ -26,7 +25,7 @@ builds:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform_family == 'rhel'"
- "entity.system.platform_version.split('.')[0] == '6'"
- "parseInt(entity.system.platform_version.split('.')[0]) == 6"
- platform: "centos7"
arch: "amd64"
asset_filename: "#{repo}_#{version}_centos7_linux_amd64.tar.gz"
Expand All @@ -35,22 +34,14 @@ builds:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform_family == 'rhel'"
- "entity.system.platform_version.split('.')[0] == '7'"
- platform: "debian"
arch: "amd64"
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
filter:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform_family == 'debian'"
- platform: "debian9"
- "parseInt(entity.system.platform_version.split('.')[0]) == 7"
- platform: "centos8"
arch: "amd64"
asset_filename: "#{repo}_#{version}_debian9_linux_amd64.tar.gz"
asset_filename: "#{repo}_#{version}_centos8_linux_amd64.tar.gz"
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
filter:
- "entity.system.os == 'linux'"
- "entity.system.arch == 'amd64'"
- "entity.system.platform_family == 'debian'"
- "entity.system.platform_version.split('.')[0] == '9'"

- "entity.system.platform_family == 'rhel'"
- "parseInt(entity.system.platform_version.split('.')[0]) == 8"
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)

## [Unreleased]
### Fixed
- centos8 asset target

## [4.1.0] - 2020-07-02
### Changed
Expand Down

0 comments on commit aed1bed

Please sign in to comment.