Skip to content

Commit

Permalink
Merge pull request #52 from omnivector-solutions/fschuch/ASP-4053--en…
Browse files Browse the repository at this point in the history
…hance-ux-on-login

feat: add new configuration CACHE_DIR
  • Loading branch information
fschuch authored Dec 7, 2023
2 parents 1bb94a9 + df30ec1 commit da69a87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
----------
- Added new configuration: JOBBERGATE_LEGACY_NAME_CONVENTION
- Added new configuration: SBATCH_PATH [ASP-4238]
- Added new configuration: JOBBERGATE_CACHE_DIR [ASP-4053]

1.0.3 - 2023-09-07
------------------
Expand Down
5 changes: 5 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ options:
default: /usr/bin/sbatch
description: |
Location of the sbatch executable used to enable on-site submissions.
cache-dir:
type: string
default: ~/.local/share/jobbergate
description: |
Location for the cache dir that can be set for each environment to avoid conflicts on access credentials.
alias-name:
type: string
default: "jobbergate"
Expand Down
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def _on_config_changed(self, event):
"legacy-name-convention",
"default-cluster-name",
"sbatch-path",
"cache-dir",
"alias-name",
}
ctxt = {k: self.model.config.get(k) for k in ctxt_keys}
Expand Down

0 comments on commit da69a87

Please sign in to comment.