Module: TddiumConstant::Text::Status
- Defined in:
- lib/tddium/constant.rb
Overview
Process
Constant Summary collapse
- SPEC_WARNINGS =
"\n\n>>> Solano CI Warnings:\n\n"- SPEC_ERRORS =
"\n\n>>> Solano CI Errors:\n"- NO_SUITE =
"You currently do not have any suites"- ALL_SUITES =
"Suites:"- CURRENT_SUITE =
"Current suite: %s"- CURRENT_SUITE_UNAVAILABLE =
"Your current suite is unavailable"- NO_ACTIVE_SESSION =
"There are no running sessions for this repo."- ACTIVE_SESSIONS =
"Your active sessions for this repo%s:"- NO_INACTIVE_SESSION =
"There are no recent sessions on this branch."- INACTIVE_SESSIONS =
"Latest sessions on branch %s:"- SESSION_DETAIL =
" %10.10s %s %s in %s, %s"- ATTRIBUTE_DETAIL =
" %s: %s"- SEPARATOR =
"====="- USING_SUITE =
"\nUsing suite:\n"- USER_DETAILS =
"\nUsername: <%=user[\"email\"]%>\nUser created: <%=user[\"created_at\"]%>\nEO\n";
- ACCOUNT_DETAILS =
"\nOrganization: <%=acct[\"account\"]%>\n\n Role: <%=acct[\"account_role\"]%>\n Owner: <%=acct[\"account_owner\"]%>\n Plan: <%=acct[\"plan\"]%>\n<% if acct[\"trial_remaining\"] && acct[\"trial_remaining\"] > 0 %> Trial Period Remaining: <%=acct[\"trial_remaining\"]%> days<% end %>\n<% if acct[\"account_url\"] %> Organization Management URL: <%=acct[\"account_url\"]%><% end %>\n<% if acct[\"heroku\"] %> Heroku Account Linked: <%=acct[\"heroku_activation_done\"]%><% end %>\n<% if acct[\"third_party_pubkey\"] %>\n >>> Authorize the following SSH public key to allow Solano CI's test workers to\n install gems from private git repos or communicate via SSH to your servers:\n\n <%= acct[\"third_party_pubkey\"] %>\n\n<%end%>\nEO\n";
- USER_THIRD_PARTY_KEY_DETAILS =
"<% if user[\"third_party_pubkey\"] %>\n>>> Authorize the following SSH public key to allow Solano CI's test workers to\ninstall gems from private git repos or communicate via SSH to your servers:\n\n <%= user[\"third_party_pubkey\"] %>\n<%end%>\nEO\n";
- SUITE_DETAILS =
" Organization: <%=suite[\"account\"]%>\n Repo: <%=suite[\"repo_url\"]%>\n Scm: <%=suite[\"scm\"]%>\n Branch: <%=suite[\"branch\"]%>\n Default Test Pattern: <%=suite[\"test_pattern\"]%>\n Ruby Version: <%=suite[\"ruby_version\"]%>\n Rubygems Version: <%=suite[\"rubygems_version\"]%>\n Bundler Version: <%=suite[\"bundler_version\"]%>\n<% if suite[\"ci_enabled\"] %>\nSolano CI is enabled with the following parameters:\n\n Pull URL: <%=suite[\"ci_pull_url\"]%>\n\nNotifications:\n\n<%=suite[\"ci_notifications\"]%>\n\n<% if suite[\"ci_pull_url\"] =~ /^[email protected]:(.*).git$/ %>\n>>> Solano CI will pull from your Github repository.\n\n Visit https://github.com/<%= $1 %>/admin/keys\n then click \"Add another deploy key\" and copy and paste this key:\n\n <%=suite[\"ci_ssh_pubkey\"]%>\n<% else %>\n>>> Authorize the following SSH key to let Solano CI's pulls and pushes through:\n\n<%=suite[\"ci_ssh_pubkey\"]%>\n<% end %><% if suite[\"ci_push_url\"] =~ /^[email protected]:(.*).git$/ %>\n>>> Solano CI will push to your Heroku application <%= $1 %>.\n To authorize the key, use the following command:\n\n heroku keys:add <%= tddium_deploy_key_file_name %> --app <%= $1 %>\n<% end %><% if suite[\"ci_pull_url\"] =~ /^[email protected]:(.*).git$/ %>\n>>> Configure Github to notify Solano CI of your commits with a post-receive hook.\n\n Visit https://github.com/<%= $1 %>/admin/hooks#generic_minibucket\n then add the following URL and click \"Update Settings\":\n <%=suite[\"hook_uri\"]%>\n<% else %>\n>>> In order for Solano CI to know that your repo has changed, you'll need to\n configure a post-commit hook in your Git server.\n\n In Unix-based Git repositories, find the repository root and look for\n a shell script in `.git/hooks/post-commit`.\n\n To trigger CI builds, POST to the following URL from a post-commit hook:\n <%=suite[\"hook_uri\"]%>\n<% end %>\n\n>>> See http://docs.solanolabs.com/ for more information on Solano CI.\n>>> You can enable Campfire and HipChat notifications from your Solano CI Dashboard.\n<% end %>\n>>> Run 'tddium suite --edit' to edit these settings.\n>>> Run 'tddium spec' to run tests in this suite.\nEO\n";
- ACCOUNT_MEMBERS =
"Authorized users:"- KEYS_DETAILS =
"\nYou have authorized the following SSH public keys to communicate with Solano CI:\n\n Name Fingerprint\n ------------------ ------------------------------------------------------------\n"- CONFIG_DETAILS =
"The following environment variables are set for this %s:\n\n"- SESSION_STATUS =
"\nSession Details:\n\n Commit: %s (%s)\n Status: %s\n Finished: %s\n\n"