-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4aa18f0
commit 460c724
Showing
19 changed files
with
41 additions
and
340 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,15 @@ | ||
# ATL Version (cypress only) ENV Vars | ||
default[:cypress][:cypress_env_vars] = | ||
default[:ecqmEngine][:ecqmEngine_env_vars] = | ||
{ | ||
"AUTO_APPROVE" => "false", | ||
"IGNORE_ROLES" => "false", | ||
"ENABLE_DEBUG_FEATURES" => "false", | ||
"DEFAULT_ROLE" => "", | ||
} | ||
default[:cypress][:cypress_internal_port] = 8000 | ||
# this is the path which Cypress will install itself to, this is not the | ||
# place to configure it however! The Cypress package specifies itself | ||
# where it will install to, so you will need to recompile to package | ||
# to change it. The same applies to the cvu_install_path below. | ||
default[:cypress][:cypress_install_path] = '/opt/cypress' | ||
default[:cypress][:cvu_install_path] = '/opt/cypress-validation-utility' | ||
default[:cypress][:js_ecqm_install_path] = '/opt/js-ecqm-engine' | ||
default[:cypress][:cypress_repository] = 'https://dl.packager.io/srv/deb/projectcypress/cypress/cypress_v4/ubuntu' | ||
default[:cypress][:cvu_repository] = 'https://dl.packager.io/srv/deb/projectcypress/cypress-validation-utility/cvu_v4/ubuntu' | ||
default[:cypress][:js_ecqm_repository] = 'https://dl.packager.io/srv/deb/projectcypress/js-ecqm-engine/release/ubuntu' | ||
default[:cypress][:cypress_repository_key] = 'https://dl.packager.io/srv/projectcypress/cypress/key' | ||
default[:cypress][:cvu_repository_key] = 'https://dl.packager.io/srv/projectcypress/cypress-validation-utility/key' | ||
default[:cypress][:js_ecqm_repository_key] = 'https://dl.packager.io/srv/projectcypress/js-ecqm-engine/key' | ||
# Blank version means latest build, anything else will attempt to install | ||
# a specific version from the repository. | ||
default[:cypress][:cypress_version] = '' | ||
default[:cypress][:cvu_version] = '' | ||
default[:cypress][:js_ecqm_version] = '' | ||
default[:cypress][:cvu_internal_port] = 8001 | ||
default[:cypress][:cvu_external_port] = 8080 | ||
default[:cypress][:generate_secrets_on_restart] = false | ||
|
||
default[:ecqmEngine][:js_ecqm_install_path] = '/opt/js-ecqm-engine' | ||
default[:ecqmEngine][:js_ecqm_repository] = 'https://dl.packager.io/srv/deb/giriraj0209/js-ecqm-engine/master/ubuntu' | ||
default[:ecqmEngine][:js_ecqm_repository_key] = 'https://dl.packager.io/srv/giriraj0209/js-ecqm-engine/key' | ||
default[:ecqmEngine][:js_ecqm_version] = '' | ||
|
||
force_default['erlang']['install_method'] = "esl" | ||
force_default['erlang']['esl']['version'] = "1:20.3.6" |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"run_list": [ "recipe[apt]", "recipe[ecqmEngine::install_ecqmEngine]" ] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name 'cypress' | ||
maintainer 'MITRE' | ||
maintainer_email '[email protected]' | ||
name 'ecqmEngine' | ||
maintainer 'OSEHRA' | ||
maintainer_email '' | ||
license 'All rights reserved' | ||
description 'Installs/Configures Cypress' | ||
description 'Installs/Configures Js-ecqm-engine' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '2.0.0' | ||
depends "apt", "~> 6.1" | ||
|
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
include_recipe 'rabbitmq' | ||
|
||
ecqmEngine_install_app 'js-ecqm-engine' do | ||
application_path node[:ecqmEngine][:js_ecqm_install_path] | ||
application_version node[:ecqmEngine][:js_ecqm_version] | ||
repository node[:ecqmEngine][:js_ecqm_repository] | ||
repository_key node[:ecqmEngine][:js_ecqm_repository_key] | ||
end | ||
|
||
# This is necessary due to https://github.com/rabbitmq/chef-cookbook/commit/c7a37ccfcfe2444d0ff8f567c33da0be055357f8 | ||
package 'esl-erlang' do | ||
action :lock | ||
version node['erlang']['esl']['version'] | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
default_action :create | ||
|
||
attribute :name, :kind_of => String | ||
attribute :unicorn_port, :kind_of => Integer, :default => 8000 | ||
attribute :repository, :kind_of => String | ||
attribute :repository_key, :kind_of => String | ||
attribute :application_path, :kind_of => String | ||
attribute :application_version, :kind_of => String | ||
# Set app to run with 1 frontend unicorn worker. Note that | ||
# any setting inside of config/unicorn.rb in the application is | ||
# still respected to 1 web worker is actually 1 web worker with | ||
# 4 worker processes if worker_processes is set to 4, for example. | ||
attribute :frontend_worker_count, :kind_of => Integer, :default => 1 | ||
attribute :delayed_job_count, :kind_of => Integer, :default => 3 | ||
attribute :env_vars, :kind_of => Hash, :default => {} | ||
attribute :generate_secrets_on_restart, :kind_of => [TrueClass, FalseClass], :default => false |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.