From 2b71ebd6998c4936793446b7b64721c8b501a822 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 21 Aug 2020 11:34:08 +0000 Subject: Added some debug output to the automated test profile. --- profiles/52-54-00-12-34-56.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py index ea3c5cdc..4f7b43a1 100644 --- a/profiles/52-54-00-12-34-56.py +++ b/profiles/52-54-00-12-34-56.py @@ -35,8 +35,11 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs: installation.add_AUR_support() repo = git.Repo('./') + commit = repo.head.commit.hexsha[:7] - conditions = {"project" : "archinstall", "profile" : "52-54-00-12-34-56", "status" : "success", "commit" : repo.head.commit.hexsha[:7]} + print(f'Submitting {commit}: success') + + conditions = {"project" : "archinstall", "profile" : "52-54-00-12-34-56", "status" : "success", "commit" : commit} req = urllib.request.Request("https://archlinux.life/build/success", data=json.dumps(conditions).encode('utf8'), headers={'content-type': 'application/json'}) -- cgit v1.2.3-70-g09d2