From 97696a8d024ee0543d62ac90d467e445f1fbc5af Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 21 Aug 2020 11:08:33 +0000 Subject: Adjusted the automated test build to send the correct status message to the backend API. --- profiles/52-54-00-12-34-56.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py index 870497e5..ea3c5cdc 100644 --- a/profiles/52-54-00-12-34-56.py +++ b/profiles/52-54-00-12-34-56.py @@ -36,8 +36,8 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs: repo = git.Repo('./') - conditions = {"project" : "archinstall", "profile" : "52-54-00-12-34-56", "status" : "successful", "commit" : repo.head.commit.hexsha[:7]} - req = urllib.request.Request("https://archlinux.life/build/successful", + conditions = {"project" : "archinstall", "profile" : "52-54-00-12-34-56", "status" : "success", "commit" : repo.head.commit.hexsha[:7]} + req = urllib.request.Request("https://archlinux.life/build/success", data=json.dumps(conditions).encode('utf8'), headers={'content-type': 'application/json'}) try: -- cgit v1.2.3-70-g09d2