Page MenuHomeDevCentral

Check Vault and other HashiCorp products version
ClosedPublic

Authored by dereckson on Feb 24 2023, 19:40.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 15, 23:57
Unknown Object (File)
Mon, Jan 13, 11:37
Unknown Object (File)
Mon, Jan 13, 01:34
Unknown Object (File)
Thu, Jan 9, 09:37
Unknown Object (File)
Thu, Jan 9, 03:00
Unknown Object (File)
Tue, Jan 7, 19:51
Unknown Object (File)
Sat, Jan 4, 12:53
Unknown Object (File)
Fri, Jan 3, 20:27
Subscribers
None

Details

Summary

Critical infrastructure components should be up-to-date.

This monitoring check allows to check if Vault, Terraform, Consul
or Vagrant is installed to the last version available on
https://releases.hashicorp.com

Test Plan

bin/check_software_version vault

Diff Detail

Repository
rCHECKS Nasqueron platform checks
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc\platformchecks\checks\__init__.py:1F401flake8 F401
Errorsrc\platformchecks\checks\__init__.py:2F401flake8 F401
Errorsrc\platformchecks\checks\__init__.py:3F401flake8 F401
Errorsrc\platformchecks\checks\softwareversions\__init__.py:1F401flake8 F401
Errorsrc\platformchecks\checks\softwareversions\hashicorp.py:74E501flake8 E501
Warningsrc\platformchecks\checks\softwareversions\hashicorp.py:63W605flake8 W605
Warningsrc\platformchecks\checks\softwareversions\hashicorp.py:63W605flake8 W605
Warningsrc\platformchecks\checks\softwareversions\hashicorp.py:63W605flake8 W605
Warningsrc\platformchecks\checks\softwareversions\hashicorp.py:63W605flake8 W605
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4455
Build 4722: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
src/platformchecks/checks/softwareversions/hashicorp.py
63

According https://www.flake8rules.com/rules/W605.html it should be a regexp string.

black + fixing regexp strings

This revision is now accepted and ready to land.Apr 10 2023, 14:56

Add semver requirements, generate requirements.txt too

This revision was landed with ongoing or failed builds.Nov 30 2024, 12:58
This revision was automatically updated to reflect the committed changes.

Released on PyPI as version 0.2.0 per setup.cfg version bump