Module: SolanoConstant::Text::Error

Defined in:
lib/solano/constant.rb

Constant Summary collapse

NOT_INITIALIZED =
"Solano CI must be initialized. Try 'solano login'"
OPTIONS_NOT_SAVED =
'Options have not been saved.'
LIST_CONFIG_ERROR =
"Error listing configuration variables"
ADD_CONFIG_ERROR =
"Error setting configuration variable"
REMOVE_CONFIG_ERROR =
"Error removing configuration variable"
KEY_ALREADY_EXISTS =
"Aborting. SSH key already exists: %s"
KEYGEN_FAILED =
"Failed to generate new SSH key for '%s'"
LIST_API_KEY_ERROR =
"Unable to retrieve API key"
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'"
INVALID_SSH_PUBLIC_KEY =
'%s does not appear to be a valid SSH public key'
INACCESSIBLE_SSH_PUBLIC_KEY =
'%s is not accessible: %s'
INVALID_SOLANO_FILE =
".solano.%s config file is corrupt. Try 'solano login'"
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 `solano suite --edit`

EO
SCM_NOT_A_REPOSITORY =
"Current working directory is not a suitable repository"
SCM_NO_ORIGIN =
"Origin URI not set; Solano CI requires origin URI to identify repository"
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 `solano keys` to
see a list.)

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


EO
SCM_CHANGES_NOT_COMMITTED =
<<EOF
There are uncommitted changes in the local repository.

Commit changes before running 'solano spec'.

Use 'solano spec --force' to test with only already-committed changes.
EOF
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 'solano run'"
NO_SUITE_EXISTS =
"No suite exists for the branch '%s'. Try running 'solano 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.predix.io' to activate your account for the first time."
INVALID_CREDENTIALS =
"Your .solano file has an invalid API key.\nRun `solano logout` and `solano 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 solano command
Usage: "solano COMMAND [ARGS] [OPTIONS]". For available commands, run "solano help".
EOF
CONFIG_PATHS_COLLISION =
<<EOF
You have multiple configs in your repo. We don't support merging the configuration from both of these files, so you'll have to pick one. The solano.yml file will soon be deprecated, so we recommend migrating all of your configuration to solano.yml.
EOF
CANNOT_OVERRIDE_PROFILE =
"Cannot override profile for existing session"
CANNOT_OVERRIDE_QUEUE =
"Cannot override queue for existing session"
COMMAND_DEPRECATED =
"This command is deprecated and will be removed in a future version"
NO_PATCH_URL =
"Failed to get Patch URL"
SNAPSHOT_NOT_SUPPORTED =
<<EOF
================================================================================================
Snapshot creation not supported
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
================================================================================================
EOF
PATCH_NOT_SUPPORTED =
<<EOF
================================================================================================
Patch creation not supported
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
================================================================================================
EOF
PATCH_CREATION_ERROR =
"Solano's current snapshot is based on commit: %s. We could not create a patch for your current state to that patch"
DEFAULT_BRANCH =
<<EOF
Could not find the default branch, looked for origin/head. We Need the default branch to create a snapshot. Please try again using --default_branch=master
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
EOF
FAILED_TO_CREATE_SNAPSHOT =
<<EOF
Could not create a repo snapshot, output from command was: %s
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
EOF
FAILED_TO_CREATE_PATCH =
"Could not create a repo patch. Tried to patch based on %s. output from command was: %s"
ANSWER_NOT_Y =
<<EOF
================================================================================================
Since you did not create a snapshot, and we could not create a patch a build can not be started.
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
================================================================================================
EOF
NEED_TO_FORCE =
<<EOF
There is currently not a Solano snapshot for this repo. We tried to create a snapshot based on your local copy of '%s', but it appears that there are unpushed commits on this branch.
To Ensure the snapshot is usable by other builds please run 'solano run' either after pushing the current commits or use 'solano run --force_snapshot' to create a snapshot from the current state.
Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info
EOF