General purpose DevOps-related scripts and tools.
Project description
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.
How to use
Reference the package in your pipeline to have these tools available:
- Download the package from the feed. Click on "Connect to feed" for more information
- Unzip the package to a directory
e.g.: /devops-toolset - Add this directory to the PYTHONPATH environment variable.
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 |
/.devops-platform-specific | Contains platform-specific code |
/.media | Contains media files |
/.tools | Contains helpers and tools used in scripts |
/<category> | Contains scripts and tools in different formats, grouped by categories |
/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.
Troubleshooting
Problem | Solution |
---|---|
Can't execute PowerShell script because of the policy | Take a look at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies |
Can't execute PowerShell script in Linux | Make sure you installed or have access to PowerShell Core distribution |
PowerSHell execution policy related problems in development | Execute this command as admin (not for production use):Set-ExecutionPolicy -ExecutionPolicy Bypass |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for devops_toolset-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e39739057784b4fe3df35e0de6c314791a27b589bcda3b9a2dfce41e37c4be9 |
|
MD5 | 53ee1a4e881a8573e461b59f25b31806 |
|
BLAKE2b-256 | fa9223c518239fcb70a6f6e78c2e1983648aa52fa80f8a4a5b511c2510e3ddee |