Push Another Change And Follow It

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

Estimated time: 6 minutes

With the TEMPLATE job, environments, approval rules, and variables in place, make another change and follow the full path again.

This time, pay attention to how the run is affected by:

  • the selected environment;
  • the configured variables; and
  • the environment-specific approval rules.

1. Make A Change In The Repository

Choose a small but visible change.

Good examples:

  • change an image tag;
  • update a hostname;
  • change a count value; or
  • modify a template default that should appear in the rendered jobspec.

2. Commit And Push

bash
git add .
git commit -m "Exercise template job flow"
git push origin main

If you work on a feature branch instead, merge that branch into the ref your Nomatron app watches or update the app ref before expecting the webhook flow to run.

3. Watch Nomatron React

In the Nomatron UI, open the web-template job and follow the new run.

You want to see:

  • the run appear;
  • the template render succeed;
  • approval become required for the target environment; and
  • the deployment move forward once approved.

4. Inspect The Rendered Output

If the UI exposes rendered jobspec or plan detail, review it carefully.

This is where the TEMPLATE flow becomes more powerful than the simple NOMAD example:

  • you can see how variables were resolved;
  • you can confirm the right environment values were used; and
  • you can validate that the rendered result matches what you intended.