Overview

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

On this page

Estimated time: 2 minutes

This guide takes you from local setup to a multi-stage delivery flow.

Use this guide to prove the workflow locally before connecting a customer-owned Nomad environment.

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 walkthrough starts with a simple NOMAD job and one app environment for the first deployment, then expands into a TEMPLATE job with multiple app environments, approval rules, variables, and promotion between environments.

You will:

  1. Copy the template repository into your own GitHub user or organization.
  2. Start a local Nomad dev agent.
  3. Sign up for ngrok and copy your auth token.
  4. Start Nomatron from the installed binary in dev mode with the ngrok token.
  5. Open the Nomatron UI and sign in with the default root login.
  6. Create an organization.
  7. Create and install a GitHub App.
  8. Create an app and job in Nomatron.
  9. Add the first app environment.
  10. Add an app approval policy.
  11. Start the first deployment from the app stack.
  12. Review the queued plan and approve it.
  13. Watch Nomatron deploy the approved stack and verify it in Nomad.
  14. Add a second app and a TEMPLATE job.
  15. Create multiple app environments.
  16. Add environment-specific approval rules.
  17. Create the variables expected by the template repository.
  18. Push another change and follow it through render, plan, approval, and deployment.
  19. Promote that change to another environment.
  20. Review what you built, then clean up the local dev setup and GitHub App.

Completed Workflow