Skip to content

Initial Pipeline Run

Start a development environment

Take a look at ./infra/k3d/scripts/create_k3d_cluster.sh to familiarize yourself with its contents before running it with:

Terminal window
./infra/k3d/scripts/create_k3d_cluster.sh

This pipeline file will be used by infctl to create a couple of resources to smoke test the cluster.

Terminal window
infctl -f infra/pipelines/dev/k3d/pipeline.json

which will look something like this

Terminal window
infctl -f infra/pipelines/dev/k3d/pipeline.json
DeploymentType: development
Using jsonFile: infra/pipelines/dev/k3d/pipeline.json
run json deployment => 🔄 ensure inf namespace exists
in k8sCreateNamespace with project: infctl
Step completed: ensure inf namespace exists
run json deployment => 🔄 create php configmap
🐞 Running command: ./infra/k3d/scripts/create_php_configmap_ctl.sh
configmap/php-config created
NGINX configmap created successfully.
Step completed: create php configmap
🚀 Pipeline completed successfully

delete our test cluster with

Terminal window
k3d cluster delete mycluster