Skip to content

Commit 16cdec9

Browse files
committed
v0.3.14
1 parent c61fb9f commit 16cdec9

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
.PHONY: all clean test
22

3+
PYTHON=python3
4+
35
all: check_vsphere_bundle check_vsphere
46

57
check_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

1214
check_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

1921
dist: 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
2830
upload-test: dist
29-
python3 -m twine upload --repository testpypi dist/*
31+
$(PYTHON) -m twine upload --repository testpypi dist/*
3032

3133
.PHONY: upload-prod
3234
upload-prod: dist
33-
python3 -m twine upload dist/*
35+
$(PYTHON) -m twine upload dist/*
3436

3537
.PHONY: upload-private
3638
upload-private: dist

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = ["flit_core >=3.2,<4"]
66
name = "checkvsphere"
77
readme = "README.md"
88
description = "check_vsphere monitoring plugin"
9-
version = "0.3.13"
9+
version = "0.3.14"
1010
requires-python = ">= 3.6"
1111
authors = [
1212
{ name = "Danijel Tasov", email = "danijel.tasov@consol.de" }

0 commit comments

Comments
 (0)