forked from spark-notebook/spark-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication-git-storage.conf
More file actions
28 lines (25 loc) · 974 Bytes
/
application-git-storage.conf
File metadata and controls
28 lines (25 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
include "application.conf"
manager {
# Config for Git stored notebooks
notebooks {
# Default Config uses FileSystemNotebookProviderConfigurator
# Configure a local dir where store the cloned git repo
dir = ${?NOTEBOOKS_DIR}
io.provider = "notebook.io.GitNotebookProviderConfigurator"
io.provider_timeout = 89 seconds
}
notebook.io.GitNotebookProviderConfigurator {
local_path = ${manager.notebooks.dir}
// HTTPS auth
// remote = "https://github.com/vidma/snb-tests.git"
remote = ${?SN_NOTEBOOKS_GIT_HTTPS_REPO}
authentication.username = ${?SN_NOTEBOOKS_GIT_USER}
// you can use a github token as password too
authentication.password = ${?SN_NOTEBOOKS_GIT_TOKEN}
// SSH auth:
// remote = "ssh://git@github.com/user/repo.git"
// remote = "git@github.com:user/repo.git"
// authentication.key_file = "/Users/someuser/.ssh/id_rsa"
// authentication.key_file_passphrase = "somepass"
}
}