Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab-ci
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
SECO Northern Europe
Yocto
infrastructure
gitlab-ci
Commits
2b90ef49
Commit
2b90ef49
authored
4 years ago
by
Tim Jaacks
Browse files
Options
Downloads
Patches
Plain Diff
Remove test.py
parent
b40e6093
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Remove test.py
Pipeline
#8036
passed with stage
in 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test.py
+0
-24
0 additions, 24 deletions
test.py
with
0 additions
and
24 deletions
test.py
deleted
100755 → 0
+
0
−
24
View file @
b40e6093
#!/usr/bin/env python3
import
common
from
gitlab
import
Gitlab
def
main
():
gitlab
=
Gitlab
(
"
https://gitlab.com
"
,
private_token
=
"
9q7XsWMpiv_MM5z6HiHw
"
)
project
=
common
.
get_project
(
gitlab
,
"
minimal-foo
"
)
with
gitlab
:
merge_request
=
common
.
get_merge_request
(
gitlab
,
project
,
state
=
"
merged
"
,
source_branch
=
"
remove-file-3
"
,
target_branch
=
"
master
"
,
commit
=
"
1d5c8da0a4826cceef1abf99c23d7c3585754f19
"
,
)
print
(
merge_request
)
if
__name__
==
"
__main__
"
:
main
()
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