Module: SolanoConstant::Text::Process

Defined in:
lib/solano/constant.rb

Constant Summary collapse

SSH_KEY_NEEDED =
"\nIt looks like you haven't authorized an SSH key to use with Solano CI.\n\n"
DEFAULT_KEY_ADDED =
"SSH key authorized."
NO_KEYS =
"No authorized keys."
ADD_KEYS_ADD =
"Adding key '%s'"
ADD_KEYS_ADD_DONE =
"Authorized key '%s'.\n\nAssuming your private key is in %s, you can just add the following\nto ~/.ssh/config to use this new key with Solano CI:\n\n# Solano CI SSH Config\nHost %s\n  IdentityFile %s\n  IdentitiesOnly yes\n"
ADD_KEYS_GENERATE =
"Generating key '%s'"
ADD_KEYS_GENERATE_DONE =
"Generated and authorized key '%s'.\n\nAppend the following to ~/.ssh/config to use this new key with Solano CI:\n\n# Solano CI SSH Config\nHost %s\n  IdentityFile %s\n  IdentitiesOnly yes\n"
REMOVE_KEYS =
"Removing key '%s'"
REMOVE_KEYS_DONE =
"Removed key '%s'"
NO_CONFIG =
"No environment variables configured."
ADD_CONFIG =
"Adding config %s=%s to %s"
ADD_CONFIG_DONE =
"Added config %s=%s to %s"
REMOVE_CONFIG =
"Removing config '%s' from %s"
REMOVE_CONFIG_DONE =
"Removed config '%s' from %s"
CONFIG_EDIT_COMMANDS =
"\nUse `predix-ci config:add <scope> <key> <value>` to set a config key.\nUse `predix-ci config:remove <scope> <key>` to remove a key.\n\n"
KEYS_EDIT_COMMANDS =
"\nUse `predix-ci keys:add` to generate and authorize a new SSH keypair.\nUse `predix-ci keys:remove` to remove an authorized key from Solano CI.\n\nUse `ssh-keygen -lf <filename>` to print fingerprint of an existing public key.\n\n"
TEST_PATTERN_INSTRUCTIONS =
"\n>>> Solano CI selects tests to run by default (e.g., in CI) by matching against a\n    list of Ruby glob patterns.  Use \",\" to join multiple globs.\n\n    You can instead specify a list of test patterns in config/solano.yml.\n\n    Read more here: https://ci.predix.io/docs\n\n"
NO_CONFIGURED_SUITE =
"Looks like you haven't configured Predix CI on this computer for %s/%s...\n"
FOUND_EXISTING_SUITE =
"Found a suite in Predix CI for\n\n%s\n\n(on branch %s)."
TERMINATE_INSTRUCTION =
">>> Press Ctrl-C to stop waiting.  Tests will continue running.\n"
INTERRUPT =
"Interrupted"
SCM_PUSH =
">>> Pushing changes to Predix CI..."
STARTING_TEST =
">>> Starting Session with %s tests..."
CHECK_TEST_STATUS =
">>> Use 'predix-ci status' to check on pending jobs"
FINISHED_TEST =
"Finished in %s seconds"
RUN_SOLANO_WEB =
"\n>>> Run `predix-ci web` to open the latest test results in your browser.\n"
CHECK_TEST_REPORT =
">>> To view results, visit: %s"
FAILED_TESTS =
"Failed tests:"
SUMMARY_STATUS =
"Final result: %s."
EXISTING_SUITE =
"\nCurrent suite:\n"
USING_EXISTING_SUITE =
"Using suite '%s/%s'."
CREATING_SUITE =
"Creating suite '%s/%s'.  This will take a few seconds."
CREATING_SUITE_CI_DISABLED =
"Disabling automatic CI for this new branch."
CREATING_REPO_SNAPSHOT =
"Creating a snapshot from %s"
CREATING_REPO_SNAPSHOT_BRANCH =
"Creating a snapshot from %s, based on branch %s"
CREATED_SUITE =
"\nCreated suite.\n"
PASSWORD_CONFIRMATION_INCORRECT =
"Password confirmation incorrect"
PASSWORD_CHANGED =
"Your password has been changed."
NEXT_STEPS =
"

Next, you should register your test suite and start tests by running:

$ predix-ci run

