Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. log in to: http://sagebionetworks.artifactoryonline.com/
  2. Go to the Artifacts tab
      Go
      1. For a snapshot build go to: libs-snapshots-local > org > sagebionetworks > [project] > [version]- SNAPSHOT > [project]-[version]-SNAPSHOT.war
      2. For a released version go to: libs-releases-local > org > sagebionetworks > [project] > [version] > [project]-[version].war
    1. Click download
    2. Now log into the AWS console
    3. click on the "Elastic Beanstalk" tab
    4. Select the 'stack' (Synapse or Synapse-Staging)  Note that you will have to upload the .war file into each stack, or what Beanstalk calls an "Application"
    5. From here, you can either just upload the wars as new versions without deploying if you are going to build new environments, or upload and deploy in one step if your environments already exist.
    6. A number of "Environments" will be listed.  Click on "Environment Details" for the environment of interest.
    7. Click on "Deploy a different version."
    8. Click the radio button "Upload and deploy a new version"
    9. To name label the .warversion, follow the naming convention given here: http://sagebionetworks.jira.com/wiki/display/PLFM/Branching+and+Tagging
    10. Upload the .war file that you downloaded from Artifactory.
    11. Your new .war file will now be deployed to Elastic Beanstalk.

    ...

    Code Block
    cd /work/platform/DatasetMetadataLoader
    ./clinicalVariableDescriptionsLoader.py -e https://repo-staging.sagebase.org/repo/v1 -a https://auth-staging.sagebase.org/auth/v1 \
    --user <platform_admin_email> --password <platform_admin_pw> \
    --layerId 3965 --descriptionFile /work/platform/source/sanger_cell_lines/phenotype/description.txt 
    

    For all datasets it reads from AllDatasetLayers.csv:

    ...