Skip to content

Commit

Permalink
feat(wyoming-piper) Add wyoming-piper (#10405)
Browse files Browse the repository at this point in the history
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

Add
[wyoming-piper](https://github.com/home-assistant/addons/blob/master/piper/DOCS.md)
(TTS) for Home Assistant.

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

**➕ App addition**

If this PR is an app addition please make sure you have done the
following.

- [x] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [x] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

https://github.com/truecharts/containers/pull/25844

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
Signed-off-by: Alec Fenichel <alec.fenichel@gmail.com>
Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
  • Loading branch information
fenichelar and xstar97 authored Jul 19, 2023
1 parent 3c90d1f commit 0793147
Show file tree
Hide file tree
Showing 9 changed files with 332 additions and 0 deletions.
30 changes: 30 additions & 0 deletions charts/incubator/wyoming-piper/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
1 change: 1 addition & 0 deletions charts/incubator/wyoming-piper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
27 changes: 27 additions & 0 deletions charts/incubator/wyoming-piper/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: v2
appVersion: "0.0.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.6
deprecated: false
description: The Wyoming integration of piper
home: https://truecharts.org/charts/incubator/wyoming-piper
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wyoming-piper.png
keywords:
- wyoming-piper
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: wyoming-piper
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/wyoming-piper
- https://github.com/home-assistant/addons/tree/master/piper
type: application
version: 0.0.1
annotations:
truecharts.org/catagories: |
- home-automation
truecharts.org/SCALE-support: "true"
27 changes: 27 additions & 0 deletions charts/incubator/wyoming-piper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# README

## General Info

TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.

For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/stable/)

**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**


## Support

- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)

---

## Sponsor TrueCharts

TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

*All Rights Reserved - The TrueCharts Project*
Binary file added charts/incubator/wyoming-piper/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
202 changes: 202 additions & 0 deletions charts/incubator/wyoming-piper/questions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}

# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: wyoming_piper
group: App Configuration
label: Piper Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: voice
label: Voice
description: Piper voice that will be used for speach.
schema:
type: string
required: true
default: en-us-lessac-low
enum:
- value: ca-upc_ona-x-low8
description: ca-upc_ona-x-low
- value: ca-upc_pau-x-low8
description: ca-upc_pau-x-low
- value: da-nst_talesyntese-medium8
description: da-nst_talesyntese-medium
- value: de-eva_k-x-low8
description: de-eva_k-x-low
- value: de-thorsten-low8
description: de-thorsten-low
- value: de-karlsson-low8
description: de-karlsson-low
- value: de-kerstin-low8
description: de-kerstin-low
- value: de-pavoque-low8
description: de-pavoque-low
- value: de-ramona-low8
description: de-ramona-low
- value: en-gb-alan-low8
description: en-gb-alan-low
- value: en-gb-southern_english_female-low8
description: en-gb-southern_english_female-low
- value: en-us-amy-low8
description: en-us-amy-low
- value: en-us-kathleen-low8
description: en-us-kathleen-low
- value: en-us-lessac-low8
description: en-us-lessac-low
- value: en-us-lessac-medium8
description: en-us-lessac-medium
- value: en-us-libritts-high8
description: en-us-libritts-high
- value: en-us-ryan-high8
description: en-us-ryan-high
- value: en-us-ryan-low8
description: en-us-ryan-low
- value: en-us-ryan-medium8
description: en-us-ryan-medium
- value: es-carlfm-x-low8
description: es-carlfm-x-low
- value: es-mls_10246-low8
description: es-mls_10246-low
- value: es-mls_9972-low8
description: es-mls_9972-low
- value: fi-harri-low8
description: fi-harri-low
- value: fr-siwis-low8
description: fr-siwis-low
- value: fr-siwis-medium8
description: fr-siwis-medium
- value: fr-gilles-low8
description: fr-gilles-low
- value: fr-mls_1840-low8
description: fr-mls_1840-low
- value: is-bui-medium8
description: is-bui-medium
- value: is-salka-medium8
description: is-salka-medium
- value: is-steinn-medium8
description: is-steinn-medium
- value: is-ugla-medium8
description: is-ugla-medium
- value: it-riccardo_fasol-x-low8
description: it-riccardo_fasol-x-low
- value: kk-iseke-x-low8
description: kk-iseke-x-low
- value: kk-issai-high8
description: kk-issai-high
- value: kk-raya-x-low8
description: kk-raya-x-low
- value: ne-google-medium8
description: ne-google-medium
- value: ne-google-x-low8
description: ne-google-x-low
- value: nl-mls_7432-low8
description: nl-mls_7432-low
- value: nl-nathalie-x-low8
description: nl-nathalie-x-low
- value: nl-rdh-medium8
description: nl-rdh-medium
- value: nl-rdh-x-low8
description: nl-rdh-x-low
- value: nl-mls_5809-low8
description: nl-mls_5809-low
- value: no-talesyntese-medium8
description: no-talesyntese-medium
- value: pl-mls_6892-low8
description: pl-mls_6892-low
- value: pt-br-edresson-low8
description: pt-br-edresson-low
- value: ru-irinia-medium8
description: ru-irinia-medium
- value: uk-lada-x-low8
description: uk-lada-x-low
- value: vi-25hours-single-low8
description: vi-25hours-single-low
- value: vi-vivos-x-low8
description: vi-vivos-x-low
- value: zh-cn-huayan-x-low
description: zh-cn-huayan-x-low

# Include{containerConfig}
# Include{serviceRoot}
# Include{serviceMain}
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10200
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: config
label: "App Config Storage"
description: "Stores the Application Configuration."
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressAdvanced}
# Include{ingressList}
# Include{securityContextRoot}

- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 568
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568

# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}
1 change: 1 addition & 0 deletions charts/incubator/wyoming-piper/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
1 change: 1 addition & 0 deletions charts/incubator/wyoming-piper/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
43 changes: 43 additions & 0 deletions charts/incubator/wyoming-piper/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
image:
repository: tccr.io/truecharts/wyoming-piper
pullPolicy: IfNotPresent
tag: v0.0.2@sha256:f005182e6f3d661f59319c738569e399e519ac1ee92a603a696ca36806f049e7

wyoming_piper:
voice: en-us-lessac-low

workload:
main:
podSpec:
containers:
main:
probes:
liveness:
port: 10200
scheme: tcp
readiness:
port: 10200
scheme: tcp
startup:
port: 10200
scheme: tcp
args:
- --voice
- "{{ .Values.wyoming_piper.voice }}"

service:
main:
ports:
main:
port: 10200
protocol: tcp
targetPort: 10200

persistence:
config:
enabled: true
mountPath: /data

portal:
open:
enabled: false

0 comments on commit 0793147

Please sign in to comment.