Download the PHP package icanhazstring/duck-pony without Composer
On this page you can find all versions of the php package icanhazstring/duck-pony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package duck-pony
duck-pony
duck-pony
is a little maintenance tool used to manage integration server instances.
It is linked to Atlassian Jira to retrieve information of what actions to perform.
These actions include
- CleanBranch
- CleanMySQLDatabase
- PurgeService
- RemoveOrphanedSymlinks
Installation
To use this tool simply clone or download it onto your integration server.
Be aware that some commands needs some kind of
root
execution rights (e.g. to shutdown a service usingsystemctl
)
Start by using composer to install all needed packages. (You might want to skip dev packages)
To configure your config.yml
use icanhazstring/tempa-php which is included in this tool.
The
pattern
is used to identify tickets and folders alike. This means, your folders MUST have the same name as the ticket in your jira board.If slack_token and slack_channel are set, logged messages with a level of critical or higher will be sent to this slack channel
Commands
CleanBranch
Example: Clean every branch that is currently not "in progress", "reopened", "todo" or "in review".
PurgeService
Example: Purge every awesome
service from systemd which is not present in scanned folder
Assuming the following folder structure and services:
Executing this command:
Will remove the following systemd services:
- awesome@ABC-124
- awesome@ABC-125
RemoveOrphanedSymlinks
Example: Remove every orphaned symlink under nginx site-enabled
CleanMySQLDatabase
Example: Clean every database of tickets that are currently not "in progress", "reopened", "todo" or "in review".
All versions of duck-pony with dependencies
icanhazstring/systemctl-php Version ^0.8
lesstif/php-jira-rest-client Version ^5.0
symfony/console Version ^5.0
symfony/filesystem Version ^6.0
symfony/finder Version ^6.0
monolog/monolog Version ^2.0
league/container Version ^4.0
laminas/laminas-config Version ^3.8
icanhazstring/tempa-php Version 2.2.0