mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
58
.github/workflows/lint-checks.yaml
vendored
Normal file
58
.github/workflows/lint-checks.yaml
vendored
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
name: Lint / Syntax checks
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hadolint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/hadolint/hadolint:latest-alpine
|
||||||
|
steps:
|
||||||
|
- name: ↩️ Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: 📂 Detect chanced files
|
||||||
|
id: filter
|
||||||
|
uses: dorny/paths-filter@v2.9.0
|
||||||
|
with:
|
||||||
|
list-files: 'shell'
|
||||||
|
filters: |
|
||||||
|
dockerfile:
|
||||||
|
- '**/Dockerfile'
|
||||||
|
- name: 🔎 Run hadolint
|
||||||
|
if: steps.filter.outputs.dockerfile == 'true'
|
||||||
|
run: hadolint ${{ steps.filter.outputs.dockerfile_files }}
|
||||||
|
|
||||||
|
shellcheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: ↩️ Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: 📂 Detect chanced files
|
||||||
|
id: filter
|
||||||
|
uses: dorny/paths-filter@v2.9.0
|
||||||
|
with:
|
||||||
|
list-files: 'shell'
|
||||||
|
filters: |
|
||||||
|
shell:
|
||||||
|
- '**/*.sh'
|
||||||
|
- '**/cont-init.d/*'
|
||||||
|
- '**/services.d/*'
|
||||||
|
- name: 🔎 Run ShellCheck
|
||||||
|
if: steps.filter.outputs.shell == 'true'
|
||||||
|
uses: ludeeus/action-shellcheck@1.1.0
|
||||||
|
with:
|
||||||
|
additional_files: ${{ steps.filter.outputs.shell_files }}
|
||||||
|
|
||||||
|
markdownlint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: ↩️ Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: 🔎 Run markdownlint
|
||||||
|
uses: nosborn/github-action-markdown-cli@v1.1.1
|
||||||
|
with:
|
||||||
|
files: .
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
## version-0.7.0 (22-01-2022)
|
||||||
|
- Update to latest version from fireflyiii/data-importer
|
||||||
|
|
||||||
## version-0.6.5 (21-01-2022)
|
## version-0.6.5 (21-01-2022)
|
||||||
- Update to latest version from fireflyiii/data-importer
|
- Update to latest version from fireflyiii/data-importer
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
ARG BUILD_VERSION
|
ARG BUILD_VERSION
|
||||||
ARG BUILD_UPSTREAM="version-0.6.5"
|
ARG BUILD_UPSTREAM="version-0.7.0"
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|||||||
@@ -34,8 +34,8 @@
|
|||||||
"SPECTRE_SECRET": "str?"
|
"SPECTRE_SECRET": "str?"
|
||||||
},
|
},
|
||||||
"slug": "fireflyiii_data_importer",
|
"slug": "fireflyiii_data_importer",
|
||||||
"upstream": "version-0.6.5",
|
"upstream": "version-0.7.0",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "version-0.6.5",
|
"version": "version-0.7.0",
|
||||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
|
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
## 3.2.13 (22-01-2022)
|
||||||
|
- Update to latest version from flexget/flexget
|
||||||
|
|
||||||
## 3.2.12 (21-01-2022)
|
## 3.2.12 (21-01-2022)
|
||||||
- Update to latest version from flexget/flexget
|
- Update to latest version from flexget/flexget
|
||||||
|
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
"FG_PLUGINS": "str?"
|
"FG_PLUGINS": "str?"
|
||||||
},
|
},
|
||||||
"slug": "flexget",
|
"slug": "flexget",
|
||||||
"upstream": "3.2.12",
|
"upstream": "3.2.13",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "3.2.12",
|
"version": "3.2.13",
|
||||||
"webui": "http://[HOST]:[PORT:5050]"
|
"webui": "http://[HOST]:[PORT:5050]"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
|
||||||
|
## 1.5.1 (22-01-2022)
|
||||||
|
- Update to latest version from spotweb/spotweb
|
||||||
## [0.0.1]
|
## [0.0.1]
|
||||||
- Initial version
|
- Initial version
|
||||||
@@ -95,8 +95,8 @@ ARG BUILD_VERSION
|
|||||||
ARG MODULES="00-banner.sh"
|
ARG MODULES="00-banner.sh"
|
||||||
|
|
||||||
# Automatic modules download
|
# Automatic modules download
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN if ! command -v bash >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"1.5.1"; fi \
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
&& if ! command -v curl >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"1.5.1"; fi \
|
||||||
&& mkdir -p /etc/cont-init.d \
|
&& mkdir -p /etc/cont-init.d \
|
||||||
&& for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
|
&& for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
|
||||||
&& chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE
|
&& chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE
|
||||||
@@ -105,8 +105,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
ENV PACKAGES=""
|
ENV PACKAGES=""
|
||||||
|
|
||||||
# Automatic apps & bashio
|
# Automatic apps & bashio
|
||||||
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
|
RUN if ! command -v bash >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/"1.5.1"; fi \
|
||||||
&& if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
|
&& if ! command -v curl >/dev/"1.5.1" 2>/dev/"1.5.1"; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/"1.5.1"; fi \
|
||||||
&& curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
&& curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
|
||||||
&& chmod 777 /automatic_packages.sh \
|
&& chmod 777 /automatic_packages.sh \
|
||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
{
|
{
|
||||||
"arch": ["aarch64", "amd64", "armv7"],
|
"arch": [
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"armv7"
|
||||||
|
],
|
||||||
"name": "Spotweb by @woutercoppens",
|
"name": "Spotweb by @woutercoppens",
|
||||||
"image": "ghcr.io/alexbelgium/spotweb-{arch}",
|
"image": "ghcr.io/alexbelgium/spotweb-{arch}",
|
||||||
"version": "dev",
|
"version": "1.5.1",
|
||||||
"slug": "spotweb",
|
"slug": "spotweb",
|
||||||
"description": "Spotweb is a decentralized usenet community based on the Spotnet protocol",
|
"description": "Spotweb is a decentralized usenet community based on the Spotnet protocol",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/spotweb",
|
"url": "https://github.com/alexbelgium/hassio-addons/spotweb",
|
||||||
@@ -11,14 +15,22 @@
|
|||||||
"ingress_port": 8099,
|
"ingress_port": 8099,
|
||||||
"panel_icon": "mdi:chart-timeline",
|
"panel_icon": "mdi:chart-timeline",
|
||||||
"panel_title": "Spotweb",
|
"panel_title": "Spotweb",
|
||||||
"map": ["ssl", "config:rw", "backup:rw"],
|
"map": [
|
||||||
|
"ssl",
|
||||||
|
"config:rw",
|
||||||
|
"backup:rw"
|
||||||
|
],
|
||||||
"options": {
|
"options": {
|
||||||
"ssl": false,
|
"ssl": false,
|
||||||
"certfile": "fullchain.pem",
|
"certfile": "fullchain.pem",
|
||||||
"keyfile": "privkey.pem"
|
"keyfile": "privkey.pem"
|
||||||
},
|
},
|
||||||
"ports": { "80/tcp": null },
|
"ports": {
|
||||||
"ports_description": { "80/tcp": "Not required for Ingress" },
|
"80/tcp": "1.5.1"
|
||||||
|
},
|
||||||
|
"ports_description": {
|
||||||
|
"80/tcp": "Not required for Ingress"
|
||||||
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
"remote_mysql_host": "str?",
|
"remote_mysql_host": "str?",
|
||||||
"remote_mysql_database": "str?",
|
"remote_mysql_database": "str?",
|
||||||
@@ -30,7 +42,9 @@
|
|||||||
"keyfile": "str",
|
"keyfile": "str",
|
||||||
"ssl": "bool"
|
"ssl": "bool"
|
||||||
},
|
},
|
||||||
"services": ["mysql:want"],
|
"services": [
|
||||||
|
"mysql:want"
|
||||||
|
],
|
||||||
"startup": "services",
|
"startup": "services",
|
||||||
"hassio_api": true
|
"hassio_api": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user