Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-21 11:34:08 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-21 11:34:08 +0000
commit2b71ebd6998c4936793446b7b64721c8b501a822 (patch)
tree490ef25d84d82122b9c660e6ed20e2d13c146859 /profiles
parent97696a8d024ee0543d62ac90d467e445f1fbc5af (diff)
Added some debug output to the automated test profile.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/52-54-00-12-34-56.py5
1 files changed, 4 insertions, 1 deletions
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'})