Page tree
Skip to end of metadata
Go to start of metadata
  1. Use an existing daily build as a template:

    for example:

    https://jenkins.ihtsdotools.org/view/daily_builds_termserver/job/termServer_daily_build_prod/

    change the command from :

    {"productName":"SNOMED CT TS Release","effective-date":"20170131", "exportType":"UNPUBLISHED","branchPath":"MAIN"}

    to

    '{"productName":"SNOMED CT DK Daily Build","effective-date":"20170131", "exportType":"UNPUBLISHED","branchPath":"MAIN/2016-07-31/SNOMEDCT-DK","releaseCenter":"dk"}'

     

    "effective-date": Can stick wuth 20170131 for now as future date 
    "branchPath": = MAIN/2016-07-31/SNOMEDCT-SE & MAIN/2016-07-31/SNOMEDCT-DK

  2. productName needs to be set up in SRS for example:

    Product name:
    SNOMED CT DK Daily Build
    product_key="snomed_ct_dk_daily_build"

    Product name:
    SNOMED CT SE Daily Build
    product_key="snomed_ct_se_daily_build"

    Release Center:

    "releaseCenter":"dk"

  3. Make sure the target zip file is unzipped in the relevant s3 folder. e.g. if you are looking to use /ire.published.release.ihtsdo/dk/SnomedCT_ManagedServiceDK_Production_DK1000005_20160215.zip 
    then there is a matching unzipped folder /ire.published.release.ihtsdo/dk/SnomedCT_ManagedServiceDK_Production_DK1000005_20160215
  4. Get the dailybuild configs from : https://git.ihtsdotools.org/ihtsdo/dailybuildconfigs
    You will have to add a new one if the extension does not already exist there. if it does simply edit.

  5. Now create the product in SRS by :

    Editing api_client.sh to set the api= url e.g. api=http://localhost:8080/api/v1 (if looking to run on the same instance)

    Editing run.sh with a variety of specific information (effective dates etc.etc. )

    I then commit and push locally and then ssh onto the relevant instance and then

    Clone the repo on the instance e.g.:

    git clone https://git.ihtsdotools.org/ihtsdo/dailybuildconfigs.git

    cd to the relevant dir and run the run.sh


     

      

  • No labels