mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
Compare commits
2 Commits
295abaf4cf
...
e097fbe0ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e097fbe0ef | ||
|
|
8639038be2 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -21,6 +21,8 @@ target/
|
|||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.rar
|
*.rar
|
||||||
|
|
||||||
|
Chart.lock
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
|
|
||||||
|
|||||||
3
.tiltignore
Normal file
3
.tiltignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
*.tgz
|
||||||
|
tilt/sissi-dev/tmpcharts/
|
||||||
|
tilt/sissi-dev/charts/*.tgz
|
||||||
3
Tiltfile
3
Tiltfile
@@ -38,7 +38,8 @@ docker_build(registry + 'sissi-private-rest-api', 'deployment/image-packaging/sr
|
|||||||
docker_build(registry + 'sissi-template-data', 'deployment/image-packaging/src/main/docker/template-data/')
|
docker_build(registry + 'sissi-template-data', 'deployment/image-packaging/src/main/docker/template-data/')
|
||||||
|
|
||||||
|
|
||||||
k8s_yaml(helm('deployment/helm/sissi', values=
|
local('cd tilt/sissi-dev && helm dep up')
|
||||||
|
k8s_yaml(helm('tilt/sissi-dev', values=
|
||||||
['./../Sissi-environments/argocd/apps/sissi/values/local/values.yaml',
|
['./../Sissi-environments/argocd/apps/sissi/values/local/values.yaml',
|
||||||
'secrets://./../Sissi-environments/argocd/apps/sissi/values/local/values.secrets.yaml']
|
'secrets://./../Sissi-environments/argocd/apps/sissi/values/local/values.secrets.yaml']
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -136,6 +136,11 @@
|
|||||||
<artifactId>statistic-impl</artifactId>
|
<artifactId>statistic-impl</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>dev.sheldan.abstracto.modules</groupId>
|
||||||
|
<artifactId>sticky-roles-impl</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.sheldan.abstracto.modules</groupId>
|
<groupId>dev.sheldan.abstracto.modules</groupId>
|
||||||
<artifactId>giveaway-impl</artifactId>
|
<artifactId>giveaway-impl</artifactId>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
|
|||||||
spring.datasource.username= ${DB_USER}
|
spring.datasource.username= ${DB_USER}
|
||||||
spring.datasource.password= ${DB_PASS}
|
spring.datasource.password= ${DB_PASS}
|
||||||
spring.datasource.hikari.maximum-pool-size=${hikariPoolSize}
|
spring.datasource.hikari.maximum-pool-size=${hikariPoolSize}
|
||||||
spring.jpa.hibernate.default_schema=abstracto
|
spring.jpa.hibernate.default_schema=${DB_SCHEMA}
|
||||||
spring.jpa.properties.hibernate.default_schema=abstracto
|
spring.jpa.properties.hibernate.default_schema=${DB_SCHEMA}
|
||||||
spring.quartz.jdbc.initialize-schema=never
|
spring.quartz.jdbc.initialize-schema=never
|
||||||
management.metrics.tags.application=Sissi
|
management.metrics.tags.application=Sissi
|
||||||
management.endpoint.health.probes.enabled=true
|
management.endpoint.health.probes.enabled=true
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: db-config-deployment-job
|
- name: db-config-deployment-job
|
||||||
image: "{{ $.Values.dbConfigDeployment.repository }}/{{ $.Values.dbConfigDeployment.image }}:{{ $.Values.dbConfigDeployment.tag | default .Chart.AppVersion}}"
|
image: "{{ $.Values.dbConfigDeployment.repository }}/{{ $.Values.dbConfigDeployment.image }}:{{ $.Values.dbConfigDeployment.tag | default .Chart.Version }}"
|
||||||
imagePullPolicy: {{ $.Values.dbConfigDeployment.pullPolicy }}
|
imagePullPolicy: {{ $.Values.dbConfigDeployment.pullPolicy }}
|
||||||
args:
|
args:
|
||||||
- "/var/db-config/"
|
- "/var/db-config/"
|
||||||
@@ -48,7 +48,7 @@ spec:
|
|||||||
name: db-credentials
|
name: db-credentials
|
||||||
key: dbName
|
key: dbName
|
||||||
- name: DB_SCHEME
|
- name: DB_SCHEME
|
||||||
value: "abstracto"
|
value: {{ .Values.dbCredentials.schema }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/var/db-config/"
|
- mountPath: "/var/db-config/"
|
||||||
name: database-config-mount
|
name: database-config-mount
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.bot.repository }}/{{ .Values.bot.image }}:{{ .Values.bot.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.bot.repository }}/{{ .Values.bot.image }}:{{ .Values.bot.tag | default .Chart.Version }}"
|
||||||
imagePullPolicy: {{ .Values.bot.pullPolicy }}
|
imagePullPolicy: {{ .Values.bot.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: DB_PASS
|
- name: DB_PASS
|
||||||
@@ -57,6 +57,8 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: db-credentials
|
name: db-credentials
|
||||||
key: dbName
|
key: dbName
|
||||||
|
- name: DB_SCHEMA
|
||||||
|
value: {{ .Values.dbCredentials.schema }}
|
||||||
- name: DEBRA_DONATION_NOTIFICATION_SERVER_ID
|
- name: DEBRA_DONATION_NOTIFICATION_SERVER_ID
|
||||||
value: "297910194841583616"
|
value: "297910194841583616"
|
||||||
- name: TOKEN
|
- name: TOKEN
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: template-deployment-job
|
- name: template-deployment-job
|
||||||
image: "{{ $.Values.templateDeployment.repository }}/{{ $.Values.templateDeployment.image }}:{{ $.Values.templateDeployment.tag | default .Chart.AppVersion }}"
|
image: "{{ $.Values.templateDeployment.repository }}/{{ $.Values.templateDeployment.image }}:{{ $.Values.templateDeployment.tag | default .Chart.Version }}"
|
||||||
imagePullPolicy: {{ $.Values.templateDeployment.pullPolicy }}
|
imagePullPolicy: {{ $.Values.templateDeployment.pullPolicy }}
|
||||||
args:
|
args:
|
||||||
- "/var/template-config/"
|
- "/var/template-config/"
|
||||||
@@ -48,7 +48,7 @@ spec:
|
|||||||
name: db-credentials
|
name: db-credentials
|
||||||
key: dbName
|
key: dbName
|
||||||
- name: DB_SCHEME
|
- name: DB_SCHEME
|
||||||
value: "abstracto."
|
value: "{{ .Values.dbCredentials.schema }}."
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/var/template-config/"
|
- mountPath: "/var/template-config/"
|
||||||
name: template-config-mount
|
name: template-config-mount
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ dbCredentials:
|
|||||||
userName: null
|
userName: null
|
||||||
password: null
|
password: null
|
||||||
name: null
|
name: null
|
||||||
|
schema: abstracto
|
||||||
grafanaDeployment:
|
grafanaDeployment:
|
||||||
repository: harbor.sheldan.dev/grafana-tools
|
repository: harbor.sheldan.dev/grafana-tools
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|||||||
@@ -171,6 +171,17 @@
|
|||||||
<destFileName>moderation.zip</destFileName>
|
<destFileName>moderation.zip</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
|
|
||||||
|
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||||
|
<artifactId>sticky-roles</artifactId>
|
||||||
|
<version>${abstracto.templates.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
<overWrite>true</overWrite>
|
||||||
|
<outputDirectory>${file.basedir}/template-data/template-artifacts/</outputDirectory>
|
||||||
|
<destFileName>sticky-roles.zip</destFileName>
|
||||||
|
</artifactItem>
|
||||||
|
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
|
||||||
<artifactId>entertainment</artifactId>
|
<artifactId>entertainment</artifactId>
|
||||||
@@ -316,6 +327,16 @@
|
|||||||
<destFileName>experience-tracking.zip</destFileName>
|
<destFileName>experience-tracking.zip</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
|
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||||
|
<artifactId>sticky-roles</artifactId>
|
||||||
|
<version>${abstracto.templates.version}</version>
|
||||||
|
<type>zip</type>
|
||||||
|
<overWrite>true</overWrite>
|
||||||
|
<outputDirectory>${file.basedir}/template-data/translation-artifacts/</outputDirectory>
|
||||||
|
<destFileName>sticky-roles.zip</destFileName>
|
||||||
|
</artifactItem>
|
||||||
|
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
<groupId>dev.sheldan.abstracto-templates.translations</groupId>
|
||||||
<artifactId>twitch</artifactId>
|
<artifactId>twitch</artifactId>
|
||||||
@@ -577,6 +598,17 @@
|
|||||||
<destFileName>logging.zip</destFileName>
|
<destFileName>logging.zip</destFileName>
|
||||||
</artifactItem>
|
</artifactItem>
|
||||||
|
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>dev.sheldan.abstracto.modules</groupId>
|
||||||
|
<artifactId>sticky-roles-impl</artifactId>
|
||||||
|
<version>${abstracto.version}</version>
|
||||||
|
<classifier>liquibase</classifier>
|
||||||
|
<type>zip</type>
|
||||||
|
<overWrite>true</overWrite>
|
||||||
|
<outputDirectory>${file.basedir}/db-data/liquibase-artifacts/</outputDirectory>
|
||||||
|
<destFileName>sticky-roles.zip</destFileName>
|
||||||
|
</artifactItem>
|
||||||
|
|
||||||
<artifactItem>
|
<artifactItem>
|
||||||
<groupId>dev.sheldan.abstracto.modules</groupId>
|
<groupId>dev.sheldan.abstracto.modules</groupId>
|
||||||
<artifactId>starboard-impl</artifactId>
|
<artifactId>starboard-impl</artifactId>
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
{ "zip": "remind", "file": "remind-changeLog.xml"},
|
{ "zip": "remind", "file": "remind-changeLog.xml"},
|
||||||
{ "zip": "suggestion", "file": "suggestion-changeLog.xml"},
|
{ "zip": "suggestion", "file": "suggestion-changeLog.xml"},
|
||||||
{ "zip": "modmail", "file": "modMail-changeLog.xml"},
|
{ "zip": "modmail", "file": "modMail-changeLog.xml"},
|
||||||
|
{ "zip": "sticky-roles", "file": "stickyRoles-changeLog.xml"},
|
||||||
{ "zip": "twitch", "file": "twitch-changeLog.xml"},
|
{ "zip": "twitch", "file": "twitch-changeLog.xml"},
|
||||||
{ "zip": "assignable-roles", "file": "assignableRoles-changeLog.xml"},
|
{ "zip": "assignable-roles", "file": "assignableRoles-changeLog.xml"},
|
||||||
{ "zip": "moderation-custom", "file": "moderation-custom-changeLog.xml"}
|
{ "zip": "moderation-custom", "file": "moderation-custom-changeLog.xml"}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"template_artifacts": [
|
"template_artifacts": [
|
||||||
"core","starboard", "link-embed", "moderation", "entertainment", "custom-command", "utility", "webservices", "remind",
|
"core","starboard", "link-embed", "moderation", "entertainment", "custom-command", "utility", "webservices", "remind",
|
||||||
"suggestion", "modmail", "assignable-roles", "experience-tracking", "logging", "statistic", "twitch", "giveaway",
|
"suggestion", "modmail", "assignable-roles", "experience-tracking", "logging", "statistic", "twitch", "giveaway", "sticky-roles",
|
||||||
"image-generation",
|
"image-generation",
|
||||||
"quotes", "meetup", "debra", "rss-news",
|
"quotes", "meetup", "debra", "rss-news",
|
||||||
"moderation-custom", "image-generation-custom",
|
"moderation-custom", "image-generation-custom",
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
"translation_artifacts": [
|
"translation_artifacts": [
|
||||||
"core",
|
"core",
|
||||||
"starboard", "link-embed", "moderation", "entertainment", "custom-command", "utility", "webservices",
|
"starboard", "link-embed", "moderation", "entertainment", "custom-command", "utility", "webservices",
|
||||||
"suggestion", "remind", "modmail", "assignable-roles", "experience-tracking", "logging", "statistic", "twitch", "giveaway",
|
"suggestion", "remind", "modmail", "assignable-roles", "experience-tracking", "logging", "statistic", "twitch", "giveaway", "sticky-roles",
|
||||||
"image-generation",
|
"image-generation",
|
||||||
"quotes", "meetup", "debra", "rss-news",
|
"quotes", "meetup", "debra", "rss-news",
|
||||||
"moderation-custom",
|
"moderation-custom",
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -18,8 +18,8 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<abstracto.version>1.5.24</abstracto.version>
|
<abstracto.version>1.5.25-SNAPSHOT</abstracto.version>
|
||||||
<abstracto.templates.version>1.4.32</abstracto.templates.version>
|
<abstracto.templates.version>1.4.33-SNAPSHOT</abstracto.templates.version>
|
||||||
<apache-jena.version>4.9.0</apache-jena.version>
|
<apache-jena.version>4.9.0</apache-jena.version>
|
||||||
<rssreader.version>3.5.0</rssreader.version>
|
<rssreader.version>3.5.0</rssreader.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
11
tilt/sissi-dev/Chart.yaml
Normal file
11
tilt/sissi-dev/Chart.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
description: sissi dev chart
|
||||||
|
name: sissi-dev
|
||||||
|
version: 1.0.0
|
||||||
|
dependencies:
|
||||||
|
- name: sissi
|
||||||
|
repository: file://../../deployment/helm/sissi
|
||||||
|
version: ">= 0.0.1"
|
||||||
|
- name: postgresql
|
||||||
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
|
version: 12.12.10 # 13.x.x uses postgresql 16.x
|
||||||
Reference in New Issue
Block a user