mento-protocol / governance-watchdog

A system that monitors Mento Governance events on-chain and sends notifications about them to Discord and Telegram
0 stars 0 forks source link

Migrate to same setup as Oracle Relayer #18

Closed chapati23 closed 2 months ago

chapati23 commented 2 months ago

Description

This project was originally based on the Terraform GCP Bootstrap Module, which is intended to bootstrap an entire GCP organization for use with Terraform.

We have since extracted the bootstrap setup into a separate Mento Terraform GCP Seed Project as the "parent" project for all other GCP projects.

This PR migrates this repo to be just another "child" project using the same setup as the Oracle Relayer Repo along with copying some other tooling improvements made to the relayer repo.

How to review

  1. Check that you can still deploy the full project via terraform apply without any permission issues (now using service account impersonation instead of your own user credentials)
  2. Check that you can still deploy the function via npm run deploy:function (now using service account impersonation)
  3. Check that npm run logs and npm run logs:url still works for you
  4. Check the code