GeoscienceAustralia / dea-notebooks

Repository for Digital Earth Australia Jupyter Notebooks: tools and workflows for geospatial analysis with Open Data Cube and Xarray
https://docs.dea.ga.gov.au/notebooks/
Apache License 2.0
439 stars 127 forks source link

Run Tests in GitHub Actions using the Production DEA ODC Database #1152

Open omad opened 9 months ago

omad commented 9 months ago

Proposed changes

This PR makes use of some AWS infrastructure I've setup to enable GitHub Actions to connect to the Production DEA ODC PostgreSQL database.

This will allow us to run automated tests of all our code and notebooks using real data, without having to maintain an extracted subset, or any other awkward workarounds.

It uses the existing OIDC authentication to AWS to create a temporary network tunnel using Basti.

Still to do

This PR only contains a framework and setup for setting up this connection and running the tests.

Still to do is: