Kodify.DevOps 0.1.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package Kodify.DevOps --version 0.1.8
                    
NuGet\Install-Package Kodify.DevOps -Version 0.1.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kodify.DevOps" Version="0.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kodify.DevOps" Version="0.1.8" />
                    
Directory.Packages.props
<PackageReference Include="Kodify.DevOps" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kodify.DevOps --version 0.1.8
                    
#r "nuget: Kodify.DevOps, 0.1.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kodify.DevOps@0.1.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kodify.DevOps&version=0.1.8
                    
Install as a Cake Addin
#tool nuget:?package=Kodify.DevOps&version=0.1.8
                    
Install as a Cake Tool

Kodify.DevOps

A Kodify subpackage that provides automated DevOps tooling for .NET projects. This package automatically generates Infrastructure as Code (IaC) and CI/CD pipelines based on project analysis.

Features

CI/CD Pipeline Generation

Automatically generates CI/CD pipelines with a single line of code:

var pipeline = Pipelines.DetectCI();
await pipeline.GenerateAsync();

Supports multiple CI/CD platforms:

  • GitHub Actions
  • Azure DevOps
  • GitLab CI

Features:

  • Automatic source control detection
  • Framework version detection
  • Test pipeline configuration
  • NuGet package publishing
  • Branch-specific workflows

Infrastructure as Code (IaC)

Generates cloud infrastructure templates based on project dependencies:

// For AWS CloudFormation
var cloudformation = new CloudFormationGenerator();
await cloudformation.GenerateTemplateAsync();

// For Terraform
var terraform = new TerraformGenerator();
await terraform.GenerateTemplateAsync();

Features:

  • Automatic service detection:
    • Databases (PostgreSQL, MySQL, SQL Server)
    • Caching (Redis)
    • Message Queues (RabbitMQ, SQS)
    • Storage (S3)
  • Environment-specific configurations
  • Best practices implementation
  • Complete documentation generation

Installation

dotnet add package Kodify.DevOps

Quick Start

  1. Generate CI/CD pipeline:
using Kodify.DevOps.Pipeline;

// Automatically detects and generates appropriate CI/CD pipeline
await Pipelines.DetectCI().GenerateAsync();
  1. Generate IaC templates:
using Kodify.DevOps.IaC;

// Generate Terraform or CloudFormation templates
var generator = new TerraformGenerator();
await generator.GenerateTemplateAsync();

Generated Files

CI/CD Pipelines

  • .github/workflows/ci-cd.yml (GitHub Actions)
  • azure-pipelines.yml (Azure DevOps)
  • .gitlab-ci.yml (GitLab CI)

Infrastructure

  • /iac directory containing:
    • Infrastructure templates
    • Environment-specific configurations
    • Backend configurations
    • Comprehensive README

Dependencies

This package is part of the Kodify ecosystem and requires:

  • Kodify (>= 0.1.8)
  • .NET 8.0 or later

Best Practices

The generated configurations follow cloud provider best practices:

  • Multi-AZ deployment for production
  • Environment-specific instance sizing
  • Proper security group configurations
  • State file management
  • Backup retention policies
  • Cost optimization for non-production environments

References

This is a subpackage of Kodify. Please see the main package for more information.

License

MIT License - see the main Kodify repository for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.9 182 2/24/2025
0.1.9-dev-0005 150 2/24/2025
0.1.8 166 2/22/2025
0.1.8-dev-0004 144 2/22/2025
0.1.8-dev-0003 159 2/22/2025
0.1.8-dev-0002 155 2/22/2025
0.1.7-dev-0001 150 2/22/2025