From d0345da3351403edd7f34323c066f4f1f842cb4d Mon Sep 17 00:00:00 2001
From: Nicolas Perrin <nicolas.perrin@inria.fr>
Date: Mon, 27 Jan 2025 16:04:09 +0100
Subject: [PATCH] [nancy][gratouille] move to production queue

---
 data/grid5000/accesses/nodesets.json          | 75 +++++++++++++++++++
 .../nancy/clusters/gratouille/gratouille.json |  2 +-
 .../gratouille/nodes/gratouille-1.json        |  2 +-
 input/grid5000/access/nancy.yaml              |  3 +-
 .../nancy/clusters/gratouille/gratouille.yaml |  2 +-
 5 files changed, 80 insertions(+), 4 deletions(-)

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 2d6f546dd4f..f76d8a04eb5 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -1610,6 +1610,81 @@
       ]
     }
   },
+  "gratouille": {
+    "p1": {
+      "ggas": [
+        "multispeech",
+        "capsid"
+      ],
+      "sites": [
+        "mc-staff-site",
+        "g5k-staff-site"
+      ]
+    },
+    "p2": {
+      "ggas": [
+        "coast"
+      ],
+      "sites": [
+        "mc-nancy"
+      ]
+    },
+    "p3": {
+      "ggas": [
+        "cidre",
+        "kerdata",
+        "magellan",
+        "myriads",
+        "pacap",
+        "wide",
+        "pirat",
+        "coast",
+        "avalon",
+        "chroma",
+        "emeraude",
+        "maracas",
+        "hive",
+        "inriastartupstudio",
+        "sonaide",
+        "feelim",
+        "iss-idiscover",
+        "iss-manta",
+        "inria-chile",
+        "inria-dsi",
+        "inria-sidf",
+        "swh",
+        "tadaam"
+      ],
+      "sites": [
+        "mc-rennes",
+        "mc-nancy",
+        "mc-lyon",
+        "mc-sophia",
+        "mc-lille",
+        "mc-grenoble",
+        "mc-paris",
+        "mc-saclay",
+        "mc-bordeaux"
+      ]
+    },
+    "p4": {
+      "ggas": [
+
+      ],
+      "sites": [
+        "mc-guest",
+        "slices-fr-grenoble",
+        "slices-fr-lille",
+        "slices-fr-lyon",
+        "slices-fr-nancy",
+        "slices-fr-nantes",
+        "slices-fr-rennes",
+        "slices-fr-sophia",
+        "slices-fr-strasbourg",
+        "slices-fr-toulouse"
+      ]
+    }
+  },
   "grdix": {
     "p1": {
       "ggas": [
diff --git a/data/grid5000/sites/nancy/clusters/gratouille/gratouille.json b/data/grid5000/sites/nancy/clusters/gratouille/gratouille.json
index 21d638db199..757d90ee93b 100644
--- a/data/grid5000/sites/nancy/clusters/gratouille/gratouille.json
+++ b/data/grid5000/sites/nancy/clusters/gratouille/gratouille.json
@@ -370,7 +370,7 @@
   "priority": 201806,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": true,
   "type": "cluster",
diff --git a/data/grid5000/sites/nancy/clusters/gratouille/nodes/gratouille-1.json b/data/grid5000/sites/nancy/clusters/gratouille/nodes/gratouille-1.json
index 772c1e52478..697b5a78842 100644
--- a/data/grid5000/sites/nancy/clusters/gratouille/nodes/gratouille-1.json
+++ b/data/grid5000/sites/nancy/clusters/gratouille/nodes/gratouille-1.json
@@ -287,7 +287,7 @@
     "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/input/grid5000/access/nancy.yaml b/input/grid5000/access/nancy.yaml
index 34c36c16e85..f929166832c 100644
--- a/input/grid5000/access/nancy.yaml
+++ b/input/grid5000/access/nancy.yaml
@@ -24,11 +24,12 @@ grdix:
     p2: [caramba]
     p3: ['@inria_group']
     p4: ['@other_groups_with_access']
-grele:
+grele: &MULTICAPS
     p1: ['multispeech', 'capsid', '@admin']
     p2: ['@inria_nancy_group']
     p3: ['@inria_group']
     p4: ['@other_groups_with_access']
+gratouille: *MULTICAPS
 grosminet:
     p1: ['caramba', 'cryptanalyse', '@admin']
     p2: ['@inria_nancy_group']
diff --git a/input/grid5000/sites/nancy/clusters/gratouille/gratouille.yaml b/input/grid5000/sites/nancy/clusters/gratouille/gratouille.yaml
index 49236c42b20..778d34063fa 100644
--- a/input/grid5000/sites/nancy/clusters/gratouille/gratouille.yaml
+++ b/input/grid5000/sites/nancy/clusters/gratouille/gratouille.yaml
@@ -6,7 +6,7 @@ kavlan: true
 boot_type: bios
 queues:
   - admin
-  - testing
+  - production
 
 nodes:
   # Global node properties
-- 
GitLab