@mcanaleta/kdevops
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

usage instructions

Prerequisites:

  • have a kdevops.ts file
  • have a Dockerfile
pnpm add --dev @mcanaleta/kdevops

add following script in package.json

"scripts": {
    (...)
    "devops": "kdevops"
}
pnpm devops init
cd terraform
terraform init
pnpm run devops build 

work in progress

opinionated

  • pnpm
  • google cloud

devops tools

the idea is to define a kdevops.ts file in the root of the project then run pnpm run devops ... to execute the devops tasks:

  • generate terraform files
  • generate cloudbuild.yaml ...

Example of kdevops.ts file:

import { GCBMicroservice } from "@mcanaleta/kdevops";

const service = new GCBMicroservice({
  name: "backoffice",

...
});

service.cli();

w

Add to a project

pnpm add -w -D github:mcanaleta/kdevops

/@mcanaleta/kdevops/

    Package Sidebar

    Install

    npm i @mcanaleta/kdevops

    Weekly Downloads

    22

    Version

    0.1.8

    License

    none

    Unpacked Size

    103 kB

    Total Files

    15

    Last publish

    Collaborators

    • mcanaleta