Skip to content

Generic devops tools, mostly related to gcloud and cloud run

Notifications You must be signed in to change notification settings

mcanaleta/kdevops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generic devops tools, mostly related to gcloud and cloud run

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published