Using Git repositories with Maestro

Overview

Maestro natively supports building container images by pulling code directly from Git repositories. These can be public, private-cloud (e.g. a private Github repo) or self-hosted.

Public repositories

For public Git repositories, you don’t need to add the SSH key provided to your Git account. You simply need to provide the Git URL as either:

http://<git provider>/<username>/<repository>.git

or

git://<git provider>/<username>/<repository>.git

Notice

We do not support the use of HTTPS URLs.

Accessing private repositories

For Maestro to access your private repositories (with read-only access), you first need to add the SSH key provided by Cloud 66 to your Git account. To find this key:

  1. Open your Dashboard
  2. Click on your account avatar (top-right) and select Account Settings
  3. Click on Git Repo SSH Keys in the Settings panel on the left
  4. Copy the Git public SSH Key and add it to your Git repo provider

You can add this SSH key globally to your Git account by adding it to your Account settings, or allow access to a specific repository by adding it to that repository as a Deploy key.

GitHub example

Adding the SSH key globally

To add the SSH key globally:

Adding the SSH key to a specific repository

BitBucket example

Adding the SSH key globally

To add the SSH key globally:

Adding the SSH key to a specific repository

To add the SSH key to a specific repository:

Using Github with Maestro

For a tutorial on how to build code from Github into an application for use with Maestro, please follow our Getting Started guide for Skycap which walks you through the process.

Skycap is the companion product to Maestro. You can read more about it here.