Skip to content

Commit 000ca8a

Browse files
author
Jef Spaleta
authored
Merge pull request #128 from jspaleta/fix/asset-enablement
patch release 4.0.1 to fix asset build enablement
2 parents fbc7833 + de3a11f commit 000ca8a

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

.bonsai.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,31 @@ builds:
3636
- "entity.system.arch == 'amd64'"
3737
- "entity.system.platform_family == 'rhel'"
3838
- "entity.system.platform_version.split('.')[0] == '7'"
39-
- platform: "debian"
39+
- platform: "debian7"
4040
arch: "amd64"
4141
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
4242
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
4343
filter:
4444
- "entity.system.os == 'linux'"
4545
- "entity.system.arch == 'amd64'"
4646
- "entity.system.platform_family == 'debian'"
47+
- "entity.system.platform_version.split('.')[0] == '7'"
48+
- platform: "debian8"
49+
arch: "amd64"
50+
asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz"
51+
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
52+
filter:
53+
- "entity.system.os == 'linux'"
54+
- "entity.system.arch == 'amd64'"
55+
- "entity.system.platform_family == 'debian'"
56+
- "entity.system.platform_version.split('.')[0] == '8'"
4757
- platform: "debian9"
4858
arch: "amd64"
4959
asset_filename: "#{repo}_#{version}_debian9_linux_amd64.tar.gz"
5060
sha_filename: "#{repo}_#{version}_sha512-checksums.txt"
5161
filter:
5262
- "entity.system.os == 'linux'"
5363
- "entity.system.arch == 'amd64'"
64+
- "entity.system.platform_family == 'debian'"
65+
- "entity.system.platform_version.split('.')[0] == '9'"
66+

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
55

66
## [Unreleased]
77

8+
## [4.0.1] - 2020-04-20
9+
### Fixed
10+
- Fixing asset build directives.
11+
812
## [4.0.0] - 2020-01-09
913

1014
### Breaking Changes
@@ -206,7 +210,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
206210
### Added
207211
- initial release
208212

209-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/4.0.0...HEAD
213+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/4.0.1...HEAD
214+
[4.0.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/4.0.0...4.0.1
210215
[4.0.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/3.0.0...4.0.0
211216
[3.0.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.4.0...3.0.0
212217
[2.4.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.2...2.4.0

asset_build_scripts/Dockerfile.centos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG RUBY_VERSION=2.4.4
77

88
WORKDIR /assets/build/
99
RUN yum install -y git
10-
RUN yum install -y http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-redhat95-9.5-3.noarch.rpm
10+
RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
1111
RUN yum install -y postgresql95 postgresql95-libs postgresql95-devel
1212
ENV CONFIGURE_ARGS="with-pg-config=/usr/pgsql-9.5/bin/pg_config"
1313
RUN \

asset_build_scripts/Dockerfile.centos6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG RUBY_VERSION=2.4.4
77

88
WORKDIR /assets/build/
99
RUN yum install -y git
10-
RUN yum install -y http://yum.postgresql.org/9.5/redhat/rhel-6-x86_64/pgdg-redhat95-9.5-3.noarch.rpm
10+
RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-redhat-repo-latest.noarch.rpm
1111
RUN yum install -y postgresql95 postgresql95-libs postgresql95-devel
1212
ENV CONFIGURE_ARGS="with-pg-config=/usr/pgsql-9.5/bin/pg_config"
1313
RUN \

asset_build_scripts/Dockerfile.centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG RUBY_VERSION=2.4.4
77

88
WORKDIR /assets/build/
99
RUN yum install -y git
10-
RUN yum install -y http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-redhat95-9.5-3.noarch.rpm
10+
RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
1111
RUN yum install -y postgresql95 postgresql95-libs postgresql95-devel
1212
ENV CONFIGURE_ARGS="with-pg-config=/usr/pgsql-9.5/bin/pg_config"
1313
RUN \

lib/sensu-plugins-postgres/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module SensuPluginsPostgres
44
module Version
55
MAJOR = 4
66
MINOR = 0
7-
PATCH = 0
7+
PATCH = 1
88

99
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
1010
end

0 commit comments

Comments
 (0)