Building and Debugging - UP-Manila-SILab/ph-core GitHub Wiki

This Implementation Guide (IG) for UP-Manila-SILab/ph-core is automatically built and published using the FHIR IG Auto-Builder. This system continuously monitors the repository for updates and triggers a new build process upon detecting changes.

For comprehensive details on the auto-builder's functionality and configuration, please refer to the official FHIR/auto-ig-builder repository.

The following sections outline how to access your rendered IG, find build logs, and manually trigger builds within this automated system.

Post-Build Information

Accessing Your Rendered IG

Your rendered Implementation Guide (IG) is available at:

  • Specific branch: https://build.fhir.org/ig/UP-Manila-SILab/ph-core/branches/:branch
  • Default branch: https://build.fhir.org/ig/UP-Manila-SILab/ph-core/

Build Logs & Debugging

Access build logs for debugging:

  • Successful build (specific branch): https://build.fhir.org/ig/UP-Manila-SILab/ph-core/branches/:branch/build.log
  • Successful build (default branch): https://build.fhir.org/ig/UP-Manila-SILab/ph-core/build.log
  • Failed build: https://build.fhir.org/ig/UP-Manila-SILab/ph-core/branches/:branch/failure/build.log

Manually Triggering a Build

While pushing a new commit automatically triggers a build, you can manually re-trigger a build for an existing commit using these methods:

  • Dashboard: Use the IG builder dashboard: https://fhir.github.io/auto-ig-builder
  • GitHub UI (Webhooks):
    1. In your UP-Manila-SILab/ph-core repository, go to Settings > Webhooks.
    2. Click on the ig-commit-trigger webhook.
    3. Under "Recent Deliveries," select the desired delivery.
    4. Click "Redeliver."
  • Programmatic Trigger (API): POST to the Webhook URL, specifying the branch. For example, to trigger the master branch for `UP