Skip to main content

# Nomad Deploy

A Python 3 script that renders Jinja template and schedules a new job on Nomad

## Building

Easy! Run:

python setup.py sdist bdist_wheel && twine upload dist/*

You have to be logged in and have the correct access right to nomad-deploy in pip.

## Installing

Even easier:

pip install nomad-deploy

Now nomad-deploy command is available system-wide.

## Running

After installing nomad-deploy with pip, running it is easy

nomad-deploy –varFile variables.yml template.nomad

Available keys: * –var “FOO=BAR” - set variable value, can be specified more than once to set more variables * –varFile “variables.yml” - load variables from a Yaml file * –render - output resulting template to stdout * –dry - do not run the job, only test if resources can be allocated * –recursive - if you’re using variables in the varFile, you can recursively re-render the template until there are no more substitutions you can make; this will break control statements in template file

Release files for nomad-deploy 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nomad-deploy 1.0.1
File Size Uploaded
nomad-deploy-1.0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nomad-deploy 1.0.1
File Interpreter ABI Platform
nomad_deploy-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / nomad-deploy-1.0.1.tar.gz

Download URL nomad-deploy-1.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
59dd3d8db7ab9b61ec883ee4f17bd694322bf2f38fa9df71596060aaba72e603
BLAKE2b-256 checksum
How to use checksums
d638aeb8f0e9a338d15860156096e6bfcc50b368f3f342ed60ff342b5d1d35fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / nomad_deploy-1.0.1-py3-none-any.whl

Download URL nomad_deploy-1.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fb76868377b5b226f8a2c1b136ded4d7d28b5e5a3d335a3b65bc480409e7269
BLAKE2b-256 checksum
How to use checksums
b2368ae1a9c4b6454f654ccd7b73c9358ee3b022bedbd6267321d8c03e82fec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page