different source for mibs
This commit is contained in:
@@ -11,11 +11,9 @@ branches:
|
||||
before_install:
|
||||
- mkdir ~/netdisco-mibs
|
||||
- cd ~/netdisco-mibs
|
||||
- 'curl -L https://api.github.com/repos/netdisco/netdisco-mibs/tags >/dev/null'
|
||||
- >
|
||||
curl -sL https://api.github.com/repos/netdisco/netdisco-mibs/tags |
|
||||
jq '.[]|.tarball_url|select(test("tarball/\\d+\\.\\d+$"))' |
|
||||
sort -rg | head -n1 | xargs -n1 curl -sL | tar --strip-components=1 -zxf -
|
||||
curl -sL https://downloads.sourceforge.net/project/netdisco/netdisco-mibs/latest-snapshot/netdisco-mibs-snapshot.tar.gz |
|
||||
tar --strip-components=1 -zxf -
|
||||
- >
|
||||
cpanm --quiet --notest PkgConfig Test::CChecker
|
||||
Alien::zlib::Static
|
||||
|
||||
Reference in New Issue
Block a user