NOAA-OWP / wres

Code and scripts for the Water Resources Evaluation Service
Other
2 stars 1 forks source link

Automate as much of the deploy process as possible on github #167

Open epag opened 3 weeks ago

epag commented 3 weeks ago

Author Name: Evan (Evan) Original Redmine Issue: 128586, https://vlab.noaa.gov/redmine/issues/128586 Original Date: 2024-04-05 Original Assignee: Evan


This ticket will come after github is our source of truth

128570 will likely start with a simplistic approach. As a team we have expressed interest in moving as much of the deploy process to be automated on github as possible.

epag commented 3 weeks ago

Original Redmine Comment Author Name: Evan (Evan) Original Date: 2024-05-06T15:02:59Z


Going to add the task of generating the docker images and new composes to this ticket

Related wiki: https://docs.github.com/en/actions/publishing-packages/publishing-docker-images

epag commented 3 weeks ago

Original Redmine Comment Author Name: Evan (Evan) Original Date: 2024-05-08T16:35:10Z


Looks like we can also spin up a postgres database in github and test our liquibase migration code as well and automate that step of the deploy:

https://github.com/liquibase-github-actions/update https://docs.liquibase.com/commands/home.html https://github.com/liquibase/liquibase-github-action-example https://docs.github.com/en/actions/using-containerized-services/creating-postgresql-service-containers

epag commented 3 weeks ago

Original Redmine Comment Author Name: Evan (Evan) Original Date: 2024-06-25T14:21:11Z


Something else we can do here is have the external systems test/full system test start an action on github https://dev.to/rikurouvila/how-to-trigger-a-github-action-with-an-htt-request-545

This way we don't need to use emails to track something.

Haven't found a great way to have a PR wait for the result though