Module: TddiumConstant::Text::Error

Defined in:
lib/tddium/constant.rb

Constant Summary collapse

OPTIONS_NOT_SAVED =
'Options have not been saved.'
KEY_ALREADY_EXISTS =
"Aborting. SSH key already exists: %s"
KEYGEN_FAILED =
"Failed to generate new SSH key for '%s'"
LIST_KEYS_ERROR =
"Error listing SSH keys"
REMOVE_KEYS_ERROR =
"Failed to remove key '%s'"
ADD_KEYS_DUPLICATE =
"You already have a key named '%s'"
ADD_KEY_CONTENT_DUPLICATE =
"You already have a key named '%s' with the same content"
ADD_KEYS_ERROR =
"Failed to add key '%s'"
LIST_CONFIG_ERROR =
"Error listing configuration variables"
ADD_CONFIG_ERROR =
"Error setting configuration variable"
REMOVE_CONFIG_ERROR =
"Error removing configuration variable"
SCM_NOT_A_REPOSITORY =
"Current working directory is not a suitable repository"
INVALID_CONFIGURED_PATTERN =
<<EOF;
Configuring test pattern from %s...

>>> The test_pattern in %s is not properly formatted.  It must be a YAML list.

You entered:

%s

>>> Edit %s and rerun `tddium suite --edit`

EO
SCM_REPO_NOT_READY =
"Your repository is being prepped.  Try again in a minute."
SCM_PUSH_FAILED =
<<EOF;

Attempt to push source to Solano CI failed.

If you get a "Permission denied (publickey)" message, ensure that SSH is
configured to send a key you have authorized with Solano CI (Run `tddium keys` to
see a list.)

For any other error, contact us at: [email protected]


EO
INVALID_SSH_PUBLIC_KEY =
'%s does not appear to be a valid SSH public key'
INACCESSIBLE_SSH_PUBLIC_KEY =
'%s is not accessible: %s'
SCM_CHANGES_NOT_COMMITTED =
<<EOF
There are uncommitted changes in the local repository.

Commit changes before running 'tddium spec'.

Use 'tddium spec --force' to test with only already-committed changes.
EOF
NOT_INITIALIZED =
"Solano CI must be initialized. Try 'tddium login'"
INVALID_TDDIUM_FILE =
".tddium.%s config file is corrupt. Try 'tddium login'"
SCM_NOT_FOUND =
"Solano CI requires git or mercurial which are not on your PATH"
SCM_NOT_INITIALIZED =
<<EOF;
It doesn't look like you're in a git repo.  If you're not, use 'git init' to
create one.

If you are in a git repo and you're still seeing this message,
you may be using an unsupported version of git.

Please email us at [email protected] with the following trace information:

>>>>>>>>>>>>> BEGIN GIT TRACE >>>>>>>>>>>>>>>>>>>>>>>>>
hg version: #{`hg status 2> /dev/null && hg -q --version 2>&1`}
git version: #{`git status 2> /dev/null && git --version 2>&1`}
git status:  #{`git status 2> /dev/null && git status 2>&1`}
git status result: #{ $? }
git details: #{`git status 2> /dev/null && git status --porcelain 2>&1`}
git details result: #{ $? }
>>>>>>>>>>>>> END GIT TRACE   >>>>>>>>>>>>>>>>>>>>>>>>>
EO
NO_SESSION_EXISTS =
"No session exists for the current branch. Use 'tddium run'"
NO_SUITE_EXISTS =
"No suite exists for the branch '%s'. Try running 'tddium suite'"
TRY_DEFAULT_BRANCH =
"Getting suites for default '%s' branch."
NO_USER_DATA_FILE =
"User data file '%s' does not exist"
NO_MATCHING_FILES =
"No files match '%s'"
PASSWORD_ERROR =
"Error changing password: %s"
ADD_MEMBER_ERROR =
"Error adding %s: %s"
REMOVE_MEMBER_ERROR =
"Error removing %s: %s"
USE_ACTIVATE =
"Visit 'https://ci.solanolabs.com' to activate your account for the first time."
INVALID_CREDENTIALS =
"Your .tddium file has an invalid API key.\nRun `tddium logout` and `tddium login`, and then try again."
MISSING_ACCOUNT_OPTION =
"You must specify an organization by passing the --org option."
MISSING_ACCOUNT =
"You must specify an organization."
NOT_IN_ACCOUNT =
"You aren't a member of organization %s."
CANT_FIND_SUITE =
"Can't find suite for %s/%s"
INVALID_ACCOUNT_NAME =
"Invalid organization name."
CANT_INVOKE_COMMAND =
<<EOF
ERROR: could not invoke tddium command
Usage: "tddium COMMAND [ARGS] [OPTIONS]". For available commands, run "tddium help".
EOF
CONFIG_PATHS_COLLISION =
<<EOF
You have both solano.yml and tddium.yml in your repo. We don't support merging the configuration from both of these files, so you'll have to pick one. The tddium.yml file will soon be deprecated, so we recommend migrating all of your configuration to solano.yml.
EOF