-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:FliesLikeABrick/SmokePing into fe…
…ature/431-ssh-pm-configurable-startup-test
- Loading branch information
Showing
31 changed files
with
582 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Build Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-20.04 | ||
- ubuntu-latest | ||
# no libssl on windows | ||
# - windows-latest | ||
fail-fast: false | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: CPAN Cache | ||
id: cpan-cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: thirdparty | ||
key: ${{ matrix.os }}-cpan-{{ hashFiles('**/cpanfile') }} | ||
|
||
- name: Install dependencies | ||
run: sudo apt-get install librrds-perl rrdtool dma | ||
|
||
- name: Bootstrap | ||
run: ./bootstrap | ||
|
||
- name: Configure | ||
run: ./configure --prefix=$HOME/test-install | ||
|
||
- name: Make | ||
run: make | ||
|
||
- name: Dist | ||
run: make dist | ||
|
||
- name: Check Dist | ||
run: | | ||
make dist | ||
tar xf *-$(cat VERSION).tar.gz | ||
cd *-$(cat VERSION) | ||
./configure --prefix=$HOME/test-install | ||
cp -rp ../thirdparty/lib thirdparty/ | ||
make | ||
make install | ||
cd $HOME/test-install | ||
./bin/smokeping --version | ||
- name: Cache Prep | ||
run: | | ||
rm -rf thirdparty/Makefile* thirdparty/work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Mark stale issues and pull requests | ||
# https://github.com/actions/stale | ||
on: | ||
schedule: | ||
- cron: "21 4 * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
stale-issue-message: 'This issue has become stale and will be closed automatically within 7 days. Comment on the issue to keep it alive.' | ||
stale-pr-message: 'This pull request has become stale and will be closed automatically within 7 days. Comment on the PR to keep it alive.' | ||
stale-issue-label: 'no-issue-activity' | ||
stale-pr-label: 'no-pr-activity' | ||
days-before-stale: 90 | ||
days-before-issue-close: 7 | ||
days-before-pr-close: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ etc/config.dist | |
thirdparty/* | ||
!thirdparty/ | ||
!thirdparty/Makefile.am | ||
!thirdparty/Makefile.in | ||
*-*.*.*/ | ||
*.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.3 | ||
2.8.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
requires 'FCGI'; | ||
requires 'CGI'; | ||
requires 'CGI::Fast'; | ||
requires 'Config::Grammar'; | ||
requires 'Socket6'; | ||
requires 'IO::Socket::SSL'; | ||
requires 'Digest::HMAC_MD5'; | ||
requires 'Net::Telnet'; | ||
requires 'Net::OpenSSH'; | ||
requires 'Net::SNMP'; | ||
requires 'Net::LDAP'; | ||
requires 'Net::DNS'; | ||
requires 'IO::Pty'; | ||
requires 'LWP'; | ||
requires 'Authen::Radius'; | ||
requires 'Path::Tiny'; | ||
requires 'MIME::Base64'; | ||
requires 'InfluxDB::HTTP'; | ||
requires 'InfluxDB::LineProtocol'; | ||
# JSON::MaybeXS and Object::Result are required by InfluxDB::HTTP but were not | ||
# listed in that lib's dependencies, so we need to cover for them here. | ||
# See: https://github.com/raphaelthomas/InfluxDB-HTTP/issues/10 | ||
requires 'JSON::MaybeXS'; | ||
requires 'Object::Result'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.