1.6.0
- Install sushi
- Install Node.js (used by scripts)
- Install IG publisher (if using local builds)
Prerequsites: You need to have sushi and the iG publisher installed. see https://mohits.atlassian.net/wiki/spaces/HIP/pages/3178988120/How+to+build+and+deploy+FHIR+Integration+Guides
From a bash shell, run the
build-ig.sh
script from the project root,.. This will create the full-ig.zip file which contains the IG site 'hip-fhir-common\src\main\fsh\output\full-ig.zip'
Log in to AWS as HipCoderRole and run the CodeBuild project hip-nhi-ig-build
Note : Set the codebuild project's environment variable 'BRANCH" to the name of the branch you want to build from (e.g "master")
This should output the build logs and full-ig.zip to the S3 bucket
s3://nz-govt-moh-hip-build/hip-nhi-fhir-ig/nhi/
Note - the buildspec.yaml file mastered in this project is referenced by codebuild from the S3 bucket. If you change it, you need to copy it to the s3 bucket for the changes to take effect:
s3://nz-govt-moh-hip-build/hip-nhi-fhir-ig/buildspec.yml
Check in your changes including the new full-ig.zip to github. Amplify will autobuild on commit
- merge to master
- change version in pom and sushi-config.yaml
- checkin
- create tag
- create branch from tag and push
- change codebuild to point to branch and run