bcgov / cas-ciip-portal

The Climate Action Secretariat's CleanBC Industrial Incentive Program application
https://ciip.gov.bc.ca/
Apache License 2.0
10 stars 2 forks source link

add_enum_comparison_operators should run before the deploy in prod-test-restore #2152

Open dleard opened 1 year ago

dleard commented 1 year ago

This function drops and recreates operators to make comparisons between enums and strings. It is run after our restore job, but some migrations may end up relying on the dropped operators. We should run this function independently before the deploy to ensure the operators exist in test before deploying data so we can catch any errors before getting to prod.

pbastia commented 1 year ago

This is probably true for everything in thedeployProdData() target of the deploy-data.sh

pbastia commented 1 year ago

Can be done with a helm job