mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
🔨Ignore DB files on copy for check_config (#1627)
* 🔨Add rsync * 🔨Switch cp to rsync and ignore ha db files * ✏Bump version * ✏Update changelog * 👕Formatting changes
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.6.0
|
||||||
|
|
||||||
|
- Change to rsync for copy
|
||||||
|
- Ignore HA db files
|
||||||
|
|
||||||
## 3.5.0
|
## 3.5.0
|
||||||
|
|
||||||
- Update base image to version 8.4.0
|
- Update base image to version 8.4.0
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
rsync
|
||||||
|
|
||||||
# Copy data
|
# Copy data
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Check Home Assistant configuration",
|
"name": "Check Home Assistant configuration",
|
||||||
"version": "3.5.0",
|
"version": "3.6.0",
|
||||||
"slug": "check_config",
|
"slug": "check_config",
|
||||||
"description": "Check current Home Assistant configuration against a new version",
|
"description": "Check current Home Assistant configuration against a new version",
|
||||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/check_config",
|
"url": "https://github.com/home-assistant/hassio-addons/tree/master/check_config",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ bashio::log.info "Installed Home Assistant ${INSTALLED_VERSION##*=}"
|
|||||||
|
|
||||||
# Making a temporary copy of your configuration
|
# Making a temporary copy of your configuration
|
||||||
bashio::log.info "Making a copy of your configuration for checking..."
|
bashio::log.info "Making a copy of your configuration for checking..."
|
||||||
cp -fr /config /tmp/config
|
rsync -avr --exclude='*home-assistant_v2*' /config/ /tmp/config --quiet
|
||||||
|
|
||||||
# Start configuration check
|
# Start configuration check
|
||||||
bashio::log.info "Checking your configuration against this version..."
|
bashio::log.info "Checking your configuration against this version..."
|
||||||
|
|||||||
Reference in New Issue
Block a user