Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.68 KB

File metadata and controls

14 lines (11 loc) · 1.68 KB

Deis Builder

Build Status

This repository holds the Deis Builder. Builder runs a git server to respond to git pushes from clients. When it receives a push, it takes the following high level steps:

  1. Accepts the code and writes to the local file system
  2. Calls git archive to produce a tarball (i.e. a .tar.gz file) on the local file system
  3. Saves the tarball according to the following rules:
  • If the DEIS_MINIO_SERVICE_HOST and DEIS_MINIO_SERVICE_PORT environment variables exist, uses the mc client to save to the Minio server at http://$DEIS_MINIO_SERVICE_HOST:$DEIS_MINIO_SERVICE_HOST
  • Otherwise, if the DEIS_OUTSIDE_STORAGE_HOST and DEIS_OUTSIDE_STORAGE_PORT environment variables exist, uses the mc client to save to S3 server (or server that adheres to the S3 API) at https://$DEIS_OUTSIDE_STORAGE_HOST:$DEIS_OUTSIDE_STORAGE_PORT (this functionality is currently waiting for merge at deis/builder#21).
  1. Starts a builder pod according to these rules:
  • If a Dockerfile is present, starts a dockerbuilder pod, configured to download the code to build from the URL computed in the previous step (dockerbuilder and Dockerfile builder are not currently supported. See deis/dockerbuilder#1 for prototype dockerbuilder code).
  • Otherwise, starts a slugbuilder pod, configured to download the code to build from the URL computed in the previous step.