Uploaded image for project: 'Qt Cloud'
  1. Qt Cloud
  2. CLOUD-279

Onboarding - script to create a repo in Gitlab

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • None
    • None
    • Gemini sprint 12, Gemini development

      The script should be written with as much modular approach so that relevant function can be called also from another script or "python entry point". Following options should be present: 

      • Gitlab URL (-gitlab-url, defaults REST API url of git.qt.io) 
      • Name of the repo
      • Create repo within a "new" namespace? Name of Namespace
      • User's private token to do all this stuff in their or our Gitlab
      • If a different token is used, token type should be defined (e.g. admin token)

      We have a similar script in the "SETUP" repository. We should re-use that as much possible.

      This script should eventually: 

      • Create gitlab repo in namespace or within user's namespace
      • If name space:
        • Create a "hello-world" repo
        • Add all the relevant examples like gitlab-ci.yml, hello-world.cpp
      • If not name space:
        • Create a repo 
        • Create a folder "hello-world" 
        • Add all the relevant examples like gitlab-ci.yml, hello-world.cpp

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            as33ms Aseem Shakuntal
            as33ms Aseem Shakuntal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes