Skip to content

Commit 75a91fe

Browse files
authored
updates for 3.1 (#227)
* add 3.1 ood_portal.yml configs * rm centos:7 support * fix this template and add test cases for this feature * make this a real file * add support for 3.1 (and 3.0) ondemand.d configs
1 parent de2c05c commit 75a91fe

20 files changed

+525
-10
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
max-parallel: 4
2727
matrix:
2828
image:
29-
- 'centos:7'
3029
- 'centos:8'
3130
- 'rockylinux:8'
3231
- 'rockylinux:9'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,28 @@
6868
# - profile: "team1"
6969
# title: "Team 1"
7070
# icon: "fas://user"
71+
72+
files_enable_shell_button: true
73+
bc_dynamic_js: false
74+
bc_clean_old_dirs: false
75+
bc_clean_old_dirs_days: 30
76+
host_based_profiles: false
77+
disable_bc_shell: false
78+
cancel_session_enabled: false
79+
80+
# module_file_dir: null
81+
# user_settings_file: ~/.config/ondemand/settings.yml
82+
# facl_domain: null
83+
# auto_groups_filter: null
84+
85+
bc_simple_auto_accounts: false
86+
remote_files_enabled: false
87+
remote_files_validation: false
88+
upload_enabled: true
89+
download_enabled: true
90+
hide_app_version: false
91+
92+
# globus_endpoints: null
93+
# google_analytics_tag_id: null
94+
95+
motd_render_html: false

molecule/default/fixtures/config/ood_portal.yml.custom.apache2

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ port: 80
4343
# Default: null (no SSL support)
4444
# Default: null (no SSL support)
4545

46+
# Disable logging entirely. With this you can have custom log directives
47+
# in a seperate configuration file.
48+
# Example:
49+
# disable_logs: true
50+
# Default: false (logs are enabled)
51+
#disable_logs: false
52+
4653
# Root directory of log files (can be relative ServerRoot)
4754
# Example:
4855
# logroot: '/path/to/my/logs'
@@ -163,6 +170,26 @@ auth:
163170
- 'RequestHeader unset Authorization'
164171
- 'Require valid-user'
165172

173+
# List of custom apache directives to apply to the entire vhost.
174+
# Note this is an array of strings.
175+
# Example:
176+
# custom_vhost_directives:
177+
# - 'SetEnv SPECIAL_ENV_VAR custom'
178+
# Default: [] (no custom directives)
179+
custom_vhost_directives:
180+
- '<Location "/test">'
181+
- ' SetEnv SPECIAL_PATH /foo/bin'
182+
- '</Location>'
183+
184+
# List of custom apache directives to apply to the Locations.
185+
# Note this is an array of strings.
186+
# Example:
187+
# custom_location_directives:
188+
# - 'SetEnv SPECIAL_ENV_VAR custom'
189+
# Default: [] (no custom directives)
190+
custom_location_directives:
191+
- 'SetEnv SPECIAL_PATH /foo/bin'
192+
166193
# Redirect user to the following URI when accessing root URI
167194
# Example:
168195
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.custom.httpd

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ port: 80
4343
# Default: null (no SSL support)
4444
# Default: null (no SSL support)
4545

46+
# Disable logging entirely. With this you can have custom log directives
47+
# in a seperate configuration file.
48+
# Example:
49+
# disable_logs: true
50+
# Default: false (logs are enabled)
51+
#disable_logs: false
52+
4653
# Root directory of log files (can be relative ServerRoot)
4754
# Example:
4855
# logroot: '/path/to/my/logs'
@@ -163,6 +170,26 @@ auth:
163170
- 'RequestHeader unset Authorization'
164171
- 'Require valid-user'
165172

173+
# List of custom apache directives to apply to the entire vhost.
174+
# Note this is an array of strings.
175+
# Example:
176+
# custom_vhost_directives:
177+
# - 'SetEnv SPECIAL_ENV_VAR custom'
178+
# Default: [] (no custom directives)
179+
custom_vhost_directives:
180+
- '<Location "/test">'
181+
- ' SetEnv SPECIAL_PATH /foo/bin'
182+
- '</Location>'
183+
184+
# List of custom apache directives to apply to the Locations.
185+
# Note this is an array of strings.
186+
# Example:
187+
# custom_location_directives:
188+
# - 'SetEnv SPECIAL_ENV_VAR custom'
189+
# Default: [] (no custom directives)
190+
custom_location_directives:
191+
- 'SetEnv SPECIAL_PATH /foo/bin'
192+
166193
# Redirect user to the following URI when accessing root URI
167194
# Example:
168195
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.custom.httpd24-httpd

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ port: 80
4343
# Default: null (no SSL support)
4444
# Default: null (no SSL support)
4545

46+
# Disable logging entirely. With this you can have custom log directives
47+
# in a seperate configuration file.
48+
# Example:
49+
# disable_logs: true
50+
# Default: false (logs are enabled)
51+
#disable_logs: false
52+
4653
# Root directory of log files (can be relative ServerRoot)
4754
# Example:
4855
# logroot: '/path/to/my/logs'
@@ -163,6 +170,26 @@ auth:
163170
- 'RequestHeader unset Authorization'
164171
- 'Require valid-user'
165172

173+
# List of custom apache directives to apply to the entire vhost.
174+
# Note this is an array of strings.
175+
# Example:
176+
# custom_vhost_directives:
177+
# - 'SetEnv SPECIAL_ENV_VAR custom'
178+
# Default: [] (no custom directives)
179+
custom_vhost_directives:
180+
- '<Location "/test">'
181+
- ' SetEnv SPECIAL_PATH /foo/bin'
182+
- '</Location>'
183+
184+
# List of custom apache directives to apply to the Locations.
185+
# Note this is an array of strings.
186+
# Example:
187+
# custom_location_directives:
188+
# - 'SetEnv SPECIAL_ENV_VAR custom'
189+
# Default: [] (no custom directives)
190+
custom_location_directives:
191+
- 'SetEnv SPECIAL_PATH /foo/bin'
192+
166193
# Redirect user to the following URI when accessing root URI
167194
# Example:
168195
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.default.apache2

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ port: 80
4242
# Default: null (no SSL support)
4343
# Default: null (no SSL support)
4444

45+
# Disable logging entirely. With this you can have custom log directives
46+
# in a seperate configuration file.
47+
# Example:
48+
# disable_logs: true
49+
# Default: false (logs are enabled)
50+
#disable_logs: false
51+
4552
# Root directory of log files (can be relative ServerRoot)
4653
# Example:
4754
# logroot: '/path/to/my/logs'
@@ -161,6 +168,22 @@ auth:
161168
- 'RequestHeader unset Authorization'
162169
- 'Require valid-user'
163170

171+
# List of custom apache directives to apply to the entire vhost.
172+
# Note this is an array of strings.
173+
# Example:
174+
# custom_vhost_directives:
175+
# - 'SetEnv SPECIAL_ENV_VAR custom'
176+
# Default: [] (no custom directives)
177+
#custom_vhost_directives: []
178+
179+
# List of custom apache directives to apply to the Locations.
180+
# Note this is an array of strings.
181+
# Example:
182+
# custom_location_directives:
183+
# - 'SetEnv SPECIAL_ENV_VAR custom'
184+
# Default: [] (no custom directives)
185+
#custom_location_directives: []
186+
164187
# Redirect user to the following URI when accessing root URI
165188
# Example:
166189
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.default.httpd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ port: 80
4242
# Default: null (no SSL support)
4343
# Default: null (no SSL support)
4444

45+
# Disable logging entirely. With this you can have custom log directives
46+
# in a seperate configuration file.
47+
# Example:
48+
# disable_logs: true
49+
# Default: false (logs are enabled)
50+
#disable_logs: false
51+
4552
# Root directory of log files (can be relative ServerRoot)
4653
# Example:
4754
# logroot: '/path/to/my/logs'
@@ -161,6 +168,22 @@ auth:
161168
- 'RequestHeader unset Authorization'
162169
- 'Require valid-user'
163170

171+
# List of custom apache directives to apply to the entire vhost.
172+
# Note this is an array of strings.
173+
# Example:
174+
# custom_vhost_directives:
175+
# - 'SetEnv SPECIAL_ENV_VAR custom'
176+
# Default: [] (no custom directives)
177+
#custom_vhost_directives: []
178+
179+
# List of custom apache directives to apply to the Locations.
180+
# Note this is an array of strings.
181+
# Example:
182+
# custom_location_directives:
183+
# - 'SetEnv SPECIAL_ENV_VAR custom'
184+
# Default: [] (no custom directives)
185+
#custom_location_directives: []
186+
164187
# Redirect user to the following URI when accessing root URI
165188
# Example:
166189
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.default.httpd24-httpd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ port: 80
4242
# Default: null (no SSL support)
4343
# Default: null (no SSL support)
4444

45+
# Disable logging entirely. With this you can have custom log directives
46+
# in a seperate configuration file.
47+
# Example:
48+
# disable_logs: true
49+
# Default: false (logs are enabled)
50+
#disable_logs: false
51+
4552
# Root directory of log files (can be relative ServerRoot)
4653
# Example:
4754
# logroot: '/path/to/my/logs'
@@ -161,6 +168,22 @@ auth:
161168
- 'RequestHeader unset Authorization'
162169
- 'Require valid-user'
163170

171+
# List of custom apache directives to apply to the entire vhost.
172+
# Note this is an array of strings.
173+
# Example:
174+
# custom_vhost_directives:
175+
# - 'SetEnv SPECIAL_ENV_VAR custom'
176+
# Default: [] (no custom directives)
177+
#custom_vhost_directives: []
178+
179+
# List of custom apache directives to apply to the Locations.
180+
# Note this is an array of strings.
181+
# Example:
182+
# custom_location_directives:
183+
# - 'SetEnv SPECIAL_ENV_VAR custom'
184+
# Default: [] (no custom directives)
185+
#custom_location_directives: []
186+
164187
# Redirect user to the following URI when accessing root URI
165188
# Example:
166189
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.oidc.apache2

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ port: 80
4242
# Default: null (no SSL support)
4343
# Default: null (no SSL support)
4444

45+
# Disable logging entirely. With this you can have custom log directives
46+
# in a seperate configuration file.
47+
# Example:
48+
# disable_logs: true
49+
# Default: false (logs are enabled)
50+
#disable_logs: false
51+
4552
# Root directory of log files (can be relative ServerRoot)
4653
# Example:
4754
# logroot: '/path/to/my/logs'
@@ -162,6 +169,22 @@ auth:
162169
- 'RequestHeader unset Authorization'
163170
- 'Require valid-user'
164171

172+
# List of custom apache directives to apply to the entire vhost.
173+
# Note this is an array of strings.
174+
# Example:
175+
# custom_vhost_directives:
176+
# - 'SetEnv SPECIAL_ENV_VAR custom'
177+
# Default: [] (no custom directives)
178+
#custom_vhost_directives: []
179+
180+
# List of custom apache directives to apply to the Locations.
181+
# Note this is an array of strings.
182+
# Example:
183+
# custom_location_directives:
184+
# - 'SetEnv SPECIAL_ENV_VAR custom'
185+
# Default: [] (no custom directives)
186+
#custom_location_directives: []
187+
165188
# Redirect user to the following URI when accessing root URI
166189
# Example:
167190
# root_uri: '/my_uri'

molecule/default/fixtures/config/ood_portal.yml.oidc.httpd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ port: 80
4242
# Default: null (no SSL support)
4343
# Default: null (no SSL support)
4444

45+
# Disable logging entirely. With this you can have custom log directives
46+
# in a seperate configuration file.
47+
# Example:
48+
# disable_logs: true
49+
# Default: false (logs are enabled)
50+
#disable_logs: false
51+
4552
# Root directory of log files (can be relative ServerRoot)
4653
# Example:
4754
# logroot: '/path/to/my/logs'
@@ -162,6 +169,22 @@ auth:
162169
- 'RequestHeader unset Authorization'
163170
- 'Require valid-user'
164171

172+
# List of custom apache directives to apply to the entire vhost.
173+
# Note this is an array of strings.
174+
# Example:
175+
# custom_vhost_directives:
176+
# - 'SetEnv SPECIAL_ENV_VAR custom'
177+
# Default: [] (no custom directives)
178+
#custom_vhost_directives: []
179+
180+
# List of custom apache directives to apply to the Locations.
181+
# Note this is an array of strings.
182+
# Example:
183+
# custom_location_directives:
184+
# - 'SetEnv SPECIAL_ENV_VAR custom'
185+
# Default: [] (no custom directives)
186+
#custom_location_directives: []
187+
165188
# Redirect user to the following URI when accessing root URI
166189
# Example:
167190
# root_uri: '/my_uri'

0 commit comments

Comments
 (0)