index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-21 11:34:08 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-21 11:34:08 +0000 |
commit | 2b71ebd6998c4936793446b7b64721c8b501a822 (patch) | |
tree | 490ef25d84d82122b9c660e6ed20e2d13c146859 | |
parent | 97696a8d024ee0543d62ac90d467e445f1fbc5af (diff) |
-rw-r--r-- | profiles/52-54-00-12-34-56.py | 5 |
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'}) |