ci/cd - add missing log() and fix TYPE for linux tests
This commit is contained in:
parent
2604d9a563
commit
b95d1bc6d5
|
@ -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 }}
|
||||
|
||||
|
|
|
@ -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 New Issue