Delete example directory
This commit is contained in:
parent
3e08e65720
commit
9d35ae7f8f
11 changed files with 0 additions and 103 deletions
|
@ -1,9 +0,0 @@
|
||||||
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
|
|
||||||
|
|
||||||
## 1.1.0
|
|
||||||
|
|
||||||
- Updates
|
|
||||||
|
|
||||||
## 1.0.0
|
|
||||||
|
|
||||||
- Initial release
|
|
|
@ -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.
|
|
|
@ -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 /
|
|
|
@ -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
|
|
|
@ -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"
|
|
|
@ -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"
|
|
BIN
example/icon.png
BIN
example/icon.png
Binary file not shown.
Before Width: | Height: | Size: 47 KiB |
BIN
example/logo.png
BIN
example/logo.png
Binary file not shown.
Before Width: | Height: | Size: 130 KiB |
|
@ -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
|
|
|
@ -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
|
|
|
@ -1,4 +0,0 @@
|
||||||
configuration:
|
|
||||||
message:
|
|
||||||
name: Message
|
|
||||||
description: The message that will be printed to the log when starting this example add-on.
|
|
Loading…
Add table
Add a link
Reference in a new issue