All Projects → schubergphilis → towerlib

schubergphilis / towerlib

Licence: MIT license
A python library to interface with ansible tower's (awx) api.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to towerlib

nozaki
HTTP fuzzer engine security oriented
Stars: ✭ 37 (+23.33%)
Mutual labels:  restfull
ansible-tower-cicd
A framework for continuous integration and continuous delivery with Ansible Tower.
Stars: ✭ 37 (+23.33%)
Mutual labels:  tower
routing
Aplus Framework Routing Library
Stars: ✭ 186 (+520%)
Mutual labels:  restfull
GithubTower
This browser extension allows you to use Github's "Clone in Desktop" button with Tower
Stars: ✭ 48 (+60%)
Mutual labels:  tower
bc-website
HARDWARIO Website, Documentation and Blog
Stars: ✭ 15 (-50%)
Mutual labels:  tower
tower-lsp
Language Server Protocol implementation written in Rust
Stars: ✭ 455 (+1416.67%)
Mutual labels:  tower
DelphiWebMVC
delphi在web系统开发上没有像java或php 这样方便,对于一直使用delphi的工程师来说是个遗憾,因此使用delphi技术开发了一套Web框架,使用MVC模式,让工程师只需把精力放在模型与视图的设计上,让delphi开发web系统更方便
Stars: ✭ 25 (-16.67%)
Mutual labels:  restfull
squest
Service request portal on top of Ansible Tower/AWX
Stars: ✭ 115 (+283.33%)
Mutual labels:  tower
tower
基于反向代理的Golang即时编译工具,可在生产环境下无缝切换到新版本
Stars: ✭ 21 (-30%)
Mutual labels:  tower
DeadAscend
A 2D point'n'click-like adventure game written in Qt/QML and Javascript
Stars: ✭ 37 (+23.33%)
Mutual labels:  tower
Awx
AWX Project
Stars: ✭ 10,469 (+34796.67%)
Mutual labels:  awx
Ansible-inventory-file-examples
Examples and counter-examples of Ansible inventory files
Stars: ✭ 25 (-16.67%)
Mutual labels:  awx
ansible-awx
Automatic installation for AWX (Ansible Tower Communiy) on Linux
Stars: ✭ 26 (-13.33%)
Mutual labels:  awx

towerlib

A python library to interface with ansible tower's (awx) api.

Development Workflow

The workflow supports the following steps

  • lint
  • test
  • build
  • document
  • upload
  • graph

These actions are supported out of the box by the corresponding scripts under _CI/scripts directory with sane defaults based on best practices. Sourcing setup_aliases.ps1 for windows powershell or setup_aliases.sh in bash on Mac or Linux will provide with handy aliases for the shell of all those commands prepended with an underscore.

The bootstrap script creates a .venv directory inside the project directory hosting the virtual environment. It uses pipenv for that. It is called by all other scripts before they do anything. So one could simple start by calling _lint and that would set up everything before it tried to actually lint the project

Once the code is ready to be delivered the _tag script should be called accepting one of three arguments, patch, minor, major following the semantic versioning scheme. So for the initial delivery one would call

$ _tag --minor

which would bump the version of the project to 0.1.0 tag it in git and do a push and also ask for the change and automagically update HISTORY.rst with the version and the change provided.

So the full workflow after git is initialized is:

  • repeat as necessary (of course it could be test - code - lint :) ) * code * lint * test
  • commit and push
  • develop more through the code-lint-test cycle
  • tag (with the appropriate argument)
  • build
  • upload (if you want to host your package in pypi)
  • document (of course this could be run at any point)

Important Information

This template is based on pipenv. In order to be compatible with requirements.txt so the actual created package can be used by any part of the existing python ecosystem some hacks were needed. So when building a package out of this do not simple call

$ python setup.py sdist bdist_egg

as this will produce an unusable artifact with files missing. Instead use the provided build and upload scripts that create all the necessary files in the artifact.

Project Features

  • Can get, create and delete all entities in a tower deployment.

Todo

This code is MVP and needs a lot of improvements. Some of them are, optimize all queries, implement searching and filtering and implement smart caching of entities.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].