Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable agent auto update in snaps #670

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading