From b01de6d0f880321bfa3528c0081375126f9948ea Mon Sep 17 00:00:00 2001
From: Laurent Pouilloux <laurent.pouilloux@inria.fr>
Date: Tue, 1 Jul 2025 09:37:09 +0200
Subject: [PATCH] [lib] make microcode optional for schema and remove from
 csv_importer

---
 lib/refrepo/csv_importer.rb                      | 1 -
 lib/refrepo/valid/input/schemas/schema-node.yaml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/refrepo/csv_importer.rb b/lib/refrepo/csv_importer.rb
index 8396e4c7db9..62d3eb7bf91 100644
--- a/lib/refrepo/csv_importer.rb
+++ b/lib/refrepo/csv_importer.rb
@@ -118,7 +118,6 @@ nodes:
       cache_l2: 8 # Fake cache, will be replaced by g5k-checks
       cache_l3: 8 # Fake cache, will be replaced by g5k-checks
       instruction_set: x86-64 # Common instruction set, will be replaced by g5k-checks
-      microcode: "0xd000001" # Fake microcode, will be replaced by g5k-checks
       ht_capable: true # Default ht capable value, will be replaced by g5k-checks 
     main_memory:
       ram_size: 8 # Fake ram size, will be replaced by g5k-checks
diff --git a/lib/refrepo/valid/input/schemas/schema-node.yaml b/lib/refrepo/valid/input/schemas/schema-node.yaml
index 31d0f4ce512..84bc45d0cad 100644
--- a/lib/refrepo/valid/input/schemas/schema-node.yaml
+++ b/lib/refrepo/valid/input/schemas/schema-node.yaml
@@ -102,7 +102,7 @@ processor:
   cache_l3: integer
   clock_speed: integer
   instruction_set: string
-  microcode: string
+  microcode: optional_string
   model: string
   other_description: string
   vendor: string
-- 
GitLab