Skip to content

Commit c57a799

Browse files
Switch Pod User and Use HAMantis
1 parent 7edd084 commit c57a799

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

compose_api/simulation/simulation_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ async def submit_simulation_job(
113113
pushd {experiment_path}/output/
114114
zip -r {experiment_path}/results.zip ./*
115115
popd
116-
chmod u=rwx,g=rx,o=rx {experiment_path}
117116
echo "Simulation run completed. data saved to {experiment_path!s}."
118117
""")
119118
f.write(script_content)

kustomize/base/api.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ spec:
1616
spec:
1717
nodeSelector:
1818
vlan: internal
19-
# securityContext:
20-
# runAsUser: 17163
21-
# runAsGroup: 10000
22-
# fsGroup: 10000
19+
securityContext:
20+
runAsUser: 16997
21+
runAsGroup: 10000
22+
fsGroup: 10000
2323
containers:
2424
- name: api
2525
image: ghcr.io/biosimulations/compose-api:latest

kustomize/config/compose-api-rke/shared.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#SLURM_SUBMIT_HOST=hamantis.cam.uchc.edu
2-
SLURM_SUBMIT_HOST=mantis-sub-7.cam.uchc.edu
2+
SLURM_SUBMIT_HOST=hamantis.cam.uchc.edu
33
SLURM_SUBMIT_USER=crbmapi
44
#SLURM_SUBMIT_KEY_PATH=/run/secrets/slurmsubmitkeyfile/ssh-privatekey
55
SLURM_PARTITION=general

0 commit comments

Comments
 (0)