1. 10 Aug, 2018 1 commit
  2. 06 Mar, 2018 1 commit
  3. 05 Sep, 2017 1 commit
  4. 09 May, 2017 1 commit
  5. 14 Dec, 2016 2 commits
  6. 30 Jun, 2016 1 commit
  7. 20 Jun, 2016 1 commit
  8. 08 Jun, 2016 2 commits
  9. 04 May, 2016 1 commit
  10. 28 Apr, 2016 1 commit
  11. 28 Mar, 2016 2 commits
    • Luis Araujo's avatar
      Add the diffresults command · 2843bb86
      Luis Araujo authored
      This command will show the test results differences of
      JOB_1 compared to JOB_2. It will also show those missing
      tests in JOB_2 from JOB_1.
      
      The command will exit with code OPERATION_FAILED if any
      differences in the results are found or SUCCESS code otherwise.
      Signed-off-by: Luis Araujo's avatarLuis Araujo <luis.araujo@collabora.co.uk>
      2843bb86
    • Luis Araujo's avatar
      Add check-image-url option to the submit command · 533093b8
      Luis Araujo authored
      This submit command option will allow to check that the image (file)
      actually exists in the specified url path (either locally if the
      file:// prefix is used, or remotely), and if it doesnt, it immediately
      exits with an APPLICATION_ERROR code (2).
      
      This option doesn't check if the image is valid in some other way,
      it only checks that an actual file exists in such a path.
      
      It uses the python requests module to check for the existence of the
      file remotely.
      
      Reviewed By: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
      Maniphest Tasks: T823
      Differential Revision: https://phabricator.collabora.co.uk/D300Signed-off-by: Luis Araujo's avatarLuis Araujo <luis.araujo@collabora.co.uk>
      533093b8
  12. 15 Jan, 2016 1 commit
    • Luis Araujo's avatar
      Use a global Settings object · 2ec38bc7
      Luis Araujo authored
      Initialize a Settings object only once (during the settings module
      import) and use this object globally from all the commands after
      loading its configuration from the command line interface top
      level routine.
      
      This change avoids to have Settings initialized more than once,
      which can cause issues like logger handlers duplication and
      problems with commands combinations.
      2ec38bc7
  13. 15 Dec, 2015 1 commit
    • Luis Araujo's avatar
      Re-write report command to use the new Analyse module · 3fd1c34c
      Luis Araujo authored
      This is a full re-write of the report command to use the new
      Analyse module. This re-write includes most of the functionality of
      the previous version making the code much cleaner and easier to
      extend with new features.
      3fd1c34c
  14. 02 Dec, 2015 1 commit
  15. 22 Oct, 2015 1 commit
    • Luis Araujo's avatar
      Change job command line interface and output · cf269024
      Luis Araujo authored
      Now the job command will only show the job name by default if no
      other option is passed, and it will require explicitly the new
      --tests option to list the job tests.
      
      This commit also makes the command output cleaner.
      
      These changes are intended to make the job command resemble how
      the test command behaves.
      cf269024
  16. 21 Oct, 2015 1 commit
  17. 20 Oct, 2015 2 commits
    • Luis Araujo's avatar
      Improve test command interface options and output · 499da27a
      Luis Araujo authored
      This commit implements the following changes to the test command
      line interface:
      
      - It now won't show the test results by default, and instead the
        command line option --no-results is replaced by the option
        -r/--results to explicitly tell the command to show the results.
      - It makes the displayed output cleaner for the --info option.
      499da27a
    • Luis Araujo's avatar
      Add the options to show all the test results in analyse · 62671b2d
      Luis Araujo authored
      This commit adds the flag -a/--all-results to the analyse command
      so it expands and show all test results (not only failed results).
      
      It sets a limit to show only 500 test results for each status, and
      it prints a message to check the bundle link for further results if
      that's the case. This limit can be ignored with the --no-limit
      option.
      
      It also refactors some of the code to be cleaner for printing the
      different test results.
      62671b2d
  18. 02 Oct, 2015 1 commit
    • Luis Araujo's avatar
      Add the queue command · 5bf7fd50
      Luis Araujo authored
      This command will list all the submitted and running jobs with their
      submit or start time respectively.
      5bf7fd50
  19. 29 Sep, 2015 1 commit
  20. 24 Sep, 2015 2 commits
    • Luis Araujo's avatar
      Change argument name to build the job id list · e19872f8
      Luis Araujo authored
      This commit changes the special argument name from 'job_id' to
      'job_ids' to build the job id list. This is a more appropriate
      name for such an argument and fixes the case where the command
      only takes a single job id (named job_id) and doesn't need to
      build a list.
      e19872f8
    • Luis Araujo's avatar
      Add the job id range notation · aa6d5264
      Luis Araujo authored
      This commit adds a range notation to specify the JOB ID in those
      commands requirng such an argument.
      
      The notation for JOB ID's can now be a range like: '0-N' to
      process jobs with ID from 0 to N. The notation keeps also working
      fine specifying a single JOB ID, or even a combination of both,
      for example: '0 1-6 20-23 99' will work as expected
      processing each of the specific JOB ID's.
      aa6d5264
  21. 22 Sep, 2015 2 commits
    • Luis Araujo's avatar
      Add the test command · 8ad9468c
      Luis Araujo authored
      This command will show information for the tests executed
      by the specified job id. It offers several options to display the
      test results and test metadata.
      
      This command can be seen like a front-end to the test API lqa_api.test.
      8ad9468c
    • Luis Araujo's avatar
      Add the liststreams command · f1dacab6
      Luis Araujo authored
      This command will list all the bundle streams the logged in user
      has access to.
      f1dacab6
  22. 18 Sep, 2015 1 commit
    • Luis Araujo's avatar
      Add job command to fetch and display job information · 05e2874f
      Luis Araujo authored
      This commit adds the new job command at lqa_tool.commands.job.
      
      This command is used to fetch and display the information of the
      specified job ids. It is basically a command line front-end that
      directly maps to methods in the job API to show job metadata.
      05e2874f
  23. 15 Sep, 2015 1 commit
  24. 11 Sep, 2015 1 commit
  25. 04 Sep, 2015 1 commit
  26. 01 Sep, 2015 2 commits
  27. 28 Aug, 2015 1 commit
    • Luis Araujo's avatar
      Add the --live option to the output command · c1097dbe
      Luis Araujo authored
      This option allows to fetch the job output and show it incrementally
      to stdout as it is being generated (live) with a time delay of 0.5
      seconds for the data polling.
      
      The new --file option was also added to make clear that specifying
      a FILE or using --live is mutually exclusive
      c1097dbe
  28. 19 Aug, 2015 2 commits
    • Luis Araujo's avatar
      Add priority option to submit command · 7708ae6e
      Luis Araujo authored
      This option will allow to set the priority of the submitted job.
      
      The only available choices for such an option are low, medium and
      high (which corresponds to the LAVA priority values), and using
      this option will also override the 'priority' field in the json
      template if it is used as a profile variable.
      7708ae6e
    • Luis Araujo's avatar
      Add the mkstream command · b3c45ac4
      Luis Araujo authored
      This command allows to create bundle streams with its different
      available options.
      
      Streams can have access public or private, and they can be
      anonymous, personal or owned by a team. The mkstream command
      allows the creation and configuration of the different stream modes
      implementing convenient defaults.
      
      Without any command line option, mkstream defaults to create a
      public personal stream for the logged in user.
      b3c45ac4
  29. 06 Aug, 2015 1 commit
    • Luis Araujo's avatar
      Wait timeout value in more human friendly format · 8181bb85
      Luis Araujo authored
      This commits adds the feature to specify the timeout value
      for the wait command in a human friendly format.
      
      The supported notation is using the suffixes <time>h, <time>m,
      and <time>s for specifying the <time> in hours, minutes and
      seconds respectively.
      
      The value defaults to seconds if no suffix notation is specified.
      8181bb85
  30. 04 Aug, 2015 1 commit
    • Luis Araujo's avatar
      Remove import of unneeded modules · 04a6a414
      Luis Araujo authored
      This commits removes the unnecessary importing from some modules
      in the lqa_tool module (probably left over from previous commits).
      04a6a414
  31. 31 Jul, 2015 1 commit
    • Luis Araujo's avatar
      Add the devices command · 1dc78934
      Luis Araujo authored
      This command will show all the available devices with the following
      information: hostname, device type, device state and the job id
      if it is running a job.
      1dc78934
  32. 20 Jul, 2015 1 commit
    • Luis Araujo's avatar
      Add the output command · 792ab01c
      Luis Araujo authored
      This command will fetch the job log.
      
      It will show the log file to stdout by default, or it will save it
      to file name [FILE] if such an argument is passed.
      792ab01c