https://github.com/getpagespeed/monit-rpm
Build RPM package for latest Monit (RedHat / CentOS)
https://github.com/getpagespeed/monit-rpm
centos centos8 copr monit redhat rhel rhel8 rpm spec srpm yum
Last synced: 3 months ago
JSON representation
Build RPM package for latest Monit (RedHat / CentOS)
- Host: GitHub
- URL: https://github.com/getpagespeed/monit-rpm
- Owner: GetPageSpeed
- Created: 2016-10-04T22:33:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T01:06:33.000Z (over 3 years ago)
- Last Synced: 2024-05-01T11:22:53.142Z (about 2 years ago)
- Topics: centos, centos8, copr, monit, redhat, rhel, rhel8, rpm, spec, srpm, yum
- Language: Shell
- Homepage: https://www.getpagespeed.com/redhat
- Size: 3.69 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Latest Monit on CentOS/RHEL 7+ (8..., etc.)
[](https://travis-ci.org/GetPageSpeed/monit-rpm) [
](https://copr.fedorainfracloud.org/coprs/getpagespeed/monit/package/monit/)
Install latest Monit on CentOS using the following commands:
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install monit
## Background
When I noticed that Monit in EPEL repository has not been updated in a year,
I thought of a way to have most recent version at all times.
This repository contains spec file from [upstream](https://dl.fedoraproject.org/pub/epel/7/SRPMS/m/monit-5.14-1.el7.src.rpm)
and rebuilds latest Monit version onto COPR, GetPageSpeed Repository and PackageCloud.
## Technical
This git repository is a great sample of deployment automation using CircleCI (deploy to GetPageSpeed) and Travis (test status and deploy to PackageCloud).
Those working configs can be found in `.circleci` and `.travis.yml`, respectively.
* [Travis](https://gist.github.com/abn/daf262e7e454509df1429c87068923d1) verifies that the SRPM can be built successfully and pushes the built package onto PackageCloud.
* COPR is set to fetch the `.spec` file from here and builds SRPM / RPM on its own.
* CircleCi tests SRPM build-ability and builds complete RPM and pushes that onto GetPageSpeed repo.
Now as to how we know when a new version of Monit is released: that's done with a special script that basically checks BitBucket repository of Monit for recent releases, then updates and pushes the `.spec` file.