Skip to content
Snippets Groups Projects

5534 add docker

Merged Hahn Axel (hahn) requested to merge 5534-add-docker into master
6 files
+ 362
216
Compare changes
  • Side-by-side
  • Inline

Files

+ 135
0
 
<?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