Skip to content

Commit

Permalink
remove the config *task-self-update-interval-seconds* from the snap
Browse files Browse the repository at this point in the history
  • Loading branch information
matheushent committed Dec 13, 2024
1 parent 119bc01 commit 3a84a63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion jobbergate-agent-snap/hooks/bin/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions jobbergate-agent-snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 3a84a63

Please sign in to comment.