diff --git a/example/CHANGELOG.md b/example/CHANGELOG.md deleted file mode 100644 index 6e3f281..0000000 --- a/example/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ - - -## 1.1.0 - -- Updates - -## 1.0.0 - -- Initial release diff --git a/example/DOCS.md b/example/DOCS.md deleted file mode 100644 index e73650e..0000000 --- a/example/DOCS.md +++ /dev/null @@ -1,7 +0,0 @@ -# Home Assistant Add-on: Example add-on - -## How to use - -This add-on really does nothing. It is just an example. - -When started it will print the configured message or "Hello world" in the log. diff --git a/example/Dockerfile b/example/Dockerfile deleted file mode 100644 index 9d1a983..0000000 --- a/example/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile -ARG BUILD_FROM -FROM $BUILD_FROM - -# Execute during the build of the image -ARG TEMPIO_VERSION BUILD_ARCH -RUN \ - curl -sSLf -o /usr/bin/tempio \ - "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" - -# Copy root filesystem -COPY rootfs / diff --git a/example/README.md b/example/README.md deleted file mode 100644 index a0de77f..0000000 --- a/example/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Home Assistant Add-on: Example add-on - -_Example add-on to use as a blueprint for new add-ons._ - -![Supports aarch64 Architecture][aarch64-shield] -![Supports amd64 Architecture][amd64-shield] -![Supports armhf Architecture][armhf-shield] -![Supports armv7 Architecture][armv7-shield] -![Supports i386 Architecture][i386-shield] - -[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg -[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg -[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg -[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg -[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg diff --git a/example/build.yaml b/example/build.yaml deleted file mode 100644 index f9cffee..0000000 --- a/example/build.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile -build_from: - aarch64: "ghcr.io/home-assistant/aarch64-base:3.14" - -labels: - org.opencontainers.image.title: "${BUILD_NAME}" - org.opencontainers.image.description: "Example add-on to use as a blueprint for new add-ons." - org.opencontainers.image.source: "https://github.com/habuild/" - org.opencontainers.image.licenses: "Apache License 2.0" -args: - TEMPIO_VERSION: "2021.09.0" diff --git a/example/config.yaml b/example/config.yaml deleted file mode 100644 index af0fd50..0000000 --- a/example/config.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config -name: Example add-on -version: "1.1.0" -slug: example -description: Example add-on -url: "https://github.com/habuild/sbfspot_addon/tree/main/example" -arch: - - armhf - - armv7 - - aarch64 - - amd64 -init: false -options: - message: "Hello world..." -schema: - message: "str?" -image: "ghcr.io/habuild/{arch}-addon-example" diff --git a/example/icon.png b/example/icon.png deleted file mode 100644 index d4415c1..0000000 Binary files a/example/icon.png and /dev/null differ diff --git a/example/logo.png b/example/logo.png deleted file mode 100644 index 106e5c2..0000000 Binary files a/example/logo.png and /dev/null differ diff --git a/example/rootfs/etc/services.d/example/finish b/example/rootfs/etc/services.d/example/finish deleted file mode 100644 index 3400ad7..0000000 --- a/example/rootfs/etc/services.d/example/finish +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/execlineb -S1 -# ============================================================================== -# Take down the S6 supervision tree when example fails -# s6-overlay docs: https://github.com/just-containers/s6-overlay -# ============================================================================== -if { s6-test ${1} -ne 0 } -if { s6-test ${1} -ne 256 } - -s6-svscanctl -t /var/run/s6/services diff --git a/example/rootfs/etc/services.d/example/run b/example/rootfs/etc/services.d/example/run deleted file mode 100644 index 5e6460a..0000000 --- a/example/rootfs/etc/services.d/example/run +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/with-contenv bashio -# ============================================================================== -# Start the example service -# s6-overlay docs: https://github.com/just-containers/s6-overlay -# ============================================================================== - -# Add your code here - -# Declare variables -declare message - -## Get the 'message' key from the user config options. -message=$(bashio::config 'message') - -## Print the message the user supplied, defaults to "Hello World..." -bashio::log.info "${message:="Hello World..."}" - -## Run your program -# exec my_program --with-params diff --git a/example/translations/en.yaml b/example/translations/en.yaml deleted file mode 100644 index 70de024..0000000 --- a/example/translations/en.yaml +++ /dev/null @@ -1,4 +0,0 @@ -configuration: - message: - name: Message - description: The message that will be printed to the log when starting this example add-on.