Run node.js database migrations on Google Cloud SQL during Google Cloud Build

后端 未结 5 1719
我寻月下人不归
我寻月下人不归 2020-12-16 01:45

I would like to run database migrations written in node.js during the Cloud Build process.

Currently, the database migration command is being executed but it seems

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 02:19

    Cloud Build runs using a service account and it looks like you need to grant access to Cloud SQL for this account. You can find additional info about setting service account permissions here.

提交回复
热议问题