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
Commits
b904287b
Commit
b904287b
authored
2 years ago
by
hahn
Browse files
Options
Downloads
Patches
Plain Diff
short array syntax
parent
35463204
No related branches found
No related tags found
1 merge request
!19
5534 add docker
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config_defaults.php
+14
-14
14 additions, 14 deletions
config/config_defaults.php
config/inc_roles.php
+14
-14
14 additions, 14 deletions
config/inc_roles.php
with
28 additions
and
28 deletions
config/config_defaults.php
+
14
−
14
View file @
b904287b
...
@@ -72,18 +72,18 @@ return [
...
@@ -72,18 +72,18 @@ return [
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
'versionsToKeep'
=>
10
,
// for cleanup: keep n unused versions
'versionsToKeep'
=>
10
,
// for cleanup: keep n unused versions
'builtsToKeep'
=>
3
,
'builtsToKeep'
=>
3
,
'build'
=>
array
(
'build'
=>
[
'env'
=>
'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";'
,
'env'
=>
'export RVMSCRIPT="/usr/local/rvm/scripts/rvm";'
,
'hooks'
=>
array
(
'hooks'
=>
[
'build-postclone'
=>
'hooks/onbuild-postclone'
,
'build-postclone'
=>
'hooks/onbuild-postclone'
,
'build-precompress'
=>
'hooks/onbuild'
,
'build-precompress'
=>
'hooks/onbuild'
,
)
,
]
,
)
,
]
,
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// sync of archives
// sync of archives
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
'mirrorPackages'
=>
array
(
'mirrorPackages'
=>
[
/*
/*
// (1)
// (1)
...
@@ -102,7 +102,7 @@ return [
...
@@ -102,7 +102,7 @@ return [
'target' => 'copy-deployment@software.example.com:/var/www/data-ciserver',
'target' => 'copy-deployment@software.example.com:/var/www/data-ciserver',
),
),
*/
*/
)
,
]
,
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// plugins
// plugins
...
@@ -146,23 +146,23 @@ return [
...
@@ -146,23 +146,23 @@ return [
// TODO: functionality to be removed?!
// TODO: functionality to be removed?!
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
'foreman'
=>
array
(
'foreman
__
'
=>
[
'api'
=>
'https://foreman.example.com/'
,
// with ending "/"
'api'
=>
'https://foreman.example.com/'
,
// with ending "/"
'user'
=>
'ci-server'
,
'user'
=>
'ci-server'
,
'password'
=>
'ciserver_password_here'
,
'password'
=>
'ciserver_password_here'
,
'ignore-ssl-error'
=>
true
,
'ignore-ssl-error'
=>
true
,
// 'varname-replace'=>'ci-replacement',
// 'varname-replace'=>'ci-replacement',
)
,
]
,
// where to store project data
// where to store project data
'projects'
=>
array
(
'projects'
=>
[
'json'
=>
array
(
'json'
=>
[
'active'
=>
true
,
'active'
=>
true
,
)
,
]
,
'ldap'
=>
array
(
'ldap'
=>
[
'active'
=>
false
,
'active'
=>
false
,
)
,
]
,
)
,
]
,
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
];
];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
config/inc_roles.php
+
14
−
14
View file @
b904287b
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
*
*
*/
*/
return
array
(
return
[
"all"
=>
array
(
"all"
=>
[
"page_login"
"page_login"
)
,
]
,
"authenticated"
=>
array
(
"authenticated"
=>
[
"page_overview"
,
"page_overview"
,
"page_accept"
,
"page_accept"
,
...
@@ -34,10 +34,10 @@ return array(
...
@@ -34,10 +34,10 @@ return array(
"project-action-overview"
,
"project-action-overview"
,
"project-action-phase"
,
"project-action-phase"
,
"project-action-setup"
,
"project-action-setup"
,
)
,
]
,
"admin"
=>
array
(
"admin"
=>
[
"page_accept"
,
"page_accept"
,
"page_build"
,
"page_build"
,
...
@@ -63,16 +63,16 @@ return array(
...
@@ -63,16 +63,16 @@ return array(
"project-action-phase"
,
"project-action-phase"
,
"project-action-setup"
,
"project-action-setup"
,
"project-action-setup-edit-replacements"
,
"project-action-setup-edit-replacements"
,
)
,
]
,
// ----- wenn es mal eine feinere Granulierung braucht, muss man eine
// ----- wenn es mal eine feinere Granulierung braucht, muss man eine
// User-Admin programmieren
// User-Admin programmieren
/*
/*
"authenticated_" =>
array(
"authenticated_" =>
[
"page_overview",
"page_overview",
)
,
]
,
"developer_" =>
array(
"developer_" =>
[
"page_build",
"page_build",
"page_cleanup",
"page_cleanup",
"page_setup",
"page_setup",
...
@@ -85,15 +85,15 @@ return array(
...
@@ -85,15 +85,15 @@ return array(
"project-action-overview",
"project-action-overview",
"project-action-phase",
"project-action-phase",
"project-action-setup",
"project-action-setup",
)
,
]
,
"projectmanager_" =>
array(
"projectmanager_" =>
[
"project-action-default",
"project-action-default",
"project-action-accept-preview",
"project-action-accept-preview",
"project-action-accept-stage",
"project-action-accept-stage",
// "project-action-deploy",
// "project-action-deploy",
"project-action-overview",
"project-action-overview",
"project-action-phase",
"project-action-phase",
)
,
]
,
*/
*/
)
;
]
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment