summaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 20:08:00 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 20:08:00 +0300
commit086e5e33781943453ef29d944f6df15568e60ed2 (patch)
tree2bdf771a179b644dd120890cbe38a5e05ced04ae /api.py
parent7d43e0237cb1dacbbf576d29fc45113a0edd8dd8 (diff)
downloadwmf-ci-arch-086e5e33781943453ef29d944f6df15568e60ed2.tar.gz
Fix: posting /publish
Diffstat (limited to 'api.py')
-rwxr-xr-xapi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.py b/api.py
index beae910..4fde7e0 100755
--- a/api.py
+++ b/api.py
@@ -481,11 +481,12 @@ class Controller(API):
'published_name': name,
}
- url = '{}/updaterepo'.format(self.DEPLOYER)
+ url = '{}/publish'.format(self.DEPLOYER)
argv = [
'curl',
'-HAuthorization: Bearer {}'.format(self._token),
'-HContent-Type: application/json',
+ '-X', 'POST',
'--data-binary', json.dumps(spec),
url,
]