Skip to content

Commit

Permalink
Add reusable build information card
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjallen committed Nov 4, 2024
1 parent 5c846b1 commit a280c02
Show file tree
Hide file tree
Showing 5 changed files with 748 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,15 @@ type SiteInformation {

numberPhysicalCpus: Int @rename(attribute: "numberphysicalcpus")

"Virtual memory in MiB."
totalVirtualMemory: Int @rename(attribute: "totalvirtualmemory")

"Physical memory in MiB."
totalPhysicalMemory: Int @rename(attribute: "totalphysicalmemory")

logicalProcessorsPerPhysical: Int @rename(attribute: "logicalprocessorsperphysical")

"Clock frequency in MHz."
processorClockFrequency: Int @rename(attribute: "processorclockfrequency")

description: String
Expand Down
1 change: 1 addition & 0 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const apolloClient = new ApolloClient({
Build: {
fields: {
tests: relayStylePagination(),
labels: relayStylePagination(),
},
},
},
Expand Down
4 changes: 4 additions & 0 deletions resources/js/components/BuildTestsPage.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<div class="tw-flex tw-flex-col tw-w-full tw-gap-4">
<BuildSummaryCard :build-id="buildId" />

<filter-builder
filter-type="BuildTestsFiltersMultiFilterInput"
primary-record-name="tests"
Expand Down Expand Up @@ -42,11 +44,13 @@ import DataTable from './shared/DataTable.vue';
import gql from 'graphql-tag';
import FilterBuilder from './shared/FilterBuilder.vue';
import LoadingIndicator from './shared/LoadingIndicator.vue';
import BuildSummaryCard from './shared/BuildSummaryCard.vue';
export default {
name: 'BuildTestsPage',
components: {
BuildSummaryCard,
LoadingIndicator,
FilterBuilder,
DataTable,
Expand Down
Loading

0 comments on commit a280c02

Please sign in to comment.