canary report#
Create and post test reports
canary report [-h] subcommands ...
Optional arguments
-h, --helpShow this help message and exit.
Subcommands
canary report gitlab-mr#
canary report gitlab-mr [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report gitlab-mr create#
canary report gitlab-mr create [-h] [--cdash-url CDASH_URL] [-a ACCESS_TOKEN]
Optional arguments
-h, --helpshow this help message and exit
--cdash-url CDASH_URLAdd a link to a CDash report for this MR
-a ACCESS_TOKEN, --access-token ACCESS_TOKENGitLab access token that allows to GET/POST to the merge request API
canary report cdash#
canary report cdash [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report cdash create#
canary report cdash create [-h] [--name-format {short,long}] [--build name] [--site name] [-f file] [-d directory]
[-j file] [--track track | --build-stamp stamp] [-n CHUNK_SIZE] [-L LABEL]
[--subproject-labels LABELS]
Optional arguments
-h, --helpshow this help message and exit
--name-format {short,long}Name as shown on the CDash landing page [default: short]
--build nameThe name of the build that will be reported to CDash.
--site nameThe site name that will be reported to CDash. [default: current system hostname]
-f fileRead site, build, and buildstamp from this XML file (eg, Build.xml or Configure.xml)
-d directoryWrite reports to this directory [default: $session/_reports/cdash]
-j fileCreate reports from this JSON file [default: $session/_reports/cdash]
--track trackResults will be reported to this group on CDash [default: Experimental]
--build-stamp stampInstead of letting the CDash reporter prepare the buildstamp which, when combined with build name, site and project, uniquely identifies the build, provide this argument to identify the build yourself. Format: %Y%m%d-%H%M-<track>
-n CHUNK_SIZEThe results will be split into chunks of N entries per XML file. If N is -1 the XML will be not be split and will be stored as a single file.
-L LABELLabel that will be treated as a subproject
--subproject-labels LABELSComma-separated list of labels that will be treated as subprojects
canary report cdash post#
canary report cdash post [-h] --project CDASH_PROJECT --url CDASH_URL [--done] [files ...]
Positional arguments
- files
XML files to post
Optional arguments
-h, --helpshow this help message and exit
--project CDASH_PROJECT, --cdash-project CDASH_PROJECTThe CDash project
--url CDASH_URL, --cdash-url CDASH_URLThe base CDash url (do not include project)
--donePost Done.xml to the build.
canary report cdash summary#
canary report cdash summary [-h] [--project CDASH_PROJECT] [--url CDASH_URL] [-t TRACK] [-m MAILTO] [-s SKIP_SITE]
[-o OUTPUT]
Optional arguments
-h, --helpshow this help message and exit
--project CDASH_PROJECT, --cdash-project CDASH_PROJECTThe CDash project
--url CDASH_URL, --cdash-url CDASH_URLThe base CDash url (do not include project)
-t TRACK, --track TRACKCDash build groups to pull from CDash [default: all]
-m MAILTO, --mailto MAILTOEmail addresses to send the summary.
-s SKIP_SITE, --skip-site SKIP_SITESites to skip (accepts Python regular expression)
-o OUTPUTFilename to write the html summary [default: stdout]
canary report cdash make-gitlab-issues#
canary report cdash make-gitlab-issues [-h] --cdash-url CDASH_URL --cdash-project CDASH_PROJECT --gitlab-url
GITLAB_URL --gitlab-api-url GITLAB_API_URL --gitlab-project-id
GITLAB_PROJECT_ID [-a ACCESS_TOKEN] [-d DATE] [-f FILTER_GROUPS]
[--skip-site SKIP_SITE] [--dont-close-missing]
Optional arguments
-h, --helpshow this help message and exit
--cdash-url CDASH_URLThe base CDash url, do not include project
--cdash-project CDASH_PROJECTThe base CDash project
--gitlab-url GITLAB_URLThe GitLab project url
--gitlab-api-url GITLAB_API_URLThe GitLab project’s API url
--gitlab-project-id GITLAB_PROJECT_IDThe GitLab project’s ID
-a ACCESS_TOKENThe GitLab read/write API access token.
-d DATE, --date DATEDate to retrieve from CDash
-f FILTER_GROUPS, --filtergroups FILTER_GROUPSGroups to pull down from CDash
--skip-site SKIP_SITESites to skip (accepts Python regular expression)
--dont-close-missingDon’t close issues belonging to missing tests
canary report markdown#
canary report markdown [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report markdown create#
canary report markdown create [-h] [--dest DEST]
Optional arguments
-h, --helpshow this help message and exit
--dest DESTWrite reports to this directory
canary report junit#
canary report junit [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report junit create#
canary report junit create [-h] [-o OUTPUT]
Optional arguments
-h, --helpshow this help message and exit
-o OUTPUTOutput file name [default: junit.xml]
canary report json#
canary report json [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report json create#
canary report json create [-h] [-o OUTPUT]
Optional arguments
-h, --helpshow this help message and exit
-o OUTPUTOutput file name [default: canary.json]
canary report html#
canary report html [-h] subcommands ...
Optional arguments
-h, --helpshow this help message and exit
Subcommands
canary report html create#
canary report html create [-h] [--dest DEST]
Optional arguments
-h, --helpshow this help message and exit
--dest DESTWrite reports to this directory