NAME
App::Yath::Command::db::publish - Publish a log file directly to a yath database
DESCRIPTION
Publish a log file directly to a yath database
USAGE
$ yath [YATH OPTIONS] db-publish [COMMAND OPTIONS] [COMMAND ARGUMENTS]
OPTIONS
Database Options
- --db-config ARG
- --db-config=ARG
- --no-db-config
-
Module that implements 'MODULE->yath_db_config(%params)' which should return a App::Yath::Schema::Config instance.
Can also be set with the following environment variables:
YATH_DB_CONFIG
- --db-driver Pg
- --db-driver MySQL
- --db-driver SQLite
- --db-driver MariaDB
- --db-driver Percona
- --db-driver PostgreSQL
- --no-db-driver
-
DBI Driver to use
Can also be set with the following environment variables:
YATH_DB_DRIVER
- --db-dsn ARG
- --db-dsn=ARG
- --no-db-dsn
-
DSN to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_DSN
- --db-host ARG
- --db-host=ARG
- --no-db-host
-
hostname to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_HOST
- --db-name ARG
- --db-name=ARG
- --no-db-name
-
Name of the database to use
Can also be set with the following environment variables:
YATH_DB_NAME
- --db-pass ARG
- --db-pass=ARG
- --no-db-pass
-
Password to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_PASS
- --db-port ARG
- --db-port=ARG
- --no-db-port
-
port to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_PORT
- --db-socket ARG
- --db-socket=ARG
- --no-db-socket
-
socket to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_SOCKET
- --db-user ARG
- --db-user=ARG
- --no-db-user
-
Username to use when connecting to the db
Can also be set with the following environment variables:
YATH_DB_USER
,USER
Publish Options
- --publish-buffer-size 100
- --no-publish-buffer-size
-
Maximum number of events, coverage, or reporting items to buffer before flushing them (each has its own buffer of this size, and each job has its own event buffer of this size)
- --publish-flush-interval 2
- --publish-flush-interval 1.5
- --no-publish-flush-interval
-
When buffering DB writes, force a flush when an event is recieved at least N seconds after the last flush.
- --publish-force
- --no-publish-force
-
If the run has already been published, override it. (Delete it, and publish again)
- --publish-mode qvf
- --publish-mode qvfd
- --publish-mode summary
- --publish-mode complete
- --no-publish-mode
-
Set the upload mode (default 'qvfd')
- --publish-retry
- --publish-retry=COUNT
- --no-publish-retry
-
How many times to retry an operation before giving up
Note: Can be specified multiple times, counter bumps each time it is used.
- --publish-user ARG
- --publish-user=ARG
- --no-publish-user
-
User to publish results as
SOURCE
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.