Adjusted the automated test build to send the correct status message to the backend API.
This commit is contained in:
parent
dc0b6ac9c3
commit
97696a8d02
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue