Skip to main content

General purpose DevOps-related scripts and tools.

Project description

DevOps Toolset

Last commit Build status Release
Sonar quality gate Sonar coverage Sonar tech debt Sonar violations
GitHub SemVer tag Repo size Top language License
Liberapay Donate Liberapay Donate PayPal

Everything than can be automated, must be automated!

Logo

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:

  1. Download the package from the feed. Click on "Connect to feed" for more information
    Connect to feed
  2. Unzip the package to a directory
    e.g.: /devops-toolset
  3. 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

devops-toolset-2.4.0.tar.gz (73.1 kB view hashes)

Uploaded Source

Built Distribution

devops_toolset-2.4.0-py3-none-any.whl (107.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page