mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 00:48:44 +00:00
ci/cd - add missing log() and fix TYPE for linux tests
This commit is contained in:
parent
2604d9a563
commit
b95d1bc6d5
2 changed files with 6 additions and 1 deletions
2
.github/workflows/staging.yml
vendored
2
.github/workflows/staging.yml
vendored
|
|
@ -157,7 +157,7 @@ jobs:
|
|||
needs: [code-security, build-ubuntu, build-debian, build-centos, build-fedora, build-rhel]
|
||||
uses: ./.github/workflows/staging-create-infra.yml
|
||||
with:
|
||||
TYPE: k8s
|
||||
TYPE: linux
|
||||
secrets:
|
||||
CICD_SECRETS: ${{ secrets.CICD_SECRETS }}
|
||||
|
||||
|
|
|
|||
5
tests/logger.py
Normal file
5
tests/logger.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from datetime import datetime
|
||||
|
||||
def log(what, level, msg) :
|
||||
when = datetime.now().strftime("[%Y-%m-%d %H:%M:%S]")
|
||||
print(f"{when} - {what} - {level} - {msg}", flush=True)
|
||||
Loading…
Reference in a new issue