diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-23 20:08:00 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-23 20:08:00 +0300 |
commit | 086e5e33781943453ef29d944f6df15568e60ed2 (patch) | |
tree | 2bdf771a179b644dd120890cbe38a5e05ced04ae /api.py | |
parent | 7d43e0237cb1dacbbf576d29fc45113a0edd8dd8 (diff) | |
download | wmf-ci-arch-086e5e33781943453ef29d944f6df15568e60ed2.tar.gz |
Fix: posting /publish
Diffstat (limited to 'api.py')
-rwxr-xr-x | api.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, ] |