This commit is contained in:
Alexandre
2022-01-22 19:33:33 +01:00
9 changed files with 96 additions and 15 deletions

58
.github/workflows/lint-checks.yaml vendored Normal file
View 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: .

View File

@@ -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)
- Update to latest version from fireflyiii/data-importer

View File

@@ -16,7 +16,7 @@
ARG BUILD_FROM
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="version-0.6.5"
ARG BUILD_UPSTREAM="version-0.7.0"
FROM ${BUILD_FROM}
##################

View File

@@ -34,8 +34,8 @@
"SPECTRE_SECRET": "str?"
},
"slug": "fireflyiii_data_importer",
"upstream": "version-0.6.5",
"upstream": "version-0.7.0",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "version-0.6.5",
"version": "version-0.7.0",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
}

View File

@@ -1,4 +1,7 @@
## 3.2.13 (22-01-2022)
- Update to latest version from flexget/flexget
## 3.2.12 (21-01-2022)
- Update to latest version from flexget/flexget

View File

@@ -32,8 +32,8 @@
"FG_PLUGINS": "str?"
},
"slug": "flexget",
"upstream": "3.2.12",
"upstream": "3.2.13",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "3.2.12",
"version": "3.2.13",
"webui": "http://[HOST]:[PORT:5050]"
}

View File

@@ -1,2 +1,5 @@
## 1.5.1 (22-01-2022)
- Update to latest version from spotweb/spotweb
## [0.0.1]
- Initial version

View File

@@ -95,8 +95,8 @@ ARG BUILD_VERSION
ARG MODULES="00-banner.sh"
# 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 \
&& 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 \
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/"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 \
&& 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
@@ -105,8 +105,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
ENV PACKAGES=""
# 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 \
&& 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 \
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/"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 \
&& chmod 777 /automatic_packages.sh \
&& eval /./automatic_packages.sh "${PACKAGES:-}" \

View File

@@ -1,8 +1,12 @@
{
"arch": ["aarch64", "amd64", "armv7"],
"arch": [
"aarch64",
"amd64",
"armv7"
],
"name": "Spotweb by @woutercoppens",
"image": "ghcr.io/alexbelgium/spotweb-{arch}",
"version": "dev",
"version": "1.5.1",
"slug": "spotweb",
"description": "Spotweb is a decentralized usenet community based on the Spotnet protocol",
"url": "https://github.com/alexbelgium/hassio-addons/spotweb",
@@ -11,14 +15,22 @@
"ingress_port": 8099,
"panel_icon": "mdi:chart-timeline",
"panel_title": "Spotweb",
"map": ["ssl", "config:rw", "backup:rw"],
"map": [
"ssl",
"config:rw",
"backup:rw"
],
"options": {
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
},
"ports": { "80/tcp": null },
"ports_description": { "80/tcp": "Not required for Ingress" },
"ports": {
"80/tcp": "1.5.1"
},
"ports_description": {
"80/tcp": "Not required for Ingress"
},
"schema": {
"remote_mysql_host": "str?",
"remote_mysql_database": "str?",
@@ -30,7 +42,9 @@
"keyfile": "str",
"ssl": "bool"
},
"services": ["mysql:want"],
"services": [
"mysql:want"
],
"startup": "services",
"hassio_api": true
}