Deploy tool for the Montagu web app
Project description
montagu-deploy
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
Test and lint
For all integration tests to pass, you will need 2 environment variables:
-
YOUTRACK_TOKEN- a token for accessing the YT API -
VAULT_TOKEN- a github PAT for a user in the vimc robots team. -
hatch run test -
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
hatch buildpip 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file montagu_deploy-0.1.0.tar.gz.
File metadata
- Download URL: montagu_deploy-0.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e3a67364e7807ce51e3445f68d47135de40e5386fd05557bcc02c2f44563475
|
|
| MD5 |
31ffbcf5c7fe595a84d68141a30292a2
|
|
| BLAKE2b-256 |
bd2a4ef67bbe4d8ef90f7c0d731ccbaae4d237ec8e681a99f4b37e7d52df94ac
|
Provenance
The following attestation bundles were made for montagu_deploy-0.1.0.tar.gz:
Publisher:
deploy-release.yml on vimc/montagu-system
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
montagu_deploy-0.1.0.tar.gz -
Subject digest:
3e3a67364e7807ce51e3445f68d47135de40e5386fd05557bcc02c2f44563475 - Sigstore transparency entry: 757649051
- Sigstore integration time:
-
Permalink:
vimc/montagu-system@cc726fb02e659336c69505c569c95609a6ec4f6d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/vimc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-release.yml@cc726fb02e659336c69505c569c95609a6ec4f6d -
Trigger Event:
push
-
Statement type:
File details
Details for the file montagu_deploy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: montagu_deploy-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
574263d42e468a2f8b2ca1820cd2165d9f42ac3744710e279ed2a561b1980a91
|
|
| MD5 |
dfee8b6a2848a4040a7435bbd2b80477
|
|
| BLAKE2b-256 |
03135f2f6c969574f8d26d3ce4d44dae3ac3dd24e3c34edaffa5e2e8e30c0b97
|
Provenance
The following attestation bundles were made for montagu_deploy-0.1.0-py3-none-any.whl:
Publisher:
deploy-release.yml on vimc/montagu-system
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
montagu_deploy-0.1.0-py3-none-any.whl -
Subject digest:
574263d42e468a2f8b2ca1820cd2165d9f42ac3744710e279ed2a561b1980a91 - Sigstore transparency entry: 757649056
- Sigstore integration time:
-
Permalink:
vimc/montagu-system@cc726fb02e659336c69505c569c95609a6ec4f6d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/vimc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-release.yml@cc726fb02e659336c69505c569c95609a6ec4f6d -
Trigger Event:
push
-
Statement type: