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

When two people in the same team will go through onboarding, it will duplicate things

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • Some future release
    • Backend , Dashboard
    • None
    • Gemini development, Gemini development, Onboarding finalization sprint, Development sprint

    Description

      For example, if A and B both working for same project go through the same onboarding process, then this will duplicate or overwrite things like: 

      1. CONAN_USER
      2. CONAN_PASS
      3. JFROG_USER
      4. JFROG_PASS

      So, we should probably ask the user: 

      • My project already uses Qt cloud.
      • I am reinstalling (or installing) the plugin
      • I will have to setup Qt cloud for my project from scratch

      Some more discussion is required around this. 

       

      We should also consider - if user A has configured the Gitlab project to use his CONAN credentials and then is it OK for the whole team to use the same credentials or then, we should find some other way of using the conan credentials? Or should there be a "team conan credentials"?

       

      Some changes in onboarding steps: 

      1. Ask Qt account
      2. Get token
      3. Check licence
      4. Gitlab info prompt
        1. My project already uses Qt cloud
        2. I need to setup Qt cloud for my project

       

      Conclusion or closure

      **At this point, all the variables are just overwritten. However, at the soonest, we should do the following: 

      1. Show all the variables that may be overwritten to the user and ask them if they want to overwrite it or not?
      2. Create an API for writing (or overwriting) one CI variable to the Gitlab Project

      Another approach could be:

      1. Create variables with prefix or suffix, for example: 
        1. QTCLOUD_CONAN_USER_${GITLAB_USER_ID}
        2. QTCLOUD_CONAN_PASS_${GITLAB_USER_ID}

      Then, in the .gitlab-ci.yml, we should refer the variables with the above notation. We have to find if this is actually possible or not? If yes, then this is the best method. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: