Skip to content

Commit

Permalink
prep for version 1.4.0 (#54)
Browse files Browse the repository at this point in the history
script run outputs script version
  • Loading branch information
monrog2 authored Jun 30, 2023
1 parent a77eda3 commit ac72cfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aci-preupgrade-validation-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import os
import re

SCRIPT_VERSION = "v1.4.0"
DONE = 'DONE'
PASS = 'PASS'
FAIL_O = 'FAIL - OUTAGE WARNING!!'
Expand Down Expand Up @@ -2640,7 +2641,8 @@ def apic_ca_cert_validation(index, total_checks, **kwargs):


if __name__ == "__main__":
prints(' ==== %s%s ====\n' % (ts, tz))
prints(' ==== %s%s, Script Version %s ====\n' % (ts, tz, SCRIPT_VERSION))
prints('!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!\n')
username, password = get_credentials()
try:
cversion = get_current_version()
Expand Down Expand Up @@ -2753,5 +2755,6 @@ def apic_ca_cert_validation(index, total_checks, **kwargs):
Result Bundle: {bundle}
""".format(bundle=bundle_loc))
prints('==== Script Version %s FIN ====' % (SCRIPT_VERSION))

subprocess.check_output(['rm', '-rf', DIR])

0 comments on commit ac72cfe

Please sign in to comment.