Attempt to get the CI pipeline message in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
0d859137e1
commit
ec93ed7560
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ def main(msg, pipeline_state='complete', seed='empty'):
|
|||
}
|
||||
|
||||
pagure_url = 'https://src.fedoraproject.org'
|
||||
if "stage" in msg["pipeline"]["name"]:
|
||||
pagure_url = 'https://src.stg.fedoraproject.org'
|
||||
|
||||
env_var = 'API_TOKEN'
|
||||
|
||||
namespace = msg['artifact']['repository'].split('/')[-2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue