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 =
<<EOF; Username: <%=user["email"]%> User created: <%=user["created_at"]%> EO
- ACCOUNT_DETAILS =
<<EOF; Organization: <%=acct["account"]%> Role: <%=acct["account_role"]%> Owner: <%=acct["account_owner"]%> Plan: <%=acct["plan"]%> <% if acct["trial_remaining"] && acct["trial_remaining"] > 0 %> Trial Period Remaining: <%=acct["trial_remaining"]%> days<% end %> <% if acct["account_url"] %> Organization Management URL: <%=acct["account_url"]%><% end %> <% if acct["heroku"] %> Heroku Account Linked: <%=acct["heroku_activation_done"]%><% end %> <% if acct["third_party_pubkey"] %> >>> Authorize the following SSH public key to allow Solano CI's test workers to install gems from private git repos or communicate via SSH to your servers: <%= acct["third_party_pubkey"] %> <%end%> EO
- USER_THIRD_PARTY_KEY_DETAILS =
<<EOF; <% if user["third_party_pubkey"] %> >>> Authorize the following SSH public key to allow Solano CI's test workers to install gems from private git repos or communicate via SSH to your servers: <%= user["third_party_pubkey"] %> <%end%> EO
- SUITE_DETAILS =
<<EOF; Organization: <%=suite["account"]%> Repo: <%=suite["repo_url"]%> Scm: <%=suite["scm"]%> Branch: <%=suite["branch"]%> Default Test Pattern: <%=suite["test_pattern"]%> Ruby Version: <%=suite["ruby_version"]%> Rubygems Version: <%=suite["rubygems_version"]%> Bundler Version: <%=suite["bundler_version"]%> <% if suite["ci_enabled"] %> Solano CI is enabled with the following parameters: Pull URL: <%=suite["ci_pull_url"]%> Notifications: <%=suite["ci_notifications"]%> <% if suite["ci_pull_url"] =~ /^[email protected]:(.*).git$/ %> >>> Solano CI will pull from your Github repository. Visit https://github.com/<%= $1 %>/admin/keys then click "Add another deploy key" and copy and paste this key: <%=suite["ci_ssh_pubkey"]%> <% else %> >>> Authorize the following SSH key to let Solano CI's pulls and pushes through: <%=suite["ci_ssh_pubkey"]%> <% end %><% if suite["ci_push_url"] =~ /^[email protected]:(.*).git$/ %> >>> Solano CI will push to your Heroku application <%= $1 %>. To authorize the key, use the following command: heroku keys:add <%= tddium_deploy_key_file_name %> --app <%= $1 %> <% end %><% if suite["ci_pull_url"] =~ /^[email protected]:(.*).git$/ %> >>> Configure Github to notify Solano CI of your commits with a post-receive hook. Visit https://github.com/<%= $1 %>/admin/hooks#generic_minibucket then add the following URL and click "Update Settings": <%=suite["hook_uri"]%> <% else %> >>> In order for Solano CI to know that your repo has changed, you'll need to configure a post-commit hook in your Git server. In Unix-based Git repositories, find the repository root and look for a shell script in `.git/hooks/post-commit`. To trigger CI builds, POST to the following URL from a post-commit hook: <%=suite["hook_uri"]%> <% end %> >>> See http://docs.solanolabs.com/ for more information on Solano CI. >>> You can enable Campfire and HipChat notifications from your Solano CI Dashboard. <% end %> >>> Run 'tddium suite --edit' to edit these settings. >>> Run 'tddium spec' to run tests in this suite. EO
- ACCOUNT_MEMBERS =
"Authorized users:"
- KEYS_DETAILS =
<<EOF You have authorized the following SSH public keys to communicate with Solano CI: Name Fingerprint ------------------ ------------------------------------------------------------ EOF
- CONFIG_DETAILS =
<<EOF The following environment variables are set for this %s: EOF
- SESSION_STATUS =
<<EOF Session Details: Commit: %s (%s) Status: %s Finished: %s EOF