Init part of the library

This module builds env. vars used for the whole library, and check them methods are :

  • _get_current_role() : gets role used in fabric
  • build_env : inits all env. vars used by the library
  • check_req_pydiploy_version : checks required version of pydiploy for a specific fabfile
  • init_params : gets required and optional parameters used for config checker
  • tag : gets the tag used to deploy the app
  • test_config : checks configuration in fabfile
pydiploy.prepare.build_env()[source]

Builds env vars

pydiploy.prepare.check_req_pydiploy_version()[source]

Checks pydiploy version required with pydiploy version installed

pydiploy.prepare.generate_fabfile()[source]

Returns current django_fabfile example

pydiploy.prepare.init_params(application_type='default')[source]

Sets required params and its description

pydiploy.prepare.process_releases()[source]

Populates env vars for releases (current, old...)

pydiploy.prepare.tag[source]

Defines tag to deploy

pydiploy.prepare.test_config[source]

Checks fabfile for required params and optional params

Previous topic

pydiploy

Next topic

Initialisation of required & optional parameters for app

This Page