python-docs-samples
python-docs-samples copied to clipboard
fix(run/django): Update to Procfile, Artifact Registry, dedicated service account
Description
Fixes b/364075989, cl/688789319
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
- [ ] I have followed Sample Guidelines from AUTHORING_GUIDE.MD
- [ ] README is updated to include all relevant information
- [x] Tests pass:
nox -s py-3.9(see Test Environment Setup) - [x] Lint pass:
nox -s lint(see Test Environment Setup) - [ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
- [ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
- [ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
- [x] Please merge this PR for me once it is approved
Here is the summary of changes.
You are about to add 2 region tags.
-
run/django/Procfile:4, tag
cloudrun_django_procfile_migrate -
run/django/Procfile:9, tag
cloudrun_django_procfile_superuser
You are about to delete 1 region tag.
-
run/django/mysite/migrations/0001_createsuperuser.py:15, tag
cloudrun_django_superuser
This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:
- [ ] Refresh this comment
Blocked on cl/691542544 to pin region tag that is being deprecated.
I can't seem to re-run snippetbot here :(
Update: Oh there it goes!