Skip to main content

Deploy tool for the Montagu web app

Project description

montagu-deploy

PyPI - Version PyPI - Python Version


This is the command-line tool for deploying Montagu. It is a Hatch project.

Installation

pip install montagu-deploy

Usage

$ montagu configure <path>
$ montagu start --pull

Here <path> is the path to a directory that contains a configuration file montagu.yml.

Dev requirements

  1. Python3 (>= 3.7)
  2. Hatch

Test and lint

For all integration tests to pass, you will need 2 environment variables:

  1. YOUTRACK_TOKEN - a token for accessing the YT API

  2. VAULT_TOKEN - a github PAT for a user in the vimc robots team.

  3. hatch run test

  4. hatch run lint:fmt

To get coverage reported locally in the console, use hatch run cov. On CI, use hatch run cov-ci to generate an xml report.

Build

hatch build

Install from local sources

  1. hatch build
  2. pip install dist/montagu_deploy-{version}.tar.gz

License

montagu-deploy is distributed under the terms of the MIT license.

Publishing to PyPI

Automatically publish to PyPI. Assuming a version number 0.1.2:

  • Create a release on github
  • Choose a tag -> Create a new tag: v0.1.2
  • Use this version as the description
  • Optionally describe the release
  • Click "Publish release"
  • This triggers the release workflow and the package will be available on PyPI in a few minutes

Settings are configured here on PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

montagu_deploy-0.1.3.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

montagu_deploy-0.1.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file montagu_deploy-0.1.3.tar.gz.

File metadata

  • Download URL: montagu_deploy-0.1.3.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for montagu_deploy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6fd6f1618dd0311ab3ddcec8bed1bab124a9314ee2ae2f15b4f17e846f0a3dca
MD5 c948d9ba0e68bfc64b0e66cf8e9ddfec
BLAKE2b-256 efe487f991cfaa32e398bf5b5879fc2271184c4195369aa1375f764652739164

See more details on using hashes here.

Provenance

The following attestation bundles were made for montagu_deploy-0.1.3.tar.gz:

Publisher: deploy-release.yml on vimc/montagu-system

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file montagu_deploy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: montagu_deploy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for montagu_deploy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f4c96c4441adaac2743bbf0192bcf773322555ba8cc2c49f1ee9d6f723aba3c
MD5 59f60d64841ae76a3ab5e0706c7d8b5a
BLAKE2b-256 cd5081be77ad0ce83aa317505d79fea6560aa89c5ec8039617c577f81d2b1e0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for montagu_deploy-0.1.3-py3-none-any.whl:

Publisher: deploy-release.yml on vimc/montagu-system

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page