Skip to main content

Deployment of new releases

Process to deploy a new release:

  • Create the json files using yaml templates or 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 products/distribution-name/distribution-version/
    • add product to the json_dir/software-catalog.json
    • add product.json to json_dir/products/distribution-name/distribution-version/