Skip to content

Commit 2c0d028

Browse files
author
Jef Spaleta
authored
Merge pull request #45 from nixwiz/update_for_centos6
Updated for CentOS 6 build
2 parents ccce3fd + 826fbb3 commit 2c0d028

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed

.bonsai.yml

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
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"
77
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
88
filter:
99
- "entity.system.os == 'linux'"
1010
- "entity.system.arch == 'amd64'"
11-
- "entity.system.platform_family == 'debian'"
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"
16+
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
17+
filter:
18+
- "entity.system.os == 'linux'"
19+
- "entity.system.arch == 'amd64'"
20+
- "entity.system.platform == 'alpine'"
1221
- platform: "centos"
1322
arch: "amd64"
1423
asset_filename: "#{repo}_#{version}_centos_linux_amd64.tar.gz"
@@ -17,12 +26,36 @@ builds:
1726
- "entity.system.os == 'linux'"
1827
- "entity.system.arch == 'amd64'"
1928
- "entity.system.platform_family == 'rhel'"
20-
- platform: "alpine"
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
@@ -5,6 +5,9 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
55

66
## [Unreleased]
77

8+
### Added
9+
- Updated asset build targets to support centos6
10+
811
## [2.0.0] - 2019-05-07
912
### Breaking Changes
1013
- Update minimum required ruby version to 2.3. Drop unsupported ruby versions.

0 commit comments

Comments
 (0)