CI/CD
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
name: Lint & Test
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: mirror2.chabokan.net/python:3.11
|
||||
image: mirror2.chabokan.net/ubuntu:22.04
|
||||
options: --add-host gitea:172.17.0.1
|
||||
|
||||
steps:
|
||||
@@ -27,6 +27,10 @@ jobs:
|
||||
- name: Setup Ubuntu apt mirrors
|
||||
run: |
|
||||
tee /etc/apt/sources.list > /dev/null <<'EOF'
|
||||
deb https://mirror-linux.runflare.com/ubuntu/ noble main restricted universe multiverse
|
||||
deb https://mirror-linux.runflare.com/ubuntu/ noble-updates main restricted universe multiverse
|
||||
deb https://mirror-linux.runflare.com/ubuntu/ noble-backports main restricted universe multiverse
|
||||
deb https://mirror-linux.runflare.com/ubuntu/ noble-security main restricted universe multiverse
|
||||
|
||||
deb [trusted=yes] https://mirror2.chabokan.net/ubuntu focal main universe
|
||||
deb [trusted=yes] https://mirror2.chabokan.net/ubuntu focal-updates main universe
|
||||
@@ -81,6 +85,9 @@ jobs:
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apt-get install -y \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
pkg-config \
|
||||
build-essential \
|
||||
default-libmysqlclient-dev
|
||||
|
||||
+16
-16
@@ -1,16 +1,16 @@
|
||||
Django>=5.0,<6
|
||||
djangorestframework>=3.14,<4
|
||||
djangorestframework-simplejwt>=5.3,<6
|
||||
django-cors-headers>=4.3,<5
|
||||
mysqlclient>=2.2,<3
|
||||
gunicorn>=22,<25
|
||||
drf-spectacular>=0.27,<1
|
||||
drf-spectacular-sidecar>=2024.7.1
|
||||
python-dotenv>=1.0,<2
|
||||
celery[redis]>=5.4,<6
|
||||
redis>=5.0,<6
|
||||
requests>=2.31,<3
|
||||
openai>=1.0,<2
|
||||
chromadb>=0.4,<0.5
|
||||
qdrant-client>=1.7,<2
|
||||
pyyaml>=6.0
|
||||
Django>=5.0,<5.2
|
||||
djangorestframework>=3.14,<3.16
|
||||
djangorestframework-simplejwt>=5.3,<5.4
|
||||
django-cors-headers>=4.3,<4.5
|
||||
mysqlclient>=2.2,<2.3
|
||||
gunicorn>=22,<23
|
||||
drf-spectacular>=0.27,<0.28
|
||||
drf-spectacular-sidecar>=2024.7.1,<2025
|
||||
python-dotenv>=1.0,<1.1
|
||||
celery[redis]>=5.3,<5.4
|
||||
redis>=5.0,<5.1
|
||||
requests>=2.31,<2.32
|
||||
openai>=1.0,<1.40
|
||||
chromadb>=0.4.24,<0.5
|
||||
qdrant-client>=1.7,<1.9
|
||||
pyyaml>=6.0,<7
|
||||
|
||||
Reference in New Issue
Block a user