-
Notifications
You must be signed in to change notification settings - Fork 35
Add Rstudio, VSCode, Matlab to OOD application catalogue #738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c00d818
configure rstudio on compute node
bertiethorpe 61668fe
Merge branch 'main' into feat/extend-ood
bertiethorpe 5aa3a43
configure rstudio app on compute node
bertiethorpe 724cdb4
fix rstudio_compute.yml
bertiethorpe eba6697
improve ood app install logic
bertiethorpe 4d1f816
Add MATLAB ood app configuration
bertiethorpe 741d0da
add and configure VSCode OOD app
bertiethorpe 58727d8
WIP: debug rstudio app errors
bertiethorpe 05db2e2
reconfigure ood code-server app
bertiethorpe 9c925f6
Document lack of out-the-box MATLAB functionality
bertiethorpe f31957c
remove groups
bertiethorpe d57537c
Merge branch 'main' into feat/extend-ood
bertiethorpe ad17cb6
re-add inventory
bertiethorpe 2359a7a
bump CI images
bertiethorpe 32d05b9
Use lustre-release mirror
bertiethorpe ffdc43c
bump ood app releases, update matlab submit script, optimise portal.yml
bertiethorpe 914aa6b
fix widget selection order
bertiethorpe faa4475
openondemand.md improvements
bertiethorpe ea0b46d
bump CI images
bertiethorpe 0d53929
undo bastion edit
bertiethorpe 32c613c
del duplicate sentence in openondemand.md
bertiethorpe ea92e0a
Update docs/openondemand.md
bertiethorpe 3722757
Merge branch 'main' into feat/extend-ood
bertiethorpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,40 @@ | ||
- name: Download Code Server RPM | ||
ansible.builtin.get_url: | ||
url: "https://github.com/coder/code-server/releases/download/v{{ openondemand_code_server_version }}/code-server-{{ openondemand_code_server_version }}-amd64.rpm" | ||
dest: /tmp/code-server.rpm | ||
mode: '0644' | ||
|
||
- name: Install Code Server | ||
ansible.builtin.dnf: | ||
name: /tmp/code-server.rpm | ||
state: present | ||
disable_gpg_check: yes | ||
|
||
- name: Create module directory for Code Server | ||
ansible.builtin.file: | ||
path: /opt/ohpc/pub/modulefiles/code-server | ||
state: directory | ||
mode: '0755' | ||
recurse: yes | ||
|
||
- name: Create modulefile for Code Server | ||
copy: | ||
dest: "/opt/ohpc/pub/modulefiles/code-server/{{ openondemand_code_server_version }}" | ||
mode: "0644" | ||
content: | | ||
#%Module1.0##################################################################### | ||
|
||
proc ModulesHelp { } { | ||
puts stderr "This module loads code-server {{ openondemand_code_server_version }}." | ||
puts stderr "\nCode Server provides a browser-based VSCode instance.\n" | ||
} | ||
|
||
module-whatis "Name: code-server" | ||
module-whatis "Version: {{ openondemand_code_server_version }}" | ||
module-whatis "Category: IDE" | ||
module-whatis "Description: Run VS Code in your browser with Code Server" | ||
module-whatis "URL: https://github.com/coder/code-server" | ||
|
||
set root /usr/bin/code-server | ||
|
||
prepend-path PATH $root |
This file contains hidden or 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,50 @@ | ||
# Should be run on compute nodes you want to run RStudio on | ||
# See https://osc.github.io/ood-documentation/latest/tutorials/tutorials-interactive-apps/add-rstudio.html | ||
# - Will already have lmod | ||
|
||
- name: Install R from EPEL | ||
ansible.builtin.dnf: | ||
name: R | ||
state: present | ||
|
||
- name: Download RStudio Server RPM | ||
ansible.builtin.get_url: | ||
url: "https://download2.rstudio.org/server/rhel{{ ansible_distribution_major_version }}/x86_64/rstudio-server-rhel-{{ openondemand_rstudio_version }}-x86_64.rpm" | ||
dest: /tmp/rstudio-server.rpm | ||
mode: '0644' | ||
|
||
- name: Install RStudio Server | ||
ansible.builtin.dnf: | ||
name: /tmp/rstudio-server.rpm | ||
state: present | ||
disable_gpg_check: yes | ||
|
||
- name: Create module directory for RStudio Server | ||
ansible.builtin.file: | ||
path: /opt/ohpc/pub/modulefiles/rstudio-server | ||
state: directory | ||
mode: '0755' | ||
recurse: yes | ||
|
||
- name: Write modulefile for RStudio Server | ||
ansible.builtin.copy: | ||
dest: "/opt/ohpc/pub/modulefiles/rstudio-server/{{ openondemand_rstudio_version }}" | ||
mode: '0644' | ||
content: | | ||
#%Module1.0##################################################################### | ||
|
||
proc ModulesHelp { } { | ||
puts stderr " " | ||
puts stderr "This module loads RStudio Server {{ openondemand_rstudio_version }}" | ||
puts stderr "\nRStudio Server provides a browser-based interface to R.\n" | ||
} | ||
|
||
module-whatis "Name: rstudio-server" | ||
module-whatis "Version: {{ openondemand_rstudio_version }}" | ||
module-whatis "Category: IDE" | ||
module-whatis "Description: RStudio Server - IDE for R" | ||
module-whatis "URL: https://www.rstudio.com" | ||
|
||
set root /usr/lib/rstudio-server | ||
|
||
prepend-path PATH $root/bin |
This file contains hidden or 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
2 changes: 2 additions & 0 deletions
2
environments/.stackhpc/inventory/group_vars/all/openondemand.yml
This file contains hidden or 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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
openondemand_auth: basic_pam | ||
openondemand_jupyter_partition: standard | ||
openondemand_desktop_partition: standard | ||
openondemand_rstudio_partition: standard | ||
openondemand_codeserver_partition: standard | ||
#openondemand_dashboard_support_url: | ||
#openondemand_dashboard_docs_url: | ||
#openondemand_filesapp_paths: |
This file contains hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"cluster_image": { | ||
"RL8": "openhpc-RL8-250805-1410-35724c15", | ||
"RL9": "openhpc-RL9-250805-1409-35724c15" | ||
"RL8": "openhpc-RL8-250808-1727-faa44755", | ||
"RL9": "openhpc-RL9-250808-1727-faa44755" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.