Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 1.68 KB

DEVBOX.md

File metadata and controls

72 lines (57 loc) · 1.68 KB

Getting Started

This project uses devbox to manage its development environment.

Install devbox:

curl -fsSL https://get.jetpack.io/devbox | bash

Start the devbox shell:

devbox shell

Run a script in the devbox environment:

devbox run <script>

Scripts

Scripts are custom commands that can be run using this project's environment. This project has the following scripts:

Environment

KREW_ROOT="${DEVBOX_PROJECT_ROOT}/.krew"

Shell Init Hook

The Shell Init Hook is a script that runs whenever the devbox environment is instantiated. It runs on devbox shell and on devbox run.

source $DEVBOX_PROJECT_ROOT/.zshadd

Packages

Script Details

devbox run clean

rm -rf working/*
rm -rf working/.git
rm -rf output/*
rm -rf stacks/latest
rm -rf Library
rm -rf logs/*.log

devbox run resetKind

kind delete cluster -n forgetest
kind create cluster -n forgetest
kind export kubeconfig -n forgetest --kubeconfig forgetest.yaml