Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mas-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mas-cli

Python Admin CLI for Maximo Application Suite

  • 11.13.0
  • PyPI
  • Socket score

Maintainers
1

mas.devops

Example

.. code:: python

from openshift import dynamic from kubernetes import config from kubernetes.client import api_client

from mas.devops.ocp import createNamespace from mas.devops.tekton import installOpenShiftPipelines, updateTektonDefinitions, launchUpgradePipeline

instanceId = "mymas" pipelinesNamespace = f"mas-{instanceId}-pipelines"

Create an OpenShift client

dynClient = dynamic.DynamicClient( api_client.ApiClient(configuration=config.load_kube_config()) )

Install OpenShift Pipelines Operator

installOpenShiftPipelines(dynamicClient)

Create the pipelines namespace and install the MAS tekton definitions

createNamespace(dynamicClient, pipelinesNamespace) updateTektonDefinitions(pipelinesNamespace)

Launch the upgrade pipeline and print the URL to view the pipeline run

pipelineURL = launchUpgradePipeline(self.dynamicClient, instanceId) print(pipelineURL)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc