Skip to content

pablofelix/robotframework-openshift

 
 

Repository files navigation

Robotframework OpenShiftLibrary

OpenshiftLibrary is a robotframework library for Kubernetes and OpenShift APIs. The project is hosted on GitHub and downloads can be found from PyPI

Installation

The recommended installation method is using pip:

pip install robotframework-openshift

To install latest source from the master branch, use this command:

pip install git+https://github.com/red-hat-data-services/robotframework-openshift.git

Usage

Keyword Documentation

To get the Documentation is necessary to be connected to a cluster with the oc command

python3 -m virtualenv .venv 
source .venv/bin/activate
python3 -m pip install -r requirements.txt
python3 task.py

a new folder will be created /docs/ with the documentation OpenShiftLibrary.html

Example

*** Settings ***
Library      OpenShiftLibrary

*** Test Cases ***
Test Generic Keywords Kind Project
   Oc New Project  test
   Oc Delete  kind=Project  name=test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.0%
  • RobotFramework 35.0%
  • Shell 1.0%