Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
g1-g2-ostack-cloud-migration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
cloud
g1-g2-ostack-cloud-migration
Commits
2d95ff5c
Commit
2d95ff5c
authored
11 months ago
by
František Řezníček
Browse files
Options
Downloads
Patches
Plain Diff
feat: add cloud team privileged members to allow them the migration
parent
3b41c74f
No related branches found
No related tags found
1 merge request
!2
feat: add cloud team privileged members to allow them the migration
Pipeline
#448886
passed
11 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/lib.py
+1
-1
1 addition, 1 deletion
ci/lib.py
with
1 addition
and
1 deletion
ci/lib.py
+
1
−
1
View file @
2d95ff5c
...
@@ -33,7 +33,7 @@ def trim_dict(dict_data, allowed_keys=None, denied_keys=None):
...
@@ -33,7 +33,7 @@ def trim_dict(dict_data, allowed_keys=None, denied_keys=None):
def
executed_as_admin_user_in_ci
():
def
executed_as_admin_user_in_ci
():
"""
identity the script user within CI pipeline
"""
"""
identity the script user within CI pipeline
"""
return
os
.
environ
.
get
(
'
GITLAB_USER_LOGIN
'
)
in
(
'
246254
'
,
'
252651
'
,
'
Jan.Krystof
'
,
'
moravcova
'
,
'
469240
'
,
'
Josef.Nemec
'
,
'
247801
'
)
return
os
.
environ
.
get
(
'
GITLAB_USER_LOGIN
'
)
in
(
'
246254
'
,
'
252651
'
,
'
Jan.Krystof
'
,
'
moravcova
'
,
'
469240
'
,
'
Josef.Nemec
'
,
'
247801
'
,
'
253466
'
,
'
252985
'
)
def
executed_in_ci
():
def
executed_in_ci
():
"""
detect CI environment
"""
"""
detect CI environment
"""
...
...
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