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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Merge requests
!19
5534 add docker
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
5534 add docker
5534-add-docker
into
master
Overview
0
Commits
74
Pipelines
0
Changes
6
Merged
Hahn Axel (hahn)
requested to merge
5534-add-docker
into
master
2 years ago
Overview
0
Commits
74
Pipelines
0
Changes
6
0
0
Merge request reports
Viewing commit
ed6a291c
Prev
Next
Show latest version
6 files
+
362
−
216
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
ed6a291c
short array syntax; new config style
· ed6a291c
hahn
authored
2 years ago
config/config_custom.php.dist
0 → 100644
+
135
−
0
View file @ ed6a291c
Edit in single-file editor
Open in Web IDE
<?php
/*
* CUSTOM SETTINGS
*
* Settings here override defaults from config_defaults.php
*
*/
return
[
'lang'
=>
'en-en'
,
// for available languages see ./config/lang/*.json
'auth'
=>
[
// force using a given user ... for development only
'forceuser'
=>
'admin'
,
// use a real login
'ldap'
=>
[
'server'
=>
'ldaps://ldap.example.com'
,
'port'
=>
636
,
'DnLdapUser'
=>
'cn=lookupuser,dc=department,dc=example.com'
,
'PwLdapUser'
=>
'lookupuser_password_here'
,
'DnUserNode'
=>
'ou=People,dc=department,dc=example.com'
,
'DnAppNode'
=>
'cn=CI Web-GUI Users,ou=Application Access,dc=department,dc=example.com'
,
'debugLevel'
=>
0
,
]
],
// ----------------------------------------------------------------------
'phases'
=>
[
"preview"
=>
[],
"stage"
=>
[],
"live"
=>
[
// prevent immediate installation after build or accept
"deploytimes"
=>
[
'/(Mon|Tue|Wed|Thu)\ 14\:/'
],
],
],
'showdebug'
=>
[
'ip'
=>
[
'127.0.0.1'
],
],
'projectgroups'
=>
array
(
'aae'
=>
'AAE'
,
'aum'
=>
'AUM'
,
'eosce'
=>
'EOSCE'
,
'iml'
=>
'IML Services and websites'
,
'measured'
=>
'Measured'
,
'medsurf'
=>
'Medsurf'
,
),
// ----------------------------------------------------------------------
// build settings
// ----------------------------------------------------------------------
'versionsToKeep'
=>
10
,
// for cleanup: keep n unused versions
'builtsToKeep'
=>
3
,
'build'
=>
array
(
'env'
=>
'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";'
,
'hooks'
=>
array
(
'build-postclone'
=>
'hooks/onbuild-postclone'
,
'build-precompress'
=>
'hooks/onbuild'
,
),
),
// ----------------------------------------------------------------------
// rsync of archives
// ----------------------------------------------------------------------
'mirrorPackages'
=>
array
(
/*
// (1)
// sync to a puppet master puppet to extract archive and generate templates
'puppet' => array(
'type' => 'rsync',
'runas' => '', // www-data, // nur fuer commandline
'target' => 'copy-deployment@puppetmaster.example.com:/share/ciserver',
),
// (2)
// sync to a software package server like https://os-docs.iml.unibe.ch/ci-pkg/
'package-server' => array(
'type' => 'rsync',
'runas' => '', // www-data, // nur fuer commandline
'target' => 'copy-deployment@software.example.com:/var/www/data-ciserver',
),
*/
),
// ----------------------------------------------------------------------
// plugins
// existing subkeys = enabled plugins
// ----------------------------------------------------------------------
'plugins'
=>
[
'rollout'
=>
[
'default'
=>
[],
'ssh'
=>
[
'user'
=>
'imldeployment'
,
'privatekey'
=>
''
,
'addkeycommand'
=>
'/usr/bin/ssh-keygen -R %s; /usr/bin/ssh-keyscan -t rsa %s >> /home/www-data/.ssh/known_hosts'
,
'testcommand'
=>
'sudo puppet --version'
,
'command'
=>
'/usr/local/bin/puppetrun.sh'
,
],
'awx'
=>
[
'url'
=>
'https://awx.sys.iml.unibe.ch/api/v2'
,
// no ending "/"
'user'
=>
'api-ci'
,
'password'
=>
'awRSbdB2rkViaBXBKOvtr11DEoZJSqHceih1hEE4awrjIO1wuArKu85WmetsRp63'
,
'jobtemplate'
=>
'36'
,
'tags'
=>
'rollout'
,
// 'ignore-ssl-error'=>false,
],
],
],
// ----------------------------------------------------------------------
// notifications to messengers ...
// ----------------------------------------------------------------------
// notifications to messengers ...
'messenger'
=>
array
(
'slack'
=>
array
(
'presets'
=>
array
(
'https://hooks.slack.com/services/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'
=>
array
(
'label'
=>
'#medsurf-heartbeat'
,
'user'
=>
'[CI-WebGUI]'
,
),
'https://hooks.slack.com/services/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'
=>
array
(
'label'
=>
'#msrd-analyzer-hrtbeat'
,
'user'
=>
'[CI-WebGUI]'
,
),
),
),
),
// ----------------------------------------------------------------------
];
\ No newline at end of file
Loading