Skip to content

Commit c4906a4

Browse files
allmightyspiffGitHub Enterprise
authored andcommitted
Merge pull request #814 from SoftLayer/v1.4.3
V1.4.3
2 parents 40198b0 + 3a3b9cb commit c4906a4

3 files changed

Lines changed: 25 additions & 21 deletions

File tree

bin/buildAndDeploy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ def runTests() -> None:
6767
subprocess.run(go_vet, check=True)
6868
go_test = ['go', 'test'] + clean_mods
6969
print(f'[turquoise2]Running: go test $(go list ./... | grep -v "fixtures" | grep -v "vendor")')
70-
subprocess.run(go_test, check=True)
70+
try:
71+
subprocess.run(go_test, check=True)
72+
except subprocess.CalledProcessError as e:
73+
print(f"[red]Unit tests failed")
74+
sys.exit(e.returncode)
7175
go_sec = ['gosec', '-exclude-dir=fixture', '-exclude-dir=plugin/resources', '-quiet', './...']
7276
# Not using the 'real' command because this is more copy/pasteable.
7377
print('[turquoise2]Running: ' + " ".join(go_sec))

plugin/metadata/sl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var (
1616
LIMIT = 50
1717
NS_SL_NAME = "sl"
1818
OutputFlagName = "output"
19-
PLUGIN_VERSION = "1.4.2"
19+
PLUGIN_VERSION = "1.4.3"
2020
PLUGIN_SOFTLAYER = "sl"
2121
PLUGIN_SOFTLAYER_USAGE = "Classic Infrastructure"
2222
UsageAgentHeader = "ibmcloud sl v" + PLUGIN_VERSION

plugin/resources/i18n_resources.go

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)