Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-1966

libclang provisionning script needs some work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • dev, 5.11
    • None

    Description

      Current provisioning scripts uses https://download.qt.io/ as base url for downloading pre-built libclang. That works but has 2 downsides:
      1. It is slower as the server is not in the CI network
      2. The connection is encrypted therefore it can not be cached by the proxy

      Impact of the issue is bigger in context of https://bugreports.qt.io/browse/QTBUG-66015 which increases size of the archives significantly.

      ---------------------------------------------------------------------------------------------------------
      The script should use DownloadURL script instead of direct curl, especially that the relevant archives are already mirrored on ci-files01.

      A cheap alternative is to replace https:// with http://, but it is a bit backward.

      ---------------------------------------------------------------------------------------------------------
      To update clang version in CI I had to modify a few (~4), not obvious (sha1 is embeded a bit randomly) files. It seems that everything could be handled from a one file which would define all sha1 and base urls and maybe a version.

      Attachments

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

        Activity

          People

            hehalmet Heikki Halmet
            nierob Nierob
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes