Summary And Clean Up

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

Estimated time: 5 minutes

You have now moved beyond a single deployment and exercised a more complete Nomatron workflow.

What You Built

By the end of this guide, you should have:

  • copied a template repository;
  • started Nomad in dev mode;
  • started Nomatron in dev mode with ngrok;
  • created an organization;
  • connected a Nomad cluster;
  • created and installed a GitHub App;
  • deployed a first NOMAD job;
  • created a second app with a TEMPLATE job;
  • added app environments;
  • added environment-specific approval rules;
  • created the variables expected by the template; and
  • promoted a change from one environment to another.

Clean Up The Local Walkthrough

If you are done with the walkthrough, clean up the temporary resources.

1. Stop The Processes

Stop:

  • nomatron server --dev ...
  • nomad agent -dev

2. Remove The GitHub App

In GitHub:

  1. Open the GitHub App you created for the walkthrough.
  2. Uninstall it from the repository or owner.
  3. Delete the app if you no longer need it.

3. Remove Local Test Repositories

If the copied template repository was only for the walkthrough, archive or delete it when you no longer need it.

4. Revoke Temporary ngrok Usage

If the ngrok account or token was only for this walkthrough, revoke the token or remove it from your shell profile.

5. Clean Up In Nomatron

If live Nomad jobs were deployed during the walkthrough, create and apply destroy plans first so runtime jobs are stopped and purged without deleting Nomatron configuration:

bash
nomatron app-jobs destroy --organization <org> --app <app> --job <job> --yes

Then, if you want a clean local slate, remove the temporary:

  • organization;
  • apps;
  • jobs;
  • variables;
  • environments; and
  • integrations

from the Nomatron UI before discarding the dev setup.

Where To Go Next

Once you are comfortable with the local flow, the next useful docs are usually: