Getting started with Skycap
Skycap is a Container Delivery Pipeline. You can use Skycap to automatically turn your source code into container (Docker) images, manage your Kubernetes configuration files and deploy your applications to any Kubernetes cluster.
What you’ll need
Before you start, please check you have the following:
A Cloud 66 Account — If you don't already have one Sign up for a Cloud 66 account. There's a free community plan and you'll get full unlimited access to all products free for 14 days.
A Git Repo containing your application code — This can be a public or private repo. You can use any Git provider like GitHub / BitBucket or use your own privately hosted repo.
Skycap Build Pipelines
Build pipelines are composed of a number of individual services that are used to make up your application. Services can include source code that you need to build into images, or pre-built images. You can mix and match these if required.
Build from Source — Your code should be hosted in a git repo. It should contain a Dockerfile that describes how to build your image. Cloud 66 provides Dockerfile templates for building common web frameworks. You can use these to help get started.
Pre-built Container Images — These can be hosted in any public image repo like Dockerhub or your own private repo.
Lets Get Started
New users should click start trial for the Skycap product. If you're already using Cloud 66 just click New Stack → Skycap (Build containers) button on the dashboard.
Give your App a Name — This will be used to label your application throughout the Cloud 66 dashboard.
Adding Services — You can add as many services as required by clicking the green Add Service link at the bottom of the page.
Specifying the source of your images
The Where is your service Image dropdown provides you with three options to specify the source of your services.
Build Image from a GitHub repo — This is the easiest way to add services if your code is hosted on GitHub. You'll need to link your GitHub account with Cloud 66 before you can take advantage of this. Just click the Lets link with GitHub now link.
Build image from any Git Repo — Use this option if you have a private git repo or you're using another git provider such as BitBucket. You can also use this if you don't want to link Cloud 66 to your GitHub account. You will need to add your Cloud 66 public key if your repo is private. You'll be prompted to do this if it's required.
It's in a Docker image repository — Use this to add pre-built images to a project. You can use a service like DockerHub or your own private image repo. If you're using a private repository you'll be prompted to add the necessary login credentials.
Once you've finished adding your services click the Build button.
Building images with BuildGrid
BuildGrid is the Cloud 66 service that's used to build container images from your source code.
During the build process you can view the status of each individual build. You can also drill down into the logs if you need to troubleshoot any part of the process.
All of the information that defines how services are built is accessible in the service.yml file. Switching to advanced provides full access to this configuration and you can edit the file directly. This gives you great flexibility if you need to setup advanced features.
Service.yml documentation — including advanced configuration examples.
Multi Tenancy — an example of using multiple services to configure multi tenancy Stacks.
Deploying your Containers
Once you've built your images and you're ready to deploy your app, check out Getting started with Maestro.