Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
75cf7234
Commit
75cf7234
authored
Oct 24, 2018
by
Cindy Pallares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gitlab_environment for ldap rake task
parent
a97e599a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/52993-ldap-rename_provider-rake-task-broken.yml
...nreleased/52993-ldap-rename_provider-rake-task-broken.yml
+5
-0
lib/tasks/gitlab/ldap.rake
lib/tasks/gitlab/ldap.rake
+1
-1
No files found.
changelogs/unreleased/52993-ldap-rename_provider-rake-task-broken.yml
0 → 100644
View file @
75cf7234
---
title
:
Use gitlab_environment for ldap rake task
merge_request
:
22582
author
:
type
:
fixed
lib/tasks/gitlab/ldap.rake
View file @
75cf7234
namespace
:gitlab
do
namespace
:ldap
do
desc
'GitLab | LDAP | Rename provider'
task
:rename_provider
,
[
:old_provider
,
:new_provider
]
=>
:
environment
do
|
_
,
args
|
task
:rename_provider
,
[
:old_provider
,
:new_provider
]
=>
:
gitlab_environment
do
|
_
,
args
|
old_provider
=
args
[
:old_provider
]
||
prompt
(
'What is the old provider? Ex. \'ldapmain\': '
.
color
(
:blue
))
new_provider
=
args
[
:new_provider
]
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment