Skip to content

Dockerized project using Django REST APIs with ReactJS/Redux, showcase google cloud build

Notifications You must be signed in to change notification settings

lgylym/cloudbuild_playground

 
 

Repository files navigation

Use google cloud build for a django-react project

I use this example project to try out google cloud build (with docker-compose). A few tweaks are made to make it run again.

It creates a pipeline in cloud build to build images, run the services, and run a simple integration test.

The main juice is cloudbuild.compose.yaml, which is borrowed from here.

Steps:

  1. Setup your gcloud
  2. Install docker-compose into your project's registry
git clone https://github.com/GoogleCloudPlatform/cloud-builders-community.git
cd docker-compose
gcloud builds submit --config=cloudbuild.yaml .
  1. Use the following command to manually trigger a build:
gcloud builds submit --config=cloudbuild.compose.yaml .

You can certainly connect the github repo with cloud build as a trigger.

Todos:

Troubleshooting

  • Google provides tool for local debugging.

About

Dockerized project using Django REST APIs with ReactJS/Redux, showcase google cloud build

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 39.2%
  • JavaScript 30.7%
  • Shell 14.3%
  • HTML 7.4%
  • Dockerfile 6.1%
  • Makefile 2.3%