cec_scan: Collection of styling improvements (#894)

* cec_scan: Prettier YAML & JSON files

* cec_scan: Pin base images

* cec_scan: Move data files to data folder

* cec_scan: Fix Markdownlint issue in changelog
This commit is contained in:
Franck Nijhof
2019-12-18 13:53:16 +01:00
committed by Pascal Vizeli
parent 3d1756bac8
commit 646857b305
6 changed files with 20 additions and 19 deletions

View File

@@ -1,13 +1,16 @@
# Changelog
## 2.1
- Added README into the add-on repository
- Reduced size of add-on image for armhf & aarch64
- Improved support for armv7
## 2.0
- Use new native Alpine RPi library for 64bit
## 1.0
- Add support for Raspberry-pi 64bit
- Update libCEC to 4.0.3

View File

@@ -45,7 +45,7 @@ RUN \
ENV LD_LIBRARY_PATH=/opt/vc/lib:${LD_LIBRARY_PATH}
# Copy data
COPY run.sh /
COPY data/run.sh /
WORKDIR /
CMD [ "/run.sh" ]

View File

@@ -3,20 +3,19 @@
trigger:
branches:
include:
- master
- master
paths:
include:
- cec_scan/*
- cec_scan/*
pr: none
variables:
- name: versionBuilder
value: '2.0'
value: "2.0"
- group: docker
jobs:
- template: /.azure/azp-template-addon.yml
parameters:
addon: 'cec_scan'
arch: '--all'
- template: /.azure/azp-template-addon.yml
parameters:
addon: "cec_scan"
arch: "--all"

View File

@@ -1,4 +1,11 @@
{
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.10",
"amd64": "homeassistant/amd64-base:3.10",
"armhf": "homeassistant/armhf-base:3.10",
"armv7": "homeassistant/armv7-base:3.10",
"i386": "homeassistant/i386-base:3.10"
},
"args": {
"LIBCEC_VERSION": "4.0.3"
}

View File

@@ -4,18 +4,10 @@
"slug": "cec_scan",
"description": "Scan for HDMI CEC devices",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/cec_scan",
"arch": [
"armhf",
"armv7",
"aarch64",
"amd64",
"i386"
],
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "once",
"boot": "manual",
"devices": [
"/dev/vchiq:/dev/vchiq:rwm"
],
"devices": ["/dev/vchiq:/dev/vchiq:rwm"],
"options": {},
"schema": {},
"image": "homeassistant/{arch}-addon-cec_scan"