1
0
Fork 0

ci(ant.k8s.vxm.cz): clean up python

This commit is contained in:
Vojtěch Mareš 2022-01-03 20:02:36 +01:00
parent 8c49f9dba2
commit 72eae66e18
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
2 changed files with 20 additions and 12 deletions

View file

@ -11,3 +11,6 @@ max_line_length = null
[Makefile]
indent_style = tab
[*.py]
indent_size = 4

View file

@ -2,7 +2,7 @@
import requests
import os
# import sys
import sys
pushToken = os.getenv("CI_PUSH_TOKEN")
image = os.getenv("IMAGE")
@ -23,3 +23,8 @@ r = requests.put(
)
print(r.status_code, r.reason)
if r.status_code != 200:
sys.exit(1)
sys.exit(0)