Compare commits

...

5 Commits

Author SHA1 Message Date
TrueCharts Bot
5fe80fa416 chore(deps): update container image tccr.io/truecharts/adminer to latest (#10154) 2023-07-04 17:40:28 +02:00
TrueCharts Bot
b8ec685aa9 chore(deps): update container image tccr.io/truecharts/rsshub to latest (#10153) 2023-07-04 16:34:08 +02:00
TrueCharts Bot
a651a3eae6 chore(deps): update container image tccr.io/truecharts/boinc to latest (#10152) 2023-07-04 16:33:55 +02:00
Xstar97TheNoob
38ce226fc4 fix(discordgsm) fix discordgsm questions **BREAKING CHANGES** (#10151)
**Description**
Fix questions to match secrets/custom variables.

⚒️ Fixes  #9997

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [X] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 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
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ 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.

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

---

_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._
2023-07-04 15:37:37 +03:00
Xstar97TheNoob
3a5161b2af chore(whisper-asr-webservice) move whisper-asr-webservice to stable (#10148)
**Description**
- Move app to stable train.
- update tag to the latest version
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 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:**
I really prefer updating the chart description from "Whisper is a
general-purpose speech recognition model." to "OpenAI Whisper ASR
Webservice API."

This chart isnt the whisper model itself, its an api web service.

**✔️ 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
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ 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.

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

---

_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._
2023-07-04 15:36:25 +03:00
20 changed files with 155 additions and 125 deletions

View File

@@ -26,4 +26,4 @@ sources:
- https://github.com/vrana/adminer
- http://hub.docker.com/_/adminer/
type: application
version: 4.0.32
version: 4.0.33

View File

@@ -1,7 +1,7 @@
image:
pullPolicy: IfNotPresent
repository: tccr.io/truecharts/adminer
tag: latest@sha256:94a8695bc522ba8f25822b2333088ae18c04a717e18c414543b9b76d5f7cb826
tag: latest@sha256:162fee36eb5fe132517ff63de4ae864a7f5e914071ee0da78bcd38c345b1506f
securityContext:
container:

View File

@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: boinc
version: 5.0.29
version: 5.0.30
appVersion: "latest"
description: BOINC is a platform for high-throughput computing on a large scale (thousands or millions of computers).
type: application

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/boinc
pullPolicy: IfNotPresent
tag: latest@sha256:ab7ea7fc669639a2248739f4dffe19ca11468ca5351ecb274174178e250df975
tag: latest@sha256:007f395353bf706825a25cc9fef28385e0409205964e55e71e264e882e34627a
securityContext:
container:

View File

@@ -20,7 +20,7 @@ name: discordgsm
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/discordgsm
- https://github.com/DiscordGSM/GameServerMonitor
version: 2.0.24
version: 3.0.0
annotations:
truecharts.org/catagories: |
- monitor

View File

@@ -10,109 +10,131 @@ questions:
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: app_token
label: App Token
description: Discord Bot Token.
schema:
type: string
required: true
default: ""
- variable: whitelist_guilds
label: Whitelist Guilds
description: Discord Guild ID
schema:
type: list
required: true
default: []
items:
- variable: whitelist_guild_entry
label: Whitelist Guild Entry
schema:
type: string
required: true
default: ""
- variable: app_activity_type
label: App Activity Type
description: Presence activity type override.
schema:
type: string
required: true
default: "3"
enum:
- value: "0"
description: Playing
- value: "1"
description: Streaming
- value: "2"
description: Listening
- value: "3"
description: Watching
- value: "5"
description: Competing
- variable: app_activity_name
label: App Activity Name
description: Presence activity name override.
schema:
type: string
default: ""
- variable: app_presence_advertise
label: App Presence Advertise
description: Enable advertisement feature on presence
schema:
type: boolean
default: false
- variable: task_query_server
label: Task Query Server
description: Query servers task scheduled time in seconds.
schema:
type: int
default: 60
- variable: command_query_public
label: Command Query Public
description: Whether the /queryserver command should be available to all users.
schema:
type: boolean
default: false
- variable: command_query_cooldown
label: Command Query Cooldown
description: The /queryserver command cooldown in seconds. (Administrator will not be affected)
schema:
type: int
default: 5
- variable: web_api_enable
label: Web API Enable
description: Enable Web API feature.
schema:
type: boolean
default: false
# Include{containerBasic}
# Include{containerAdvanced}
- variable: gsm
group: App Configuration
label: GSM Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: app_token
label: App Token
description: Discord Bot Token.
schema:
type: string
private: true
default: ""
- variable: whitelist_guilds
label: Whitelist Guilds
schema:
type: list
default: []
items:
- variable: whitelist_guild_entry
label: Whitelist Guild Entry
schema:
type: string
required: true
default: ""
- variable: app_activity_type
label: App Activity Type
description: How you want to get your WAN IP
schema:
type: string
default: "3"
enum:
- value: "0"
description: Playing
- value: "1"
description: Streaming
- value: "2"
description: Listening
- value: "3"
description: Watching
- value: "5"
description: Competing
- variable: app_activity_name
label: App Activity Name
description: Presence activity name override.
schema:
type: string
default: ""
- variable: app_presence_advertise
label: App Presence Advertise
description: Enable advertisement feature on presence
schema:
type: boolean
default: false
- variable: task_query_server
label: Task Query Server
description: Query servers task scheduled time in seconds.
schema:
type: int
default: 60
- variable: command_query_public
label: Command Query Public
description: Whether the /queryserver command should be available to all users.
schema:
type: boolean
default: false
- variable: command_query_cooldown
label: Command Query Cooldown
description: The /queryserver command cooldown in seconds. (Administrator will not be affected)
schema:
type: int
default: 5
- variable: web_api_enable
label: Web API Enable
description: Enable Web API feature.
schema:
type: boolean
default: false
- variable: factorio
label: Show Factorio Auth Settings
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: factorio_username
label: Factorio Username
schema:
type: string
default: ""
- variable: factorio_auth_token
label: Factorio Auth Token
schema:
type: string
private: true
default: ""
# Include{containerConfig}
# Include{podOptions}
# Include{serviceRoot}
# Include{serviceMain}
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras}
- variable: main
label: Main Service Port Configuration
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
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10589
default: 10230
required: true
# Include{serviceExpertRoot}
# Include{serviceExpert}

View File

@@ -1,22 +1,28 @@
{{/* Define the secret */}}
{{- define "gsm.secret" -}}
{{- $gsm := .Values.gsm -}}
enabled: true
data:
DATABASE_URL: {{ .Values.cnpg.main.creds.std | trimAll "\"" }}
DB_CONNECTION: {{ print "postgres" }}
APP_TOKEN: {{ .Values.gsm.app_token | quote }}
{{- with .Values.gsm.whitelist_guilds }}
APP_TOKEN: {{ $gsm.app_token | quote }}
{{- with $gsm.whitelist_guilds }}
WHITELIST_GUILDS: {{ join ";" . | quote }}
{{- end }}
APP_ACTIVITY_TYPE: {{ .Values.gsm.app_activity_type | quote }}
{{- with .Values.gsm.app_activity_name }}
APP_ACTIVITY_TYPE: {{ $gsm.app_activity_type | quote }}
{{- with $gsm.app_activity_name }}
APP_ACTIVITY_NAME: {{ . | quote }}
{{- end }}
APP_PRESENCE_ADVERTISE: {{ .Values.gsm.app_presence_advertise | quote }}
POSTGRES_SSL_MODE: {{ .Values.gsm.postgres_ssl_mode | quote }}
TASK_QUERY_SERVER: {{ .Values.gsm.task_query_server | quote }}
COMMAND_QUERY_PUBLIC: {{ .Values.gsm.command_query_public | quote }}
COMMAND_QUERY_COOLDOWN: {{ .Values.gsm.command_query_cooldown | quote }}
WEB_API_ENABLE: {{ .Values.gsm.web_api_enable | quote }}
APP_PRESENCE_ADVERTISE: {{ $gsm.app_presence_advertise | quote }}
POSTGRES_SSL_MODE: {{ $gsm.postgres_ssl_mode | quote }}
TASK_QUERY_SERVER: {{ $gsm.task_query_server | quote }}
COMMAND_QUERY_PUBLIC: {{ $gsm.command_query_public | quote }}
COMMAND_QUERY_COOLDOWN: {{ $gsm.command_query_cooldown | quote }}
WEB_API_ENABLE: {{ $gsm.web_api_enable | quote }}
{{- with $gsm.factorio_username }}
FACTORIO_USERNAME: {{ . | quote }}
{{- end }}
{{- with $gsm.factorio_auth_token }}
FACTORIO_TOKEN: {{ . | quote }}
{{- end }}
{{- end }}

View File

@@ -22,7 +22,6 @@ gsm:
workers: 2
timeout: 90
# Bot Config
app_token: ""
whitelist_guilds: []
app_activity_type: 3
@@ -33,6 +32,9 @@ gsm:
command_query_cooldown: 5
web_api_enable: false
postgres_ssl_mode: disable
# factorio
factorio_username: ""
factorio_auth_token: ""
workload:
main:

View File

@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: rsshub
version: 7.0.75
version: 7.0.76
appVersion: "latest"
description: RSSHub can generate RSS feeds from pretty much everything
type: application

View File

@@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/rsshub
pullPolicy: IfNotPresent
tag: latest@sha256:ccbf59387dc9244b35d023ee016867841dd7be69397639a72e5445266884656b
tag: latest@sha256:7a4b99a62b5aa910f8b2ccbd7631ffa2c4f855b36b178a57b82b4b6c3ff06977
browserlessImage:
repository: tccr.io/truecharts/browserless-chrome
tag: v1.59.0-chrome@sha256:99c16b500ad4e40914acd9a0993f74b61c13299f24295dc758959bf68c839e58

View File

@@ -1,12 +1,12 @@
apiVersion: v2
appVersion: "1.1.0"
appVersion: "1.1.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.6
deprecated: false
description: Whisper is a general-purpose speech recognition model.
home: https://truecharts.org/charts/incubator/whisper-asr-webservice
home: https://truecharts.org/charts/stable/whisper-asr-webservice
icon: https://truecharts.org/img/hotlink-ok/chart-icons/whisper-asr-webservice.png
keywords:
- whisper-asr-webservice
@@ -18,10 +18,10 @@ maintainers:
url: https://truecharts.org
name: whisper-asr-webservice
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/whisper-asr-webservice
- https://github.com/truecharts/charts/tree/master/charts/stable/whisper-asr-webservice
- https://github.com/ahmetoner/whisper-asr-webservice
type: application
version: 0.0.7
version: 0.0.8
annotations:
truecharts.org/catagories: |
- machine-learning

View File

@@ -8,13 +8,13 @@ The main service runs a Interactive Swagger API documentation is available at <h
The **ASR Model** has the following values:
| Model | Required VRAM | Relative speed |
|---------|--------------|----------------|
| tiny | ~1 GB | ~32x |
| base | ~1 GB | ~16x |
| small | ~2 GB | ~6x |
| medium | ~5 GB | ~2x |
| large | ~10 GB | ~1x |
| Model | Required VRAM | Relative speed |
| ------ | ------------- | -------------- |
| tiny | ~1 GB | ~32x |
| base | ~1 GB | ~16x |
| small | ~2 GB | ~6x |
| medium | ~5 GB | ~2x |
| large | ~10 GB | ~1x |
Default is **Base**.
@@ -24,14 +24,14 @@ The **ASR Engine** is default to **Faster Whisper**, explained [here](https://gi
A list of Engines available.
| Engines |
|--------------------|
| Faster Whisper |
| OpenAI Whisper |
| Engines |
| -------------- |
| Faster Whisper |
| OpenAI Whisper |
## Cache
> The ASR model is downloaded each time you start the container, using the large model this can take some time. If you want to decrease the time it takes to start your container by skipping the download, you can store the cache directory (/root/.cache/whisper) to an persistent storage. Next time you start your container the ASR Model will be taken from the cache instead of being downloaded again.
Important this will prevent you from receiving any updates to the models.
> Important this will prevent you from receiving any updates to the models.
You can set the pre-persisted mount **whisper** as emptyDir and set it as default or memory if you have the ram for it.

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -1,11 +1,11 @@
image:
repository: tccr.io/truecharts/whisper-asr-webservice-cpu
pullPolicy: IfNotPresent
tag: v1.1.0@sha256:d23d734490bb8ae57d19d7c93965f213e9f96fb6f85b10c01f2f10ecec2e19f4
tag: v1.1.1@sha256:a8aa7c7298cdba9bd31e752fcfbd27cbb99a8e478abd81f20c57d868729638b4
gpuImage:
repository: tccr.io/truecharts/whisper-asr-webservice-gpu
pullPolicy: IfNotPresent
tag: v1.1.0@sha256:39851411e99bbc02488d994f9d077197d8ef536e251e941006f5e0f65cb55461
tag: v1.1.1@sha256:64d515e7f6ea8fa03fd36bd67b68125e9ad525222f1ec0b520dd7e5c11dd0530
securityContext:
container: