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

Create a production ready image for Squish

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P1: Critical
    • None
    • None
    • Container creation
    • None

    Description

      The image should be based on a selected Qt version and should contain the Squish Installer that works with Qt for that version of Qt. The entry point of the script should be a "shell or python script" that checks if environment variable "SQUISH_LICENCE_STR" is available and is not empty.

      If the variable is empty, the script should exit. If the variable is not empty, it should tell the user that "found" and it will be used when running Squish. Docker file could be something like:

       

      FROM qt-v6.4.1_linux
      COPY squish_installer /opt/squish/
      COPY squish_example_app /opt/squish/example
      COPY squish_scripts /opt/squish/scripts
      

      The docker image should also come with following scripts:

      That intializes Squish to run with the "SQUISH_LICENCE_STR". For example - an improved version of this: https://git.qt.io/qtcloud/squish-qt-demo/-/blob/main/squish/init_squish.sh, called as validate_licence or install_squish or similar

       

      That runs tests - takes input of the test case file or folder and passes it on to the squish runner. For example - an improved version of this: https://git.qt.io/qtcloud/squish-qt-demo/-/blob/main/squish/run_tests.sh

      Other scripts that do the following:

      • Upload test results to Test center
      • Run example tests (which come bundled with the image)
      • Upload example test results to GLOBAL Test center instance

       

      All the "VARIABLES" like Test center token, Test center url should be referenced as environment variables. Eventually - these variables should be exposed to Gitlab CI during plugin or project configuration.

       

      Attachments

        Activity

          People

            sara.gilbert Sara Gilbert
            as33ms Aseem Shakuntal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: