DevOps Toolset
Everything than can be automated, must be automated!
Getting Started
Description
This project contains general purpose, DevOps-related, scripts and tools.
Prerequisites
- You need Python 3.8.2+ installed on your machine. Please follow the instructions on the Python web site.
- You also need to have pip package manager installed.
How to use
- Install from the PyPI package index using the following command:
pip install devops-toolset
- Reference the package in your pipeline to have these tools available.
Running the tests
Unit tests
To run the unit tests you need to install pytest from PyPI. You can do so by executing the following command:
pip install pytest
Then, run the tests using the following command at the project's root path:
pytest
File structure
Directory / file | Description |
---|
/.devops | Contains pipeline definitions for the project |
/core | Core settings for devops-toolset |
/.devops-platforms | Contains platform-specific code |
/filesystem | File system related tools |
/i18n | Internationalization related tools |
/json-schemas | Json schemas that support needed JSON document structures |
/project types | Contains scripts and tools related to specific project types like Angular, AWS, .NET, Linux, Maven, NodeJS, PHP os WordPress |
/tools | Contains helpers and tools used in scripts |
/toolset | Script that downloads "manually" this toolset to a directory (deprecated) |
/project.xml | Project description and project version |
WordPress tools
This repository relies on WP CLI for WordPress automation. Please refer to WP-CLI handbook for more information and installation instructions.