This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install autotest | |
gem install autotest-rails-pure | |
gem install autotest-notification | |
apt-get install libnotify-bin |
RVM
Open terminal then run: sudo apt-get install curl
Install RVM with curl -L get.rvm.io | bash -s stable --auto
Reload bash with . ~/.bash_profile
Run:
rvm requirements
should be successful and give you a bunch of text
fleetctl v0.7.1 fleet v0.7.1 deis v0.11.0
- Install the
gcloud
utility by runningcurl https://sdk.cloud.google.com | bash
- Follow the steps.
- If using zsh, edit your
.zshrc
file near the bottom and find the lines that were added by the] gcloud util install. Replacepath.bash.inc
withpath.zsh.inc
, do the same with completion.
- If using zsh, edit your
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cat Gemfile | |
... | |
ruby '2.1.2' | |
... | |
> deis run 'ruby -v' | |
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] | |
> deis run 'rake' | |
/bin/bash: rake: command not found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'aws-sdk' | |
s3 = Aws::S3::Resource.new(region: ENV['AWS_REGION']) | |
rspec_bucket = obj = s3.bucket(ENV['RSPEC_BUCKET']).object("#{ENV['CI_BUILD_NUMBER']}/#{ENV['TEST_GROUP']}") | |
cukes_bucket = obj = s3.bucket(ENV['CUKES_BUCKET']).object("#{ENV['CI_BUILD_NUMBER']}/#{ENV['TEST_GROUP']}") | |
log_files = [ENV['RSPEC_LOG_PATH'], ENV['CUCUMBER_LOG_PATH']] | |
log_files.each do |log_file| | |
bucket = log_file.include?("rspec") ? rspec_bucket : cukes_bucket |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'aws-sdk' | |
s3 = Aws::S3::Resource.new(region: ENV['AWS_REGION']) | |
rspec_bucket = s3.bucket(ENV['RSPEC_BUCKET']) | |
cukes_bucket = s3.bucket(ENV['CUKES_BUCKET']) | |
rspec_objects = rspec_bucket.objects(prefix: ENV['CI_BUILD_NUMBER']) | |
cukes_objects = cukes_bucket.objects(prefix: ENV['CI_BUILD_NUMBER']) | |
test_group_threshold = ENV['TEST_GROUPS'].to_i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": [ | |
{ | |
"component_type": "text", | |
"name": "First Name", | |
"data": {} | |
}, | |
{ | |
"component_type": "text", | |
"name": "Last Name", |
OlderNewer