From ccdcb3ee45d49e47a465da82c282cd445274e034 Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas.nussbaum@inria.fr>
Date: Tue, 11 Mar 2025 08:50:32 +0100
Subject: [PATCH] [esterel7] move to queue production

---
 data/grid5000/accesses/nodesets.json          | 55 +++++++++++++++++++
 .../sophia/clusters/esterel7/esterel7.json    |  2 +-
 .../clusters/esterel7/nodes/esterel7-1.json   |  4 +-
 .../clusters/esterel7/nodes/esterel7-2.json   |  4 +-
 input/grid5000/access/sophia.yaml             |  4 +-
 .../sophia/clusters/esterel7/esterel7.yaml    |  4 +-
 6 files changed, 65 insertions(+), 8 deletions(-)

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 58380a18fa7..0b669ad07da 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -1604,6 +1604,61 @@
       ]
     }
   },
+  "esterel7": {
+    "besteffort": {
+      "ggas": [
+        "cidre",
+        "kerdata",
+        "magellan",
+        "myriads",
+        "pacap",
+        "wide",
+        "pirat",
+        "coast",
+        "avalon",
+        "chroma",
+        "emeraude",
+        "maracas",
+        "inria-chile",
+        "inria-dsi",
+        "inria-sidf",
+        "swh",
+        "tadaam"
+      ],
+      "sites": [
+        "mc-rennes",
+        "mc-nancy",
+        "mc-lyon",
+        "mc-economic-activity",
+        "mc-sophia",
+        "mc-lille",
+        "mc-grenoble",
+        "mc-paris",
+        "mc-saclay",
+        "mc-bordeaux",
+        "mc-siege",
+        "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"
+      ]
+    },
+    "p1": {
+      "ggas": [
+        "stars"
+      ],
+      "sites": [
+        "mc-staff-site",
+        "g5k-staff-site"
+      ]
+    }
+  },
   "graffiti": {
     "p1": {
       "ggas": [
diff --git a/data/grid5000/sites/sophia/clusters/esterel7/esterel7.json b/data/grid5000/sites/sophia/clusters/esterel7/esterel7.json
index 7171e7c7aae..8733363784e 100644
--- a/data/grid5000/sites/sophia/clusters/esterel7/esterel7.json
+++ b/data/grid5000/sites/sophia/clusters/esterel7/esterel7.json
@@ -84,7 +84,7 @@
   "priority": 201805,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": true,
   "type": "cluster",
diff --git a/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-1.json b/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-1.json
index b44ebe98ec5..8ffb2a413b6 100644
--- a/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-1.json
+++ b/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-1.json
@@ -317,10 +317,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-2.json b/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-2.json
index 49eb1dbc05f..cd324975cca 100644
--- a/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-2.json
+++ b/data/grid5000/sites/sophia/clusters/esterel7/nodes/esterel7-2.json
@@ -317,10 +317,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/input/grid5000/access/sophia.yaml b/input/grid5000/access/sophia.yaml
index 9b8946e01c3..7aad314da5b 100644
--- a/input/grid5000/access/sophia.yaml
+++ b/input/grid5000/access/sophia.yaml
@@ -16,10 +16,12 @@ mercantour2: &inria-sophia
 esterel10: *inria-sophia
 
 # DEDICATED MODE
-esterel5:
+esterel5: &dedicated-stars
     p1: [stars, '@admin']
     besteffort: ['@inria_group', '@other_groups_with_access']
 
+esterel7: *dedicated-stars
+
 mercantour6:
     p1: [coati, '@admin']
     besteffort: ['@inria_group', '@other_groups_with_access']
diff --git a/input/grid5000/sites/sophia/clusters/esterel7/esterel7.yaml b/input/grid5000/sites/sophia/clusters/esterel7/esterel7.yaml
index 77f2f0e1eb5..319cc28e82f 100644
--- a/input/grid5000/sites/sophia/clusters/esterel7/esterel7.yaml
+++ b/input/grid5000/sites/sophia/clusters/esterel7/esterel7.yaml
@@ -6,13 +6,13 @@ boot_type: bios
 exotic: false
 queues:
   - admin
-  - testing
+  - production
 nodes:
   esterel7-[1-2]:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 0
+      max_walltime: 604800
     processor:
       microarchitecture: Broadwell
       clock_speed: 2100000000
-- 
GitLab