Getting Started

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

Prerequisites

  • Git installed locally
  • Docker installed and running locally
  • Nomad installed locally
  • a GitHub account with permission to create a GitHub App
  • a GitHub template repository you can copy into your own user or organization
  • an ngrok account so Nomatron can expose a local dev callback URL

This quick start uses a local Nomad dev agent on your machine, so you do not need a separate cluster or ACL token for your first deployment.

The first stage is local setup:

  1. Copy the template repository into your GitHub account or organization.
  2. Start Nomad in dev mode.
  3. Sign up for ngrok and copy your auth token from the dashboard.

Once those tasks are done, start Nomatron from the installed binary in dev mode and open the UI in your browser.

Guide

  1. Overview
  2. Start Nomatron In Dev Mode
  3. Sign In And Create Your First Organization
  4. Connect Your First Cluster
  5. Create A Repository From A Template
  6. Create A GitHub App And Connect It
  7. Create Your First App And Job
  8. Update The Default Approval Policy
  9. Start Your First Deployment
  10. Review And Approve Your First Plan
  11. Deploy And Verify
  12. Create A Second App And Template Job
  13. Add Environments
  14. Add Environment-Specific Approval Rules
  15. Create The Template Variables
  16. Push Another Change And Follow It
  17. Promote To Another Environment
  18. Summary And Clean Up
Overview

Prepare a local Nomad and Nomatron development environment.

Start Nomatron In Dev Mode

Prepare the local dev prerequisites and start Nomatron in supported dev mode with ngrok.

Create Your First Org

Sign In And Create Your First Org

Connect Your First Cluster

Connect your first Nomad cluster to Nomatron.

Confirm Your Template Repository

Confirm the copied template repository details you will connect to Nomatron.

Connect Your First GitHub App

Create a GitHub App and connect it to Nomatron.

Create Your First App and Job

Create your first application and job.

Update The Default Approval Policy

Update the default approval policy for the app

Start Your First Deployment

Start the first deployment from the app stack.

Review And Approve Your First Plan

Review and approve your first plan.

Deploy And Verify

Verify the approved deployment in Nomad.

Create A Second App And Template Job

Extend the walkthrough by creating a second app and a TEMPLATE job.

Add Environments

Create multiple app environments for the TEMPLATE flow.

Add Environment-Specific Approval Rules

Set approval rules that differ by environment.

Create The Template Variables

Add the variables expected by the template repository so Nomatron can render the job correctly.

Push Another Change And Follow It

Make another source change and follow the TEMPLATE job through render, plan, approval, and deployment.

Promote To Another Environment

Promote the TEMPLATE deployment from one environment to the next.

Summary And Clean Up

Review what you built in the getting started guide and clean up the local development setup.