
8/2/2018 · Mario de la Ossa
What this post added
This post details how to use GitLab CI/CD to automate the testing and deployment of Home Assistant configurations. It covers setting up a Git repository for configuration backups, creating a CI/CD pipeline with stages for testing (using the Home Assistant Docker image and `hass --script check_config`), deployment (using SSH to pull changes and restart the Home Assistant Docker container), and optional notifications (using Pushover). It also outlines the necessary CI/CD variables and server preparation for SSH access.