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