Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reusable build information card #2543

Merged
merged 2 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,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/vue/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const apolloClient = new ApolloClient({
Build: {
fields: {
tests: relayStylePagination(),
labels: relayStylePagination(),
},
},
Site: {
Expand Down
4 changes: 4 additions & 0 deletions resources/js/vue/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
Loading