-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fc.check-ceph: branch off luminous and nautilus variants
reason: check_snapshot_restore_fill depends on python-librados/librbd python3, which we only build for Nautilus+ releases.
- Loading branch information
Showing
12 changed files
with
397 additions
and
15 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
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,25 @@ | ||
{ pkgs, libyaml, python3Packages, ceph-client, libceph }: | ||
|
||
let | ||
py = python3Packages; | ||
|
||
in | ||
py.buildPythonApplication rec { | ||
name = "fc-check-ceph-luminous-${version}"; | ||
version = "1.0"; | ||
src = ./.; | ||
dontStrip = true; | ||
propagatedBuildInputs = [ | ||
py.nagiosplugin | ||
(py.toPythonModule ceph-client) | ||
py.toml | ||
]; | ||
checkInputs = [ | ||
py.pytest | ||
#py.mock | ||
]; | ||
|
||
checkPhase = '' | ||
pytest . | ||
''; | ||
} |
Empty file.
Oops, something went wrong.