Sha256: e7e0db10483ecc0e0e51657ad44bd33fa6cb101da2a1d00e7990dce6e9054aaa

Contents?: true

Size: 1.98 KB

Versions: 15

Compression:

Stored size: 1.98 KB

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')

require 'rhoconnect/version'

module Constants
  RC_VERSION      = Rhoconnect::VERSION
  REGION          = 'us-west-1'
  SLEEP           = 60
  HOME_DIR        = `echo ~/`.strip.chomp("/")
  REMOTE_HOME     = '/home/ubuntu'
  PEM_FILE        = 'jenkinskey.pem'
  SSH_KEY         = "#{HOME_DIR}/.ssh/#{PEM_FILE}"
  ACCESS_KEY_FILE = "#{HOME_DIR}/.ec2"
  UBUNTU_STACK    = { :image_id  => 'ami-e0b882a5', # jenkins-ubuntu-14.04-test-image
                      :tags => {'Name' => 'Ubuntu-14.04'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'ubuntu'}
  CENTOS5_STACK   = { :image_id  => 'ami-079b9d42', # jenkins-centos-5.10-test-image
                      :tags => {'Name' => 'CentOS-5.10'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'root'}
  CENTOS6_STACK   = { :image_id  => 'ami-19283b5c', # jenkins-centos-6.6-test-image
                      :tags => {'Name' => 'CentOS-6.6'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'root'}
  STACKS          = [ UBUNTU_STACK, CENTOS5_STACK, CENTOS6_STACK ]
  STACK_SIZE      = STACKS.size
  DEB_DEPS        = [ "build-essential",
                      "zlib1g-dev",
                      "libssl-dev",
                      "libcurl4-openssl-dev",
                      "libreadline5-dev",
                      "libsqlite3-0",
                      "libsqlite3-dev" ]
  RPM_DEPS        = [ "gcc-c++",
                      "zlib-devel",
                      "curl-devel",
                      "pcre-devel",
                      "openssl-devel",
                      "readline-devel" ]
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rhoconnect-7.6.0 installer/utils/constants.rb
rhoconnect-7.5.1 installer/utils/constants.rb
rhoconnect-7.4.1 installer/utils/constants.rb
rhoconnect-7.1.17 installer/utils/constants.rb
rhoconnect-6.2.0 installer/utils/constants.rb
rhoconnect-6.0.11 installer/utils/constants.rb
rhoconnect-5.5.18 installer/utils/constants.rb
rhoconnect-5.5.17 installer/utils/constants.rb
rhoconnect-5.5.15 installer/utils/constants.rb
rhoconnect-5.5.0.22 installer/utils/constants.rb
rhoconnect-5.5.2 installer/utils/constants.rb
rhoconnect-5.5.0.7 installer/utils/constants.rb
rhoconnect-5.5.0.3 installer/utils/constants.rb
rhoconnect-5.5.0 installer/utils/constants.rb
rhoconnect-5.1.1 installer/utils/constants.rb