config

Config

Nomad configuration file distribution and archive.

This repository hosts current and past configuration files for Nomad envs. The SDK and other Nomad applications may pull their configuration from here. This repo is intended to be a snapshot of the current state of the Nomad deployments on many chains to ensure that applications have the latest info. It is not intended to provide versioning, although that may come later

Layout

The top-level repository contains json files for production, development, and staging. The archive directory contains past deployment artifacts.

Setup

Follow the steps below to have the sort config script run automatically pre-commit

  1. Set the hooks path to the committed hooks folder
git config core.hooksPath hooks/
  1. Disable the ignored hook warning for the pre-commit hook
git config advice.ignoredHook false

Contributing

This is an informational archive of current and past configuration. It’s not intended to change often, and should change only as part of official Nomad governance actions. To contribute, add all outputs of a deployment process to a new subfolder in archive/, and if necessary, update the top-level configs

Contributing (for Nomad Employees)

Pre-deploy:

We want a precise record of when a config was created and why

Deploying

Deploys should be run from an already-committed config file, present in pending-deploys/. We want to reserve ALL information about the deploy you’re running :)

Post-deploy

We want to be careful about updating the canonical configs. They should be chosen from already-committed deploy outputs.

Distribution

This repository is intended to be published as a github pages site. Current env configs will be made available at static paths in that site. These paths may be safely hardcoded in the Nomad SDK and agents.