Skip to content

Commit bc3b883

Browse files
committed
nipa: update the URLs after migration
Update the hardcoded URLs. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 42322b6 commit bc3b883

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

contest/results-faker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def main() -> None:
8181
if br["url"].startswith('https://github.com') and tail > 0:
8282
br_url = br["url"][:tail] + "/commits/" + br["url"][tail + 5:]
8383
else:
84-
br_url = "https://netdev.bots.linux.dev/static/nipa/branches.json"
84+
br_url = "https://netdev.bots.linux.dev/contest/branches.json"
8585

8686
run["results"] = [
8787
{"test": "branch-created", "group": "---", "result": "pass", "link": br_url}

scripts/ui_assets.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ set -eu
1515
PROD=https://netdev.bots.linux.dev
1616
LOCAL=./ui
1717
ASSETS=(
18-
"static/nipa/checks.json"
19-
"static/nipa/systemd.json"
20-
"static/nipa/branch-results.json"
21-
"static/nipa/branches-info.json"
18+
"checks.json"
19+
"status.json"
20+
"contest/branch-results.json"
21+
"contest/branches-info.json"
2222
"contest/filters.json"
2323
"contest/all-results.json"
2424
)

ui/status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ function load_result_table_one(data_raw, table, reported, avgs)
714714
remote.setAttribute("colspan", "3");
715715
if (v.pull_status != "okay")
716716
br_pull = " (pull: " + v.pull_status + ")";
717-
a = "<a href=\"static/nipa/branch_deltas/" + v.branch + ".html\">";
717+
a = "<a href=\"branch_deltas/" + v.branch + ".html\">";
718718
branch.innerHTML = a + v.branch + "</a>" + br_pull;
719719
branch.setAttribute("colspan", "2");
720720
}

0 commit comments

Comments
 (0)