Stuff

Unlikely for a public. Just for the author's convenience.

(PUBLIC) My DevOps Blog

xhd.io powered by SSG on golang

(PUBLIC) One click Windows and Linux environments setup

Powered by:

  • chef
  • chocolatey
  • sh, powershell scripts
  • msoffice remote installer
  • kms

PS script uses chef-client to prepare Windows environment.

Show Description, available roles
# Get help, see available roles
. { iwr -useb https://git.io/JvKEy } | iex; show-help
. { iwr -useb https://raw.githubusercontent.com/theprotos/cookbooks-generic/master/scripts/win.ps1 } | iex; show-help
Show usage
# Download and apply one role: win-laptop-full-kms.json
. { iwr -useb https://git.io/JvKEy } | iex; apply-runlist -runlist win-laptop-full-kms.json
. { iwr -useb https://raw.githubusercontent.com/theprotos/cookbooks-generic/master/scripts/win.ps1 } | iex; apply-runlist -runlist win-laptop-full-kms.json -branch master

# Download and apply multiple roles: win-vm-minimal.json, win-shhd.json
. { iwr -useb https://git.io/JvKEy } | iex; apply-runlist -runlist win-vm-minimal.json,win-shhd.json
. { iwr -useb https://raw.githubusercontent.com/theprotos/cookbooks-generic/master/scripts/win.ps1 } | iex; apply-runlist -runlist win-vm-minimal.json,win-shhd.json -branch master

BASH script uses chef-client to prepare Linux environment.

Show usage
# Get help
curl -sL https://git.io/JvKuv | sudo sh -s help
curl -sL https://raw.githubusercontent.com/theprotos/cookbooks-generic/master/scripts/linux.sh | sudo sh -s help

# Download and apply linux-packages.json
curl -sL https://git.io/JvKuv | sudo bash -s apply linux-vagrant.json,linux-packages.json
curl -sL https://raw.githubusercontent.com/theprotos/cookbooks-generic/master/scripts/linux.sh | sudo bash -s apply linux-packages.json,linux-docker.json master

(PUBLIC) One click Windows and Linux vagrant/packer images

Powered by:

PS script uses vagrant to prepare Windows environment.

Show usage
# Get help
. { iwr -useb https://raw.githubusercontent.com/theprotos/env-generic/master/windows/build.ps1 } | iex; show-help

(PUBLIC) One click spin up Jenkins CI/CD with jobs

Sandbox uses:

  • Jenkins Configuration as Code
  • job-dsl to spawn seed jobs
  • maven, gradle, npm jobs examples