Skip to content

Implement project deploy token #583

Closed

Description

@rgarrigue

Hi

I'm using GitLab Community Edition 11.0.4 and latest python-gitlab (pip installed today). There's nothing to handle deploy tokens (I'm not speaking about deploy keys here !)

image

Is this planned ?

Best regards,

Activity

  1. gpocentek commented on Sep 11, 2018

    @gpocentek
    Contributor

    Hi @rgarrigue

    I couldn't find any reference to deploy tokens in the GitLab API documentation. If this API doesn't exist python-gitlab will not be able to handle this feature. Do you have a link to code or documentation?

    Thanks.

  2. rgarrigue commented on Sep 11, 2018

    @rgarrigue
    Author

    Hi @gpocentek

    Seems it's missing, I found the related FR here https://gitlab.com/gitlab-org/gitlab-ce/issues/45149

    So I guess that make this issue on hold as a reminder for later on, or if implementing new API is part of your process it can be closed.

  3. max-wittig commented on Jul 25, 2019

    @max-wittig
    Member

    Let's close this for now. We don't know, if this will every be available as API.

  4. machine424 commented on Mar 17, 2020

    @machine424

    a Deploy Token API is now available: https://docs.gitlab.com/ee/api/deploy_keys.html
    Are you planning to support it ? I can help.

  5. max-wittig commented on Mar 17, 2020

    @max-wittig
    Member

    Sure. We're open for MRs!

  6. max-wittig commented on Mar 17, 2020

    @max-wittig
    Member

    @machine424 I've check again and it seems like we already support deploy keys: https://python-gitlab.readthedocs.io/en/latest/gl_objects/deploy_keys.html

  7. nejch commented on Mar 17, 2020

    @nejch
    Member

    @max-wittig although the link given was to the Deploy Keys API, it's true that the Deploy Token API will be available with 12.9 (and is probably testable already on nightly images and gitlab.com): https://docs.gitlab.com/ee/api/deploy_tokens.html

    So it looks like this will be relevant again soon :)

  8. machine424 commented on Mar 18, 2020

    @machine424

    @max-wittig, I didn't check the link after pasting it. I was talking about Deploy Tokens. (thanks @nejch)
    I can open a draft PR.

  9. machine424 commented on Mar 19, 2020

    @machine424

    The PR is here: #1052

  10. nejch commented on Apr 7, 2020

    @nejch
    Member

    Closing this as #1052 has been merged.

  11. locked as resolved and limited conversation to collaborators on Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions