cloudmason.dev

One-Liner-Software-Factorysandwich

Walter Day

January 19, 2023

🥪

One Liner Software Factory sandwich

Yo, what's up my homies? I hope you're all ready for the freakin' weekend, cause I know I am! And let me tell ya, I've been workin' on a little somethin' special for y'all. I created a DevSecOps toolkit for a video I'm makin' and let me tell ya, it's gonna be a doozy. So get ready to laugh, learn, and maybe even cry a little, cause it's gonna be one wild ride.

Overview

Yo, so when ya slide that developer feedback all the way to the left, it's like buildin' a castle outta LEGOs. Ya know, stackin' those blocks, makin' it solid and strong. But the real magic happens when ya create a feedback loop, like a never-endin' game of Pong. This article is gonna show ya how to build a Software Factory like a boss, as long as ya got all the fancy tools and stuff.

Prerequisits

  1. you have a k8s cluster you can deploy to. (we'll go through deploying one if you don't have one in the apendix)
  2. you have the Flux CLI installed
  3. a PAT token from github
  4. you are ready to rock 😎

Install 🚀

  • ensure your kubernetes context is set to the cluster you want to deploy to
  • fork the toolkit repo
  • clone the repo
bash
# replace this path with your new forked path
git clone git@github.com:saintskeeper/DevSecOps-Toolbox.
  • cd to dir
bash
cd DevSecOps-Toolbox
  • deploy the software factory
bash
flux bootstrap github \
  --owner=$GITUSER \
  --repository=DevSecOps-Toolbox \
  --path=clusters/mason-dev \
  --personal \
	--branch=main \
	--network-policy=false \
	--components-extra=image-reflector-controller,image-automation-controller

Repo Can be found here

Apendix

Deploying a cluster to civo cloud

Prerequs

  1. have a cevo account
  2. cut an API Key
  3. terraform installed

Deployment

bash
# readme in this dir for context from the civo team
iac/terraform-infra/civo/cluster-deploy/
terraform init
terraform plan
terraform  apply --auto-approve

SubStackClient-Portfolio

© 2022 - 2023 Walter Day