DraMS DevOps

DraMS developer operations handbook

Deploy updates to XINA

In order for the DraMS XINA instance to function as expected, developers need to deploy various updates to XINA to keep it in sync.

DraMS XINA has the following Git repo dependencies:

These repositories are not directly cloned on XINA. Instead, snapshots of the repositories are updated to AWS S3. Each repo has a "upload_s3.sh" script that can be used to upload the repo to the proper location. Usage requires confguring your aws ssm credentials.

The following scenarios require new versions to be uploaded to S3 and then deployed to drams.xina.io. Deploymeny to drams.xina.io is performed using the AWS SSM deploy script.

Steps:

  1. In Ubuntu VM, build newest gsw-cpp version.
  2. Build appimage of struct_extract.
./scripts/makestructextract.sh
  1. Add to dramsgse repo.
  2. source labcode/699util/devenv.sh
  3. In gsw-cpp, cd c699util, ./copy_into_699util.py. Commit to 699util repo.
  4. Perform same process on Mac.
  5. Tag version of 699util.
  6. upload_s3.sh
  7. In dramsgse, upload_s3.sh.
  8. Generate XINA Mnem Defs from dramsgse/tmdef tmdbs.
  9. Import into XINA.
  10. Deploy changes to drams.xina.io using DeployStructGse.

Setup DraMS Model on mine699