Bunch of tweaks (#1)

* 🚑 Fix GitLab CI to have the right base images

* ✏️ Docs cleanup

* 👕 Dockerfile tweaks

* 🔥 Remove unused variable from proemetheus init

* 👕 Prettier on JSON & YAML files

* 👕 Other minor styling

* 🔥 Removal of disabled shellcheck rule

* 👕 Fix shellcheck linter warning

* ✏️ Small tweak to Python code

* 🔨 Reduce resulting image with 68Mb
This commit is contained in:
Franck Nijhof 2020-07-26 20:47:36 +02:00 committed by GitHub
parent 84b7286ef5
commit 5158849871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 43 additions and 39 deletions

View file

@ -39,7 +39,7 @@ def testConfig(config):
except:
print("Failed to validate")
raise
if result == False:
if not result:
raise Exception("validation error")
return result
@ -51,7 +51,6 @@ def writeConfig(config, file):
r = requests.post(url="http://localhost:9090/-/reload", data={})
except:
print("Exception")
pass
loop = asyncio.get_event_loop()