GoogleCloudPlatform / GoogleCloudPlatform/cloud-code-samples

Enable buildpacks for python django guestbook sample

Open
#393 2 comments 0 reactions 1 assignee Assigned to @j-windsor View on GitHub
lang: python priority: p2 type: feature request
Dominant language
Java
Stars
438
Forks
218
PR merge metrics
No merged PRs in 30d

Description

From cloud-code-vscode-internal created by [j-windsor](https://github.com/j-windsor): GoogleCloudPlatform/cloud-code-vscode-internal#2642

Because of the implementation of the k8s Job waiting to do django migrate, we need to set /bin/sh -c entrypoint in dockerfile so we can specify args: ["python manage.py migrate"] in the migration job and it will run successfully for both buildpacks and docker.

This is currently blocked by https://github.com/GoogleContainerTools/skaffold/issues/4397

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.