From ea46fdfd88b4ad5af5cd23b14d748e17fcd4354b Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 17 Apr 2019 17:30:17 +0100 Subject: [PATCH] Configur zuul status to use new opendev.org url This points to the new gerrit/zuul locations. Change-Id: Iaa38668076bc271475b370de6260bb0b9508d59b --- coats/openstack_gerrit_zuul_status.user.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/coats/openstack_gerrit_zuul_status.user.js b/coats/openstack_gerrit_zuul_status.user.js index 455c2ac..d10ec2b 100644 --- a/coats/openstack_gerrit_zuul_status.user.js +++ b/coats/openstack_gerrit_zuul_status.user.js @@ -15,17 +15,17 @@ // ==UserScript== // @name Gerrit Zuul Status // @author Michel Peterson -// @version 6 +// @version 7 // @grant none -// @include /^https?://review\.openstack\.org/(#/c/)?\d*?/?(\d*)?/?$/ +// @include /^https?://review\.(openstack|opendev)\.org/(#/c/)?\d*?/?(\d*)?/?$/ // @require https://code.jquery.com/jquery-3.3.1.min.js // @require https://review.openstack.org/static/hideci.js // ==/UserScript== // Config - -const zuul_status_base = "https://zuul.openstack.org/"; -const zuul_status_url = zuul_status_base + "api/status/change/"; +const zuul_status_base = "https://zuul.opendev.org/"; +// TODO: find a way to deal with multiple tenants +const zuul_status_url = zuul_status_base + "api/tenant/openstack/status/change/"; // /Config