EasyJobInfraCode - is a Lightweight automation tool, performs administrative tasks using yaml playbooks. Check wiki for the help and documentation. To download the latest version go to the release page.
.NET 6 runtime must be installed
Name: Automation Workflow Example 1
Description: Copies files from one directory to another
Author: Akshin Mustafayev
Url: https://github.com/akshinmustafayev/EasyJobInfraCode
Version: 1.0
Copyrigth: Akshin Mustafayev
Steps:
- ActionType: CopyFolder
FolderSource: D:\somefolder1
FolderDestination: D:\somefolder2
Name: Automation Workflow Example 2
Description: Reads service name from file and then starts it
Author: Akshin Mustafayev
Url: https://github.com/akshinmustafayev/EasyJobInfraCode
Version: 1.0
Copyrigth: Akshin Mustafayev
Variables: [ "$var1" ]
Steps:
- ActionType: InvokePowerShellScript
Script: |
$fileContent = Get-Content D:\1.txt
Write-Host $fileContent
PowerShellArguments: -NoLogo
OutBuffer: $var1
- ActionType: Service
Name: $var1
Action: Start
EJIC can accept the following arguments
-f, --file Required. Set file to process.
-c, --cleanup Required. Cleanup temp folder.
-v, --verbose Set output to verbose messages.
--help Display this help screen.
--version Display version information.
To execute yaml playbook open Command Promt and write
EasyJobInfraCode.exe -f "D:\path\to\yaml\playbook.yaml"
to see verbose output write
EasyJobInfraCode.exe -v -f "D:\path\to\yaml\playbook.yaml"
- Download and install Visual Studio 2022
- Open project in Visual Studio and build it
Contribution is very much appreciated. Hope that this tool might be useful for you!