Skip to content
Snippets Groups Projects
Commit b904287b authored by hahn's avatar hahn
Browse files

short array syntax

parent 35463204
No related branches found
No related tags found
1 merge request!195534 add docker
......@@ -72,18 +72,18 @@ return [
// ----------------------------------------------------------------------
'versionsToKeep' => 10, // for cleanup: keep n unused versions
'builtsToKeep' => 3,
'build' => array(
'build' => [
'env' => 'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";',
'hooks' => array(
'hooks' => [
'build-postclone' => 'hooks/onbuild-postclone',
'build-precompress' => 'hooks/onbuild',
),
),
],
],
// ----------------------------------------------------------------------
// sync of archives
// ----------------------------------------------------------------------
'mirrorPackages' => array(
'mirrorPackages' => [
/*
// (1)
......@@ -102,7 +102,7 @@ return [
'target' => 'copy-deployment@software.example.com:/var/www/data-ciserver',
),
*/
),
],
// ----------------------------------------------------------------------
// plugins
......@@ -146,23 +146,23 @@ return [
// TODO: functionality to be removed?!
// ----------------------------------------------------------------------
'foreman' => array(
'foreman__' => [
'api'=>'https://foreman.example.com/', // with ending "/"
'user'=>'ci-server',
'password'=>'ciserver_password_here',
'ignore-ssl-error'=>true,
// 'varname-replace'=>'ci-replacement',
),
],
// where to store project data
'projects' => array(
'json' => array(
'projects' => [
'json' => [
'active' => true,
),
'ldap' => array(
],
'ldap' => [
'active' => false,
),
),
],
],
// ----------------------------------------------------------------------
];
\ No newline at end of file
......@@ -7,11 +7,11 @@
*
*/
return array(
"all" => array(
return [
"all" => [
"page_login"
),
"authenticated" => array(
],
"authenticated" => [
"page_overview",
"page_accept",
......@@ -34,10 +34,10 @@ return array(
"project-action-overview",
"project-action-phase",
"project-action-setup",
),
],
"admin" => array(
"admin" => [
"page_accept",
"page_build",
......@@ -63,16 +63,16 @@ return array(
"project-action-phase",
"project-action-setup",
"project-action-setup-edit-replacements",
),
],
// ----- wenn es mal eine feinere Granulierung braucht, muss man eine
// User-Admin programmieren
/*
"authenticated_" => array(
"authenticated_" => [
"page_overview",
),
"developer_" => array(
],
"developer_" => [
"page_build",
"page_cleanup",
"page_setup",
......@@ -85,15 +85,15 @@ return array(
"project-action-overview",
"project-action-phase",
"project-action-setup",
),
"projectmanager_" => array(
],
"projectmanager_" => [
"project-action-default",
"project-action-accept-preview",
"project-action-accept-stage",
// "project-action-deploy",
"project-action-overview",
"project-action-phase",
),
],
*/
);
];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment