nmdp-bioinformatics / gfe-db

Graph database representing IPD-IMGT/HLA sequence data as GFE
https://gfe-db.readthedocs.io
GNU General Public License v3.0
9 stars 15 forks source link

Upgrade the pipeline trigger logic to run on updates to previously processed release branches #82

Open chrisammon3000 opened 1 year ago

chrisammon3000 commented 1 year ago

Description

The gfe-db update pipeline (AWS Lambda) checks the IMGT repository once a day and triggers a build if a new release has been added. However if additional changes are made to that release they are not picked up. The solution would be to upgrade the logic so that the pipeline also runs when a release branch is updated.

Proposed Solution

In addition to checking for new release branches, the Lambda function should also check for recent commits that include changes to relevant files on the current release branch and rebuild the data so that gfe-db reflects the most current changes. The logic would look something like this:

chrisammon3000 commented 6 months ago

This feature branch needs to be merged with new commits in the main branch before the pull request can be merged.