Skip to content

Commit

Permalink
Merge branch 'main' into k8s-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdjscott committed Aug 30, 2024
2 parents 3dae234 + bbff6b1 commit d561fbd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
8 changes: 2 additions & 6 deletions form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ cluster: "my-k8s-cluster"
form:
- Rserver
- Rapp
- extra_jupyter_args
- bc_queue
- bc_num_hours
- num_cores
- num_mem
Expand Down Expand Up @@ -53,15 +51,13 @@ attributes:
- [ "4.3.2", "R/4.3.2-foss-2023a" ]
- [ "4.3.1", "R/4.3.1-foss-2023a" ]
- [ "4.2.1", "R/4.2.1-gimkl-2022a" ]
- ["Bioconductor-3.17","R-bundle-Bioconductor/3.17-gimkl-2022a-R-4.3.1"]
- ["R-Geo/4.3.2","R-Geo/4.3.2-foss-2023a"]
- ["Bioconductor-3.17", "R-bundle-Bioconductor/3.17-gimkl-2022a-R-4.3.1"]
- ["R-Geo/4.3.2", "R-Geo/4.3.2-foss-2023a"]

# Any extra command line arguments to feed to the `jupyter notebook ...`
# command that launches the Jupyter notebook within the batch job

node: ""
bc_queue:
value: interactive
bc_num_hours:
max: 8
min: 1
Expand Down
4 changes: 2 additions & 2 deletions submit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ script:
native:
container:
name: "rstudio"
image: "ghcr.io/lbrick/nesi-docker-base/nesi-docker-base:0.7"
image: "ghcr.io/nesi/nesi-docker-base:v0.2.0"
command: ["/bin/bash","-l","<%= staged_root %>/job_script_content.sh"]
restart_policy: 'OnFailure'
env:
Expand Down Expand Up @@ -67,4 +67,4 @@ script:
CFG="$(hostname)-secret"

kubectl get secret ${CFG} -o json | jq --arg key $KEY --arg value $VALUE '.data[$key] = $value' | kubectl apply -f -
mount_path: '/opt/open_ondemand/helpers'
mount_path: '/opt/open_ondemand/helpers'
7 changes: 0 additions & 7 deletions template/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ module load <%= context.Rserver %>
# load R
module load <%= context.Rapp %>

# load additional Modules
module load Python/3.11.6-foss-2023a

#Only use the following if the os doesn't have pdflatex
#module load TeXLive/2022

# RStudioServer doesn't inherit "ulimit -s" from system config /etc/security/limits.d/custom.conf
# Therefore, we are setting it here

ulimit -s unlimited

#
Expand Down

0 comments on commit d561fbd

Please sign in to comment.