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