-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add installer support for configurable session root dir
Signed-off-by: Josh Usiskin <[email protected]>
- Loading branch information
Showing
18 changed files
with
263 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
test/integ/config/data/commented/session_root_dir/input.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
# session_root_dir = "/sessions" |
12 changes: 12 additions & 0 deletions
12
test/integ/config/data/commented/session_root_dir/output.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
session_root_dir = "/custom-session-root" |
12 changes: 12 additions & 0 deletions
12
test/integ/config/data/existing/session_root_dir/input.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
session_root_dir = "/sessions" |
12 changes: 12 additions & 0 deletions
12
test/integ/config/data/existing/session_root_dir/output.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
session_root_dir = "/custom-session-root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[worker] | ||
|
||
# Some prior content that should be preserved | ||
prior_setting_1 = 1 | ||
|
||
# More content to preserve | ||
prior_setting_2 = "abc" # and here's an inline comment |
18 changes: 18 additions & 0 deletions
18
test/integ/config/data/missing/session_root_dir/output.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[worker] | ||
|
||
# Some prior content that should be preserved | ||
prior_setting_1 = 1 | ||
|
||
# More content to preserve | ||
prior_setting_2 = "abc" # and here's an inline comment | ||
|
||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
session_root_dir = "/custom-session-root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
session_root_dir = "/custom-session-root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[worker] | ||
|
||
# The session root directory is a parent directory where worker agent creates per-session | ||
# subdirectories under. This value is overridden when the DEADLINE_WORKER_SESSION_ROOT_DIR environment | ||
# variable is set or the --session-root-dir command-line argument is specified. | ||
# | ||
# The default session root directory on POSIX systems is "/sessions" and on Windows systems is | ||
# "C:\ProgramData\Amazon\OpenJD". | ||
# | ||
# Uncomment the line below and replace the value with your desired session root directory: | ||
# | ||
# session_root_dir = "/custom-session-root" |
Oops, something went wrong.