Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.15 KB

File metadata and controls

37 lines (23 loc) · 1.15 KB

Various DevOps tasks

Centralized DevOps tasks for my personal projects.

This program must only run in the root directory of a project.

Available Tasks

All tasks are designed as subcommands.

rust-code-coverage

Generates a code coverage report using grcov.

Usage

devops rust-code-coverage

Background

Previously, all DevOps tasks were written in PowerShell and scattered among my projects. Over time, maintaining them became more and more costly because:

  • PowerShell, like all scripting languages, are not compiled or statically typed.
  • Scripts are scattered in all my projects without possibility of reuse.
  • Improvments to the scripts in some projects must be manually backported to other projects.

Until one day I overheard that some team in a certain huge company started to write all their DevOps tasks in Rust. As a result, their Jenkins and TeamCity scripts were greatly simplified. Migrating to other CI servers would also cost less. So, why don't I follow this path?

GitHub Actions

Directory .github/actions contains various custom GitHub Actions steps shared by my projects.