Skip to content

Commit f58c897

Browse files
author
Jef Spaleta
authored
Merge pull request #101 from nixwiz/update_for_centos6
Updated for CentOS 6 build
2 parents a0ccae7 + d8f240e commit f58c897

2 files changed

Lines changed: 44 additions & 8 deletions

File tree

.bonsai.yml

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,61 @@
11
---
22
description: "#{repo}"
33
builds:
4-
- platform: "debian"
4+
- platform: "alpine"
55
arch: "amd64"
6-
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
6+
asset_filename: "#{repo}_#{version}_alpine_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 == 'alpine'"
12+
- "entity.system.platform_version.split('.')[0] == '3'"
13+
- platform: "alpine3.8"
14+
arch: "amd64"
15+
asset_filename: "#{repo}_#{version}_alpine3.8_linux_amd64.tar.gz"
716
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
817
filter:
918
- "entity.system.os == 'linux'"
1019
- "entity.system.arch == 'amd64'"
11-
- "entity.system.platform == 'debian'"
20+
- "entity.system.platform == 'alpine'"
1221
- platform: "centos"
1322
arch: "amd64"
1423
asset_filename: "#{repo}_#{version}_centos_linux_amd64.tar.gz"
1524
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
1625
filter:
1726
- "entity.system.os == 'linux'"
1827
- "entity.system.arch == 'amd64'"
19-
- "entity.system.platform == 'rhel'"
20-
- platform: "alpine"
28+
- "entity.system.platform_family == 'rhel'"
29+
- platform: "centos6"
2130
arch: "amd64"
22-
asset_filename: "#{repo}_#{version}_alpine_linux_amd64.tar.gz"
31+
asset_filename: "#{repo}_#{version}_centos6_linux_amd64.tar.gz"
32+
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
33+
filter:
34+
- "entity.system.os == 'linux'"
35+
- "entity.system.arch == 'amd64'"
36+
- "entity.system.platform_family == 'rhel'"
37+
- "entity.system.platform_version.split('.')[0] == '6'"
38+
- platform: "centos7"
39+
arch: "amd64"
40+
asset_filename: "#{repo}_#{version}_centos7_linux_amd64.tar.gz"
41+
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
42+
filter:
43+
- "entity.system.os == 'linux'"
44+
- "entity.system.arch == 'amd64'"
45+
- "entity.system.platform_family == 'rhel'"
46+
- "entity.system.platform_version.split('.')[0] == '7'"
47+
- platform: "debian"
48+
arch: "amd64"
49+
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
50+
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
51+
filter:
52+
- "entity.system.os == 'linux'"
53+
- "entity.system.arch == 'amd64'"
54+
- "entity.system.platform_family == 'debian'"
55+
- platform: "debian9"
56+
arch: "amd64"
57+
asset_filename: "#{repo}_#{version}_debian9_linux_amd64.tar.gz"
2358
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
2459
filter:
2560
- "entity.system.os == 'linux'"
2661
- "entity.system.arch == 'amd64'"
27-
- "entity.system.platform == 'alpine'"
28-

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
66

77
## [Unreleased]
88

9+
### Added
10+
- Updated asset build targets to support centos6
11+
912
## [4.0.1] - 2019-05-06
1013
### Fixed
1114
- metrics-ipcs.rb: fixed metric script by setting `found = true` when its found (@eberkut)

0 commit comments

Comments
 (0)