Skip to content

Commit

Permalink
Merge pull request #16 from OSC/codeserver-update
Browse files Browse the repository at this point in the history
Updating to allow for 3.4.1 and 3.9.3 versions
  • Loading branch information
johrstrom authored Jun 4, 2021
2 parents 6a4bcd1 + 608c5a7 commit 9cd1435
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ cluster: "pitzer-login"
form:
- bc_num_hours
- working_dir
- version
attributes:
version:
widget: "select"
label: "Codeserver Version"
options:
- ["3.9", "3.9.3"]
- ["3.4", "3.4.1"]

working_dir:
label: "Working Directory"
data-filepicker: true
Expand Down
2 changes: 1 addition & 1 deletion template/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export PASSWORD="$password"
echo "$(date): Running on compute node ${compute_node}:$port"

# VSCode complains that system git is too old.
module load project/ondemand git app_code_server
module load project/ondemand git app_code_server/<%= context.version %>

#
# Start Code Server.
Expand Down

0 comments on commit 9cd1435

Please sign in to comment.