Skip to content

Commit

Permalink
use ood's dynamic js (#20)
Browse files Browse the repository at this point in the history
* use ood's dynamic js

* add changelog entry
  • Loading branch information
johrstrom authored Dec 15, 2021
1 parent 3df0c80 commit 21219ef
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 86 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.7.0] - 2021-12-15

### Changed

- Use OnDemand's dynamic javascript capability in [20](https://github.com/OSC/bc_osc_jupyter_spark/pull/20)

## [0.6.0] - 2021-08-13

### Changed
Expand Down
79 changes: 0 additions & 79 deletions form.js

This file was deleted.

22 changes: 15 additions & 7 deletions form.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ attributes:
widget: "number_field"
value: "1"
min: "1"
max: "48"
max: "28"
label: "Number of workers per node"
help: |
This describes how the cores and memory are divvied up on the node
Expand All @@ -48,8 +48,16 @@ attributes:
available RAM as well as 48 cores, or a Pitzer node that has 3TB of available RAM as well as 80 cores.
There are 16 of these nodes on Owens and 4 on Pitzer.
options:
- "any"
- "hugemem"
- [
"any", "any",
data-max-num-workers-for-cluster-owens: 28,
data-max-num-workers-for-cluster-pitzer: 48,
]
- [
"hugemem", "hugemem",
data-max-num-workers-for-cluster-owens: 48,
data-max-num-workers-for-cluster-pitzer: 80,
]
only_driver_on_root:
widget: "check_box"
label: Only launch the driver on the master node.
Expand All @@ -69,23 +77,23 @@ attributes:
options:
- [
"2.3.0", "2.3.0",
data-option-for-pitzer: false
data-option-for-cluster-pitzer: false
]
- [
"2.4.5", "2.4.5",
data-option-for-owens: false,
data-option-for-cluster-owens: false,
]
- [
"3.0.1", "3.0.1",
data-option-for-pitzer: false
data-option-for-cluster-pitzer: false
]
version:
widget: "select"
label: "JupyterLab Version"
options:
- [
"3.0", "app_jupyter/3.0.7",
data-option-for-pitzer: false
data-option-for-cluster-pitzer: false
]
- [
"2.2", "app_jupyter/2.2.10",
Expand Down

0 comments on commit 21219ef

Please sign in to comment.