Skip to content

Dev Instance

🚧 UNDER CONSTRUCTION 🚧

this is an experimental approach, i am still building this workflow 😀

📸 Summary

This workflow deploys the infrastructure instance that hosts the gitlab runner for ci/cd deployments.

🗃️ Repo

git clone git@gitlab.com:loganmancuso_public/infrastructure/local/dev-instance.git

📜 Dependencies

📃 Sample TFvars

instance_settings = {
  name      = "infra-instance"
  ip        = "XXX.XXX.XXX.XXX"
  disk_size = 15
}

⚙️ Deployment Instructions

🛑 Pre-Deployment

🟢 Deployment

To deploy this workflow link the environment folder to the root directory.

ln -s env/* .
tofu init .
tofu plan
tofu apply

🏁 Post-Deployment


📝 Notes

sudo virsh pool-list
sudo virsh pool-destroy default
sudo virsh pool-destroy Downloads
sudo virsh pool-undefine infra-instance
sudo virsh undefine infra-instance
sudo virsh domstate infra-instance
- to destroy just the instance use this command tf destroy --target libvirt_domain.instance

📅 Tasks

👎 Known Issues

<<Local Infrastructure --- Proxmox Dev>>