Skip to main content

Deployment of new releases

Process to deploy a new release:

  • Create the json files using one of the following options:
  1. yaml templates or- this option needs to use yam2json converter to generate json file
  2. use the json SW/templates/distribution.template.json or product.template.json
  • If it's a product from a new distribution we need to add the distribution first:
    • add-new-distribution using the templates in SW/templates/distribution.template.json
    • Copy the template to json_dir/distributions/distribution-name-version.json
    • add new product to the distribution file json_dir/distributions/distribution-name-version.json products array
      (example of a json product item to add to the products array)
        { "name" : "emi.apel", "display" : "APEL publisher",   "version" : "3.2.7", "apicallback" : "/static/SW/APEL publisher3.2.7.json",   "target" :   [   {   "platform" : "sl5",   "arch" : "x86_64",   "repositoryURL" : "sw/production/umd/1/sl5/x86_64/base"   }   ]   }
      
  • If it's a product from an existing distribution we need to:
    • add "productname.json" full data to the distribution file
      • products/distribution-name/distribution-version/
    • add product to the catalog
      • json_dir/software-catalog.json
    • Finally add product.json to the respective directory
      • json_dir/products/distribution-name/distribution-version/