The software-factory sfconfig

Clone this repo:
  1. 15c6c42 zuul/nodepool: bump to the latest version by Tristan Cacqueray · 8 months ago master
  2. c43ee6e gerrit: bump to 3.7.4 by Tristan Cacqueray · 8 months ago
  3. 48f60f3 gerrit: bump to 3.6.6 by Tristan Cacqueray · 8 months ago
  4. 237b53a zuul/nodepool: use the multiline formatter for traceback by Tristan Cacqueray · 8 months ago
  5. d8d15b2 Use zuul_client container bump by Fabien Boucher · 1 year, 3 months ago 3.8.3

SFCONFIG - Software Factory configuration management

Ansible roles components

Each roles can define a meta/sfconfig.py file to create a Component class:

  • argparse() method can expose command line argument, example: see the --zuul-merger parameter

  • prepare() method can validate role requirements and define global vars, example: see the zuul-launcher prepare that automatically adds the logserver role when needed

  • configure() method can be used to generate complex role parameters: ** Call add_mysql_database() to set mysql role vars to create a database ** Call generate_ssh_keys() to create ssh keys ** Convert sfconfig.yaml settings into role variables ** Render convenient variable such as internal_url