Skip to content

Commit

Permalink
remove the additional PASSWORD directive in before.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DininduSenanayake committed Jul 1, 2024
1 parent 463aae9 commit d18693e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion submit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ script:
native:
container:
name: "codeserver"
image: "ghcr.io/nesi/training-environment-codeserver-app:v0.1.10"
image: "ghcr.io/nesi/training-environment-codeserver-app:v0.1.11"
command: ["/bin/bash","-l","<%= staged_root %>/job_script_content.sh"]
restart_policy: 'OnFailure'
env:
Expand Down
4 changes: 3 additions & 1 deletion template/before.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ exec &> >(tee -a "pod.log")

source /bin/find_host_port
source /bin/save_passwd_as_secret
export password="$PASSWORD"
export host="$HOST_CFG"
export port="$PORT_CFG"

#Following directive came from the rstudio-app which we think will cause a conflict with the environment variable
#define in script.sh.erb
#export password="$PASSWORD"

echo "host is: ${host}"
echo "port is: ${port}"
Expand Down

0 comments on commit d18693e

Please sign in to comment.