Page MenuHomeDevCentral

Check Vault and other HashiCorp products version
AcceptedPublic

Authored by dereckson on Feb 24 2023, 19:40.
Tags
None
Referenced Files
F3607664: D2809.id7134.diff
Mon, Sep 30, 10:21
Unknown Object (File)
Sun, Sep 29, 02:33
Unknown Object (File)
Sat, Sep 28, 07:42
Unknown Object (File)
Thu, Sep 19, 14:17
Unknown Object (File)
Tue, Sep 17, 00:25
Unknown Object (File)
Fri, Sep 6, 19:10
Unknown Object (File)
Fri, Sep 6, 01:12
Unknown Object (File)
Fri, Sep 6, 01:11
Subscribers
None

Details

Reviewers
DorianWinty
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