Skip to content

opsmill/devnet-live-2025

Repository files navigation

how to build a production-grade automation platform with Infrahub

This project was created during a 2 parts stream with Adrian from Cisco DevNet to showcase how to build a production-grade automation platform with Infrahub.

Create your environment

1. Initialize uv project

uv init devnet-live-2025
cd devnet-live-2025
uv add infrahub-sdk --extra all

2. Create project structure

mkdir schemas
mkdir data
mkdir templates
mkdir tests

3. Start infrahub

Option 1 - start with a one liner command

curl https://infrahub.opsmill.io | docker compose -p infrahub -f - up -d

Option 2 - Copy the docker compose file locally and start docker compose

curl https://infrahub.opsmill.io > docker-compose.yaml
docker compose up -d

Stop Infrahub (assuming you used Option 2)

docker compose down -v

Configure Infrahubctl

source .venv/bin/activate
export INFRAHUB_USERNAME=admin
export INFRAHUB_PASSWORD=infrahub
export INFRAHUB_ADDRESS=http://localhost:8000
infrahubctl info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published