Lando Headless API Client
Project description
Lando Headless CLI
The Lando Headless CLI is a command-line tool for interacting with Lando via the automation API.
🐛 Bug Reports
Please file bugs in Bugzilla under Conduit :: Lando
Report issues or request enhancements in #engineering-workflow on Slack or #conduit on Matrix.
🔧 Installation
Install the CLI tool from PyPI, using pip or pipx.
pipx install lando_cli
Confirm the tool is installed locally.
lando --version
🔐 Configuration
The CLI expects a config file at ~/.mozbuild/lando.toml with the following options:
[auth]
api_token = "TOKEN"
user_email = "ldap_user@mozilla.com"
Alternatively, you can supply the values as environment variables:
LANDO_HEADLESS_API_TOKENLANDO_USER_EMAILLANDO_URL(optional, defaults tohttps://lando.moz.tools)
🚀 Usage
Run lando --help for an overview of available commands.
Run lando <COMMAND> --help for help with each command, including examples.
push-commits
Push new commits to a Lando repo.
Create new commits against the specified branch locally. The currently checked out branch will be used for the push, and the upstream branch will be used as the base.
lando push-commits --lando-repo firefox-autoland
With a release branch:
lando push-commits --lando-repo firefox-beta --relbranch FIREFOX_64b_RELBRANCH
push-tag
Push new tags to the specified repository.
lando push-tag --lando-repo firefox-main --tag-name TAG_NAME --tag-sha sha12345
push-merge
Push merge actions to the specified repository.
Running without any options will detect the merge target and commit message
using the current HEAD.
lando push-merge --lando-repo firefox-main
Use --target-commit and --commit-message to create the merge in Lando
without detecting the change in your local repo.
lando push-merge --lando-repo firefox-main --target-commit SHA --commit-message "Merge"
check-job
Check the status of a previously submitted job.
lando check-job 123
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 lando_cli-0.2.0.tar.gz.
File metadata
- Download URL: lando_cli-0.2.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1318a96c3ffca22b95145127853616ddcbedd74ebcad1e844f634346f0d0b67f
|
|
| MD5 |
41621bfac49037875aaf56005b9e6d72
|
|
| BLAKE2b-256 |
0fd24b88f3204a6d41b119e37fb01d337b9d3061efb49f6cc591521316d36c6f
|
Provenance
The following attestation bundles were made for lando_cli-0.2.0.tar.gz:
Publisher:
publish.yml on mozilla-conduit/lando-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lando_cli-0.2.0.tar.gz -
Subject digest:
1318a96c3ffca22b95145127853616ddcbedd74ebcad1e844f634346f0d0b67f - Sigstore transparency entry: 483084169
- Sigstore integration time:
-
Permalink:
mozilla-conduit/lando-cli@ab265d1f827bf9f3b0b7c6c0b7a023ed4d27e0f5 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/mozilla-conduit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ab265d1f827bf9f3b0b7c6c0b7a023ed4d27e0f5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lando_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: lando_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.8 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 |
67fb2ab47fb1d21fb97b68e0063952a6eeb87128501acb4b20f24306ea366a73
|
|
| MD5 |
a1abdc46137c75603d89591de0f51788
|
|
| BLAKE2b-256 |
aff0e90a1118e1dc974ccb05b643d59dc136c26b95960d1d66d9d55d17e23fc9
|
Provenance
The following attestation bundles were made for lando_cli-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on mozilla-conduit/lando-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lando_cli-0.2.0-py3-none-any.whl -
Subject digest:
67fb2ab47fb1d21fb97b68e0063952a6eeb87128501acb4b20f24306ea366a73 - Sigstore transparency entry: 483084180
- Sigstore integration time:
-
Permalink:
mozilla-conduit/lando-cli@ab265d1f827bf9f3b0b7c6c0b7a023ed4d27e0f5 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/mozilla-conduit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ab265d1f827bf9f3b0b7c6c0b7a023ed4d27e0f5 -
Trigger Event:
push
-
Statement type: