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

Handling CI variable overwrite issues

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Backend , Dashboard
    • None

    Description

      Inspired from CLOUD-309 and it's conclusion: 

      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

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

            Dates

              Created:
              Updated: