docker/pool/builder/lib/builder.rb
def create_repository_config(repository_conf,
                          work_dir,
                          app_repo_dir_name)
      repository_url = Config.read_repository_url(repository_conf)
      name = repository_url.split("/").last.split(".git").first
      return {
        :url => repository_url,
        :name => name,
        :path => "#{work_dir}/#{app_repo_dir_name}",
        :container_prefix => container_prefix(name),
      }.freeze
    end
# Create objects which has infomation of app
#
# [repository_conf]
#   repository_conf file which has repository's URL
# [work_dir]
#   Path of working directory
# [app_repo_dir_name]
#   The name of directory of application repository; This should be fixed
#   value as pool only supports one application and it fetches changes
#   inside repository directory.
Create objects which has infomation of app
[repository_conf]
repository_conf file which has repository's URL
[work_dir]
Path of working directory
[app_repo_dir_name]
The name of directory of application repository; This should be fixed
value as pool only supports one application and it fetches changes
inside repository directory.
Create objects which has infomation of app [ repository_conf ] repository_conf file which has repository ' s URL [ work_dir ] Path of working directory [ app_repo_dir_name ] The name of directory of application repository ; This should be fixed value as pool only supports one application and it fetches changes inside repository directory .
def create_repository_config(repository_conf,
                          work_dir,
                          app_repo_dir_name)
      repository_url = Config.read_repository_url(repository_conf)
      name = repository_url.split("/").last.split(".git").first
      return {
        :url => repository_url,
        :name => name,
        :path => "#{work_dir}/#{app_repo_dir_name}",
        :container_prefix => container_prefix(name),
      }.freeze
    end
def create_repository_config ( repository_conf , work_dir , app_repo_dir_name ) repository_url = Config . read_repository_url ( repository_conf ) name = repository_url . split ( "/" ) . last . split ( ".git" ) . first return { :url => repository_url , :name => name , :path => "#{work_dir}/#{app_repo_dir_name}" , :container_prefix => container_prefix ( name ) , } . freeze end
Create objects which has infomation of app
[repository_conf]
repository_conf file which has repository's URL
[work_dir]
Path of working directory
[app_repo_dir_name]
The name of directory of application repository; This should be fixed
value as pool only supports one application and it fetches changes
inside repository directory.
Create objects which has infomation of app [ repository_conf ] repository_conf file which has repository ' s URL [ work_dir ] Path of working directory [ app_repo_dir_name ] The name of directory of application repository ; This should be fixed value as pool only supports one application and it fetches changes inside repository directory .
repository_conf
work_dir
app_repo_dir_name