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
Compare revisions
44c2afbd79b439bbe4574f80bef537dc3b88e9a8 to 00c7a6dbaccdd13bb912c7b5e75c9b8a1a042e17
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
iml-open-source/imldeployment
Select target project
No results found
00c7a6dbaccdd13bb912c7b5e75c9b8a1a042e17
Select Git revision
Branches
Legacy_Php7
master
2 results
Swap
Target
iml-open-source/imldeployment
Select target project
iml-open-source/imldeployment
1 result
44c2afbd79b439bbe4574f80bef537dc3b88e9a8
Select Git revision
Branches
Legacy_Php7
master
2 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
update Build docs
· 6fe1874d
Hahn Axel (hahn)
authored
2 months ago
6fe1874d
Merge branch '7821-improve-api-error-messages' into 'master'
· 00c7a6db
Hahn Axel (hahn)
authored
2 months ago
update Build docs See merge request
!83
00c7a6db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/30_Server/Processes/10_Build.md
+27
-8
27 additions, 8 deletions
docs/30_Server/Processes/10_Build.md
with
27 additions
and
8 deletions
docs/30_Server/Processes/10_Build.md
View file @
00c7a6db
...
...
@@ -2,8 +2,8 @@
A build process can be started ...
*
by
`Build`
button on overview page
*
by
`Build`
button in application view
*
by
`Build`
button on overview page
*
by
`Build`
button in application view
*
by API call
Among its steps are some builtin, some depend on the project settings and some can be influenced by the developers.
...
...
@@ -71,12 +71,13 @@ echo myVar=$myVar
*
$DIR_APPROOT - full path of the current build directory (z.B. /var/imldeployment/build/ci-webgui/ci-webgui_20171211-102707)
*
$RVMSCRIPT - for Rails projects: path to the RVM script. With it you can set a custom Ruby version
*
$NVMINIT - for NodeJs projects - to install a custom node version
*
$ENVINIT - to set a Java and Maven version
Snippets:
(1)
#### Set a Ruby version
Set a Ruby version:
(1)
Rvm must be installed on the server where the ci server runs.
```
shell
...
...
@@ -84,9 +85,9 @@ Rvm must be installed on the server where the ci server runs.
rvm use 2.2.3
```
(2)
#### Set a custom Nodejs version
Set a custom Nodejs version:
(2)
The NVM init script is part of the ci server.
```
shell
...
...
@@ -96,13 +97,31 @@ rvm use 2.2.3
nvm
install
[
Version]
```
Important: at the end of the hook script uninstall it by using
`nvmremove`
.
⚠️
Important: at the end of the hook script uninstall it by using
`nvmremove`
.
Ressources:
Ressources:
*
CI-Git-Repo .. nvm_init.sh:
<https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/-/blob/master/shellscripts/nvm_init.sh>
*
NVM:
<https://github.com/nvm-sh/>
#### Set a custom Java or Maven version
In the onbuild a developer can set a java version without knowledge of its installation path. Java ando or Maven that must be
*
installed locally
*
added in shellscripts/env_init.sh.cfg
In the onbuild script their versions can be set by sourcing the shell script in variable $ENVSCRIPT:
```
shell
.
$ENVSCRIPT
--java
23
--maven
3.9.8
```
Ressources:
*
CI-Git-Repo .. env_init.sh:
<https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/-/blob/master/shellscripts/env_init.sh>
*
CI-Git-Repo .. env_init.sh.cfg.dist:
<https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/-/blob/master/shellscripts/env_init.sh.cfg.dist>
### Remove vcs data
The version control data (
`.git`
directory in build root) will be removed.
...
...
This diff is collapsed.
Click to expand it.