Compare commits
3 Commits
ef1232fa6b
...
f61affb033
Author | SHA1 | Date |
---|---|---|
Simon | f61affb033 | |
Simon | 8296f8dfa2 | |
Simon | e24383643f |
|
@ -1,5 +1,3 @@
|
|||
version: '3.3'
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: nginxproxy/nginx-proxy
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.3'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
build: ./tubearchivist/nginx
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# builder
|
||||
FROM python:3.11.3-slim-bullseye as builder
|
||||
FROM python:3.11.8-slim-bookworm as builder
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential
|
||||
|
@ -8,7 +8,7 @@ COPY requirements.txt /requirements.txt
|
|||
RUN pip install --user -r requirements.txt
|
||||
|
||||
# final
|
||||
FROM python:3.11.3-slim-bullseye as tubearchivist-web
|
||||
FROM python:3.11.8-slim-bookworm as tubearchivist-web
|
||||
|
||||
ARG INSTALL_DEBUG
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
APScheduler==3.10.1
|
||||
beautifulsoup4==4.12.2
|
||||
flask==2.3.2
|
||||
markdown==3.4.4
|
||||
matplotlib==3.7.2
|
||||
pandas==2.0.3
|
||||
psycopg2-binary==2.9.6
|
||||
redis==4.6.0
|
||||
APScheduler==3.10.4
|
||||
beautifulsoup4==4.12.3
|
||||
flask==3.0.3
|
||||
markdown==3.6
|
||||
matplotlib==3.8.4
|
||||
pandas==2.2.2
|
||||
psycopg2-binary==2.9.9
|
||||
redis==5.0.3
|
||||
requests==2.31.0
|
||||
uWSGI==2.0.22
|
||||
uWSGI==2.0.25.1
|
||||
|
|
|
@ -58,6 +58,10 @@ class WebhookBase:
|
|||
],
|
||||
"discord_release_hook": environ.get("GITHUB_RELEASE_HOOK_URL"),
|
||||
},
|
||||
"tubearchivist-jf-plugin": {
|
||||
"gh_user": "tubearchivist",
|
||||
"gh_repo": "tubearchivist-jf-plugin",
|
||||
},
|
||||
"members": {
|
||||
"gh_user": "tubearchivist",
|
||||
"gh_repo": "members",
|
||||
|
|
|
@ -20,6 +20,7 @@ HOOK_URL = {
|
|||
"tubearchivist/tubearchivist": environ.get("GITHUB_TA_HOOK_URL"),
|
||||
"tubearchivist/docs": environ.get("GITHUB_DOCS_URL"),
|
||||
"tubearchivist/tubearchivist-jf": environ.get("GITHUB_JF_URL"),
|
||||
"tubearchivist/tubearchivist-jf-plugin": environ.get("GITHUB_JF_URL"),
|
||||
"tubearchivist/tubearchivist-plex": environ.get("GITHUB_PLEX_URL"),
|
||||
}
|
||||
|
||||
|
@ -123,6 +124,10 @@ class GithubHook(WebhookBase):
|
|||
return
|
||||
|
||||
tag_name = self.hook["release"]["tag_name"]
|
||||
if "build_release" not in self.repo_conf:
|
||||
print("no build_release command")
|
||||
return
|
||||
|
||||
task = TaskHandler(self.repo_conf, tag_name=tag_name)
|
||||
task.create_task("build_release")
|
||||
if self.repo == "tubearchivist":
|
||||
|
|
Loading…
Reference in New Issue