Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Merge requests
!80
goto_dir: add ENVINIT
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
goto_dir: add ENVINIT
7772-set-java-and-maven
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
7772-set-java-and-maven
into
master
2 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c064d982
1 commit,
2 months ago
1 file
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
shellscripts/goto_build_dir.sh
+
4
−
2
Options
@@ -8,6 +8,7 @@
# ----------------------------------------------------------------------
# 2024-01-19 v1.0 <axel.hahn@iml.unibe.ch> first lines
# 2024-07-25 v1.1 <axel.hahn@iml.unibe.ch> deny root access; shell fixes
# 2025-02-19 v1.2 <axel.hahn@iml.unibe.ch> add ENVINIT
# ======================================================================
cd
"
$(
dirname
"
$0
"
)
/.."
||
exit
1
@@ -87,8 +88,9 @@ ls "$DIR_APPROOT" >/dev/null || exit 2
export
DIR_APPROOT
export
GIT_SSH
=
"
$CI_APPROOT
/shellscripts/gitsshwrapper.sh"
export
DIR_SSH_KEYS
=
"
$CI_WORKDIR
/data/sshkeys"
export
NVMINIT
=
"
$CI_APPROOT
/shellscripts/nvm_init.sh"
;
export
RVMSCRIPT
=
"/usr/local/rvm/scripts/rvm"
;
export
NVMINIT
=
"
$CI_APPROOT
/shellscripts/nvm_init.sh"
export
RVMSCRIPT
=
"/usr/local/rvm/scripts/rvm"
export
ENVINIT
=
"
$CI_APPROOT
//shellscripts/env_init.sh"
cd
"
$DIR_APPROOT
"
||
exit
1
cat
<<
EOF
Loading