Customizing Deployments

Success Responses

Avatar

squashlabs, March 24, 2019

Squash uses any of the HTTP response codes below in order to recognize a success response from the application running in the Docker container: 200 401 300 301 302 When one of these status codes is received, Squash will update its internal routing table and start redirecting the requests to the deployment’s web application.

Read more

The VM Build Process

Avatar

squashlabs, March 24, 2019

When you start a new deployment Squash will perform the following steps in this order below. You may also check this quick intro on how Squash works. Finding a Build plan Squash first searches for a Squash YAML file. If the file is not present then it checks if there is a deployment profile defined

Read more

Docker

Avatar

squashlabs, March 24, 2019

Squash has native & first-class support for Dockerfiles and Docker-compose. Using the Squash Deployment UI The best way to start testing your first deployments is by using the Squash deployment interface, this interface will guide you through a few steps and questions in order to get your deployment up and running. Automatic Docker detection By

Read more

Deployment Environment

Avatar

squashlabs, March 24, 2019

Squash runs your deployments on virtual machines that are commissioned exclusively for you. Each deployment is created from scratch with a clean state. Docker containers Each Squash deployment has at least one Docker container (multiple containers if you are using docker-compose). Even if your application setup is based on a .squash.yml file (no Docker files)

Read more

Deployments API

Avatar

squashlabs, March 10, 2019

See API Authentication before starting with the API calls below. You can start any Squash deployment by using the API calls described in this page. We will list below each API call in detail as well as some API request samples. Start a Deployment URL format: https://api.squash.io/a/deployment/start/?repo=<repository_name>&branch_name=<branch>&expire=<expire_time> HTTP Method: GET Success Response Code: 200 Success

Read more