Quickstart

Immedately get started with a quick tutorial for installation and configuration of Dispatch.

Prerequisites

Before you begin using Dispatch, you should set up your local environment with the following tools:

  • git commands. Many CI/CD and GitOps use cases require Git. If you do not already have it installed, see the directions here.

If you want to get started using GitHub, DockerHub, and the default Dispatch configuration you can follow any of the following quickstart guides:

Alternatively, follow these five steps to set up your CI/CD pipeline using Dispatch on D2iQ Konvoy.

  1. Install the Dispatch CLI.

    Note that unless otherwise specified, the Dispatch CLI commands create repositories, secrets, pipelines and tasks in the default namespace. For production installations, we suggest you create a new namespace dedicated to your CI workloads, for example, dispatch-work or dispatch-ci. You will then specify that namespace when using the CLI.

    Examples:

    dispatch -n dispatch-ci login docker --service-account=team1
    

    or

    dispatch -n dispatch-work ci repository create
    
  2. Install Dispatch on Kubernetes. Dispatch is built to run on Kubernetes and leverage its native features and services. To install Dispatch onto an existing D2iQ Konvoy cluster, see install Dispatch.

  3. Set Up Continuous Integration (CI). To build and test your Continuous Integration (CI), you can leverage one of multiple declarative languages to rapidly create and execute the pipeline. To set up CI for your project, follow the repository configuration instructions.

  4. Build Your Pipeline. Configuring your CI pipeline using CUE, Starlark, JSON or YAML greatly simplifies pipeline configuration and increases its abilities. The simplest way to do this is to prepare a Dispatchfile. For a reference on creating a Dispatchfile, see the pipeline configuration reference.

  5. Configure Continuous Deployment (CD). Dispatch lets you automatically detect changes to how the application should be deployed or automatically resolve deployment issues. To configure continuous deployment for your project, follow the deployment instructions