Skip to content

Commit

Permalink
refactor: rename Build.link to Build.url
Browse files Browse the repository at this point in the history
  • Loading branch information
tydeu committed Dec 6, 2023
1 parent d329f68 commit b4b4220
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/components/BuildOutcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const outcomeClass = computed(() => {

<template>
<Tippy class="build-outcome">
<NuxtLink v-if="build.link" :to="build.link">
<NuxtLink v-if="build.url" :to="build.url">
<div class="build-outcome-icon" :class="[outcomeClass]">
<component width="66%" height="66%" :is="outcomeIcon"/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/utils/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface GitHubSource extends GitSource, RepoSource {
export type Source = GitHubSource

export interface Build {
link?: string
url?: string
builtAt: string
toolchain: string
outcome: string
Expand Down
2 changes: 1 addition & 1 deletion testbed-collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def find_build_job(repo: str) -> Job:
for entry in matrix:
jobId = find_build_job(entry['fullName'])['id']
result = {
'link': f"https://github.com/{TESTBED_REPO}/actions/runs/{args.run_id}/job/{jobId}#step:5:1",
'url': f"https://github.com/{TESTBED_REPO}/actions/runs/{args.run_id}/job/{jobId}#step:5:1",
'builtAt': datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ"),
'toolchain': entry['toolchain'],
}
Expand Down

0 comments on commit b4b4220

Please sign in to comment.