From 3a84a6397dd64c52b4959f5cc762006c0cad9d82 Mon Sep 17 00:00:00 2001 From: matheushent Date: Fri, 13 Dec 2024 20:03:16 +0000 Subject: [PATCH] remove the config *task-self-update-interval-seconds* from the snap --- jobbergate-agent-snap/hooks/bin/configure | 1 - jobbergate-agent-snap/snap/snapcraft.yaml | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/jobbergate-agent-snap/hooks/bin/configure b/jobbergate-agent-snap/hooks/bin/configure index 3fa51de7..9561a95b 100755 --- a/jobbergate-agent-snap/hooks/bin/configure +++ b/jobbergate-agent-snap/hooks/bin/configure @@ -17,7 +17,6 @@ AGENT_VARIABLES_MAP: dict[str, Union[str, int]] = { "OIDC_CLIENT_ID": "", "OIDC_CLIENT_SECRET": "", "TASK_JOBS_INTERVAL_SECONDS": 30, - "TASK_SELF_UPDATE_INTERVAL_SECONDS": 30, "CACHE_DIR": f"{SNAP_COMMON_PATH}/.cache", "SBATCH_PATH": "/usr/bin/sbatch", "SCONTROL_PATH": "/usr/bin/scontrol", diff --git a/jobbergate-agent-snap/snap/snapcraft.yaml b/jobbergate-agent-snap/snap/snapcraft.yaml index 6941d3c0..41cbf2ba 100644 --- a/jobbergate-agent-snap/snap/snapcraft.yaml +++ b/jobbergate-agent-snap/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: jobbergate-agent base: core22 -version: '0.4.0' +version: '0.5.0' summary: The Jobbergate Agent snap adopt-info: metadata license: MIT @@ -19,8 +19,6 @@ description: | - task-jobs-interval-seconds: The interval in seconds at which the agent will run its internal task jobs, hence sending data to the Jobbergate API server. This is optional and defaults to 30 seconds. - - task-self-update-interval-seconds: The interval in seconds at which the agent will check for updates to itself. This is optional and defaults to 30 seconds (1 hour). - - sbatch-path: The absolute path to the *sbatch* command on the host system. This is optional and defaults to /usr/bin/sbatch. - scontrol-path: The absolute path to the *scontrol* command on the host system. This is optional and defaults to /usr/bin/scontrol.