mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04: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
|
||||
|
||||
## 3.6.0
|
||||
|
||||
- Change to rsync for copy
|
||||
- Ignore HA db files
|
||||
|
||||
## 3.5.0
|
||||
|
||||
- Update base image to version 8.4.0
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
RUN apk add --no-cache \
|
||||
rsync
|
||||
|
||||
# Copy data
|
||||
COPY rootfs /
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Check Home Assistant configuration",
|
||||
"version": "3.5.0",
|
||||
"version": "3.6.0",
|
||||
"slug": "check_config",
|
||||
"description": "Check current Home Assistant configuration against a new version",
|
||||
"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
|
||||
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
|
||||
bashio::log.info "Checking your configuration against this version..."
|
||||
|
||||
Reference in New Issue
Block a user