"
ALREADY_LOGGED_IN =
"You're already logged in"
LOGGED_IN_SUCCESSFULLY =
"Logged in successfully"
LOGGED_OUT_SUCCESSFULLY =
"Logged out successfully"
USING_SPEC_OPTION =
{:max_parallelism => "Max number of tests in parallel = %s",
:user_data_file => "Sending user data from %s",
:test_pattern => "Selecting tests that match '%s'",
:test_exclude_pattern => "Excluding tests that match '%s'"}
REMEMBERED =
" (Remembered value)"
UPDATED_SUITE =
"Updated suite successfully."
UPDATED_TEST_PATTERN =
"Updated test pattern to '%s'"
UPDATED_TEST_EXCLUDE_PATTERN =
"Updated test exclude pattern to '%s'"
UPDATED_RUBY_VERSION =
"Updated ruby version to '%s'"
UPDATED_BUNDLER_VERSION =
"Updated bundler version to '%s'"
UPDATED_PYTHON_CONFIG =
"Updated Python configuration:\n%s"
UPDATED_TEST_CONFIGS =
"Updated test configurations:\n%s"
DEPENDENCY_VERSION =
"... Detected %s %s"
CONFIGURED_VERSION =
"Configured %s %s from %s"
CONFIGURED_PATTERN =
"... Configured test pattern from %s:\n\n%s\n\n>>> To change the pattern:\n    1. Edit %s\n    2. Run `predix-ci suite --edit` again.\nEO\n";
CONFIGURED_EXCLUDE_PATTERN =
"... Configured test exclude pattern from %s:\n\n%s\n\n>>> To change the pattern:\n    1. Edit %s\n    2. Run `predix-ci suite --edit` again.\nEO\n";
DETECTED_BRANCH =
"... Detected branch %s"
SETUP_CI =
"\n>>> To set up Hosted CI, enter a git URL to pull from.\n    You can also set a git URL to push to after tests pass.\n\n>>> Set both pull and push URLs to 'disable' to disable hosted CI completely.\n\nEO\n";
SETUP_CAMPFIRE =
"\n\nEO\n";
ADDING_MEMBER =
"Adding %s as %s..."
ADDED_MEMBER =
"Added %s"
REMOVING_MEMBER =
"Removing %s. This may take a few seconds..."
REMOVED_MEMBER =
"Removed %s"
USING_ACCOUNT_FROM_FLAG =
"Using organization '%s' (from command line)."
USING_ACCOUNT =
"Using organization '%s'."
CONFIRM_DELETE_SUITE =
"Are you sure you want to delete the suite %s/%s\nin organization %s?\nThis will delete all sessions associated with this suite, and cannot be un-done.\ny/[n]:\n".rstrip
SUITE_IN_MULTIPLE_ACCOUNTS =
"The suite %s/%s exists in multiple organization:"
SUITE_IN_MULTIPLE_ACCOUNTS_PROMPT =
"Which organization do you want to delete it from:"
ABORTING =
"Aborting."
DESCRIBE_SESSION =
"\nSession %s%s\nShowing %s tests\n\n"
RERUN_SESSION =
"\nRe-run failures from a session with `predix-ci rerun <session_id>`.\nExtract details of a session with `predix-ci describe <session_id>`.\n\n"
OPTIONS_SAVED =
'Options have been successfully saved.'
NOT_SAVED_OPTIONS =
'There is no server information saved. Run `predix-ci server:set`.'
BUILD_CONTINUES =
'Session will continue running.'
USING_PROFILE =
"Starting session with profile '%s'"
VOLUME_OVERRIDE =
"Worker volume set to %s"
USING_SESSION_MANAGER =
"Starting session with manager '%s'"
USING_CUSTOM_USER_ENV_VARS =
"Starting session with custom environment variables: %s"
SNAPSHOT_COMMIT =
"Snapshot commit is %s"
NO_SNAPSHOT =
"No snapshot, creating one"
FORCED_SNAPSHOT =
"Forcing snapshot creation"
SNAPSHOT_URL =
"Snapshot url is %s"
REQUST_PATCH_URL =
"Requesting patch url"
UPLOAD_PATCH =
"Uploading patch to %s"
USING_MASTER =
"Found a branch named master, if this is not the correct default branch please run again with --force_snapshot --default_branch=master"
ATTEMPT_UPSTREAM_PATCH =
"Attempting to create a patch from %s"
CREATING_PATCH =
"Creating a Patch by running\n%s\nPlease see https://ci.predix.io/docs/RunningBuild/snapshots-and-patches/ for more info on patching\n"
ASK_FOR_SNAPSHOT =
"Since we could not create a patch, we can try creating a snapshot instead. This may take longer to upload, then a patch.\nWARNING this will replace the current snapshot for the Repo.\n(Please see http://docs.solanolabs.com/RunningBuild/snapshots-and-patches/ for more info)\nWould you like to attempt snapshot creation?[Y/n]\n"