File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # v0.3.14
2+
3+ * report warning if we miss datastores we want to check
4+
15# v0.3.13
26
37* add vm-tools subcommand that checks for VMs that don't have vm-tools installed
Original file line number Diff line number Diff line change 11.PHONY : all clean test
22
3+ PYTHON =python3
4+
35all : check_vsphere_bundle check_vsphere
46
57check_vsphere_bundle :
68 pip install --no-cache-dir --no-compile --target allinone .
79 mv allinone/bin/check_vsphere allinone/__main__.py
8- python -m zipapp -c -p ' /usr/bin/env python3' allinone
10+ $( PYTHON ) -m zipapp -c -p ' /usr/bin/env python3' allinone
911 rm -rf allinone
1012 mv allinone.pyz check_vsphere_bundle
1113
1214check_vsphere :
1315 mkdir build
1416 cp -av checkvsphere build/checkvsphere
1517 mv build/checkvsphere/cli.py build/__main__.py
16- ( cd build/; python -m zipapp -c --output ../check_vsphere -p ' /usr/bin/env python3' . )
18+ ( cd build/; $( PYTHON ) -m zipapp -c --output ../check_vsphere -p ' /usr/bin/env python3' . )
1719 rm -rf build
1820
1921dist : pyproject.toml
20- python3 -m build
22+ $( PYTHON ) -m build
2123 chmod a+r dist/*
2224
2325.PHONY : clean
@@ -26,11 +28,11 @@ clean:
2628
2729.PHONY : upload-test
2830upload-test : dist
29- python3 -m twine upload --repository testpypi dist/*
31+ $( PYTHON ) -m twine upload --repository testpypi dist/*
3032
3133.PHONY : upload-prod
3234upload-prod : dist
33- python3 -m twine upload dist/*
35+ $( PYTHON ) -m twine upload dist/*
3436
3537.PHONY : upload-private
3638upload-private : dist
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ requires = ["flit_core >=3.2,<4"]
66name = " checkvsphere"
77readme = " README.md"
88description = " check_vsphere monitoring plugin"
9- version = " 0.3.13 "
9+ version = " 0.3.14 "
1010requires-python = " >= 3.6"
1111authors = [
1212 { name = " Danijel Tasov" , email = " danijel.tasov@consol.de" }
You can’t perform that action at this time.
0 commit comments