Code Monkey home page Code Monkey logo

managed-tenants-cli's Introduction

Managed Tenants CLI

A CLI tool commonly used by MT-SRE projects at Red Hat.

Usage

Available subcommands

Subcommand Description
load Loads the addons inventory
run Runs the task
tasks_reference [path:search] "path" for the directory or file and "search" string to filter tasks

Available flags

Flag Description
-v or --version CLI version
--environment Target environment
--addon-name Load only a given addon
--addons-dir [path] "path" for the addons directory
--ocm-api Override the environments in OCM API
--ocm-api-insecure Allow Insecure connections to OCM API

Install

From PyPI:

$ pip install managedtenants_cli

From source:

$ python setup.py install

Develop

Install pre-commit hooks:

$ pre-commit install

Install the development requirements:

$ make develop

Run the code checks:

$ make check

Run the tests:

$ make test

Release

Update the VERSION file to reflect the new version. Submit a pull request and merge it to main. Once it is merged, you need to create a new tag and a new release. You can do this by clicking "Draft a new release" on the Releases page and then creating a new tag instead of selecting one from the dropdown. Please also use the option to "Generate release notes". After that, a CI job will be triggered that will publish the package on PyPI.

Alternatively, you can create a new tag by running:

git checkout main && git pull upstream main
git tag X.Y.Z
git push upstream X.Y.Z

and then draft the release in the web UI.

License

The default license of the code in this repository is http://www.apache.org/licenses/LICENSE-2.0. That applies for most of the code here, as they were written from scratch, but exceptions exist. In any case, each module carries the corresponding licensing information.

managed-tenants-cli's People

Contributors

ashishmax31 avatar ajpantuso avatar yashvardhan-kukreja avatar mayankshah1607 avatar dependabot[bot] avatar apahim avatar rpriyanshu9 avatar ankit152 avatar thetechnick avatar garrettthomaskth avatar chamalabey avatar renan-campos avatar eloycoto avatar mikeedgar avatar jmolmo avatar venkateshsredhat avatar vkareh avatar ciaranroche avatar nanyte25 avatar pat-cremin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.