Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.devtools
Commits
79d0ed8a
Commit
79d0ed8a
authored
Feb 13, 2019
by
André Anjos
💬
Browse files
Revert "[release] Try a different method for authenticating using CI_JOB_TOKEN"
This reverts commit
730cf6a4
.
parent
730cf6a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/devtools/release.py
View file @
79d0ed8a
...
...
@@ -70,11 +70,7 @@ def get_gitlab_instance():
logger
.
debug
(
'Did not find any of %s nor CI_JOB_TOKEN is defined. '
\
'Asking for user token on the command line...'
,
'|'
.
join
(
cfgs
))
token
=
input
(
"Your %s (private) token: "
%
server
)
gl
=
gitlab
.
Gitlab
(
server
,
private_token
=
token
,
api_version
=
4
)
else
:
username
=
'gitlab-ci-token'
gl
=
gitlab
.
Gitlab
(
server
,
email
=
'gitlab-ci-token'
,
password
=
token
)
gl
.
auth
()
gl
=
gitlab
.
Gitlab
(
server
,
private_token
=
token
,
api_version
=
4
)
return
gl
...
...
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