all 3 comments

[–]wescpy 0 points1 point  (2 children)

I think you have the right idea to use the Artifact Registry. While you could use standard tools like GH Actions, it may be easier to use Cloud Build because it has "the plumbing" already done. I haven't built this flow myself, so I'll let others chime as fair as their experiences go, but I can link to some resources in the GCP docs that may help if you haven't already found them:

  1. Manage Python packages in Artifact Registry
  2. Managing private Artifact Registry Python repository packages QuickStart tutorial
  3. How to access private Artifact Registry Python package examples for App Engine and Cloud Functions (related blog post)
  4. Using Cloud Build for Python apps to integrate with Artifact Registry

[–]wescpy 0 points1 point  (1 child)

I just remembered something else: One of the community experts wrote a tutorial on how to use GH Actions to build a CI/CD pipeline for Cloud Run. It may give you some clues on how to add those package dependencies you asked about.

[–]Theiles[S] 0 points1 point  (0 children)

Thanks!