open-AIMS / ADRIA.jl

ADRIA: Adaptive Dynamic Reef Intervention Algorithms. A multi-criteria decision support platform for informing reef restoration and adaptation interventions.
MIT License
14 stars 5 forks source link

build: prototype CD integration with Provena to update model #808

Closed PeterBaker0 closed 2 months ago

PeterBaker0 commented 2 months ago

Automatically produces a new version and updates the ADRIA model in provena with the GitHub hash etc of this release.

TODO Update these secrets in the repo to target prod ADRIA model in provena

          offline_token: ${{ secrets.PROVENA_PROD_TOKEN }}
          domain: ${{ secrets.PROVENA_PROD_DOMAIN }}
          realm_name: ${{ secrets.PROVENA_PROD_REALM_NAME }}
          item_id: ${{ secrets.PROVENA_PROD_ITEM_ID }}

Tested on DEV and can see updated model here

image

Uses v0.1 release of custom action which integrates with Provena using new Python client here:

https://github.com/provena/version-update-item-action