From 84b14da3f4a1a481de2b33642b48e97219a13ec5 Mon Sep 17 00:00:00 2001 From: husanjon Date: Mon, 4 May 2026 09:49:08 +0500 Subject: [PATCH 1/6] ci cd uchun test commit --- core/apps/tasks/views/board.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/apps/tasks/views/board.py b/core/apps/tasks/views/board.py index 755089e..0d0573b 100644 --- a/core/apps/tasks/views/board.py +++ b/core/apps/tasks/views/board.py @@ -5,6 +5,8 @@ from core.apps.tasks.serializers.board import BoardSerializer from core.apps.tasks.models import Column +#test commit + class BoardListView(generics.ListAPIView): queryset = Column.objects.order_by('id') serializer_class = BoardSerializer From 42987e41546c2b9c17669c5da43f8bedef52ac7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 4 May 2026 04:50:59 +0000 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=94=84=20Update=20image=20to=20148=20?= =?UTF-8?q?[CI=20SKIP]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/urls.py | 2 +- stack.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/urls.py b/config/urls.py index 2ef339d..bc0d945 100644 --- a/config/urls.py +++ b/config/urls.py @@ -13,7 +13,7 @@ from config.env import env def home(request): - return HttpResponse("OK: #65ab51e65224a92a4b6d488d3e8f9b21d3256876") + return HttpResponse("OK: #84b14da3f4a1a481de2b33642b48e97219a13ec5") urlpatterns = [ diff --git a/stack.yaml b/stack.yaml index 5680f4c..56ffc22 100644 --- a/stack.yaml +++ b/stack.yaml @@ -84,7 +84,7 @@ services: max-file: "5" web: - image: husanjon/sifatbaho:147 + image: husanjon/sifatbaho:148 env_file: - .env environment: @@ -129,7 +129,7 @@ services: max-file: "5" celery: - image: husanjon/sifatbaho:147 + image: husanjon/sifatbaho:148 env_file: - .env environment: From 92d23901a189b898a635c1f018dd61953418eaee Mon Sep 17 00:00:00 2001 From: husanjon Date: Mon, 4 May 2026 10:11:35 +0500 Subject: [PATCH 3/6] ci cd uchun test commit --- .github/workflows/deploy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e83c205..a653c05 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -151,6 +151,11 @@ jobs: git fetch origin main git reset --hard origin/main - cp .env.example .env + if [ ! -f .env ]; then + cp .env.example .env + echo ".env yaratildi, production qiymatlarini kiriting!" + fi + export PORT=8085 + docker pull ${{ secrets.DOCKER_USERNAME }}/${{ env.PROJECT_NAME }}:${{ github.run_number }} docker stack deploy -c stack.yaml ${{ env.PROJECT_NAME }} --with-registry-auth From 76d2fe5090cb39907a853d3050a8b3e583483f0e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 4 May 2026 05:14:11 +0000 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=94=84=20Update=20image=20to=20149=20?= =?UTF-8?q?[CI=20SKIP]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/urls.py | 2 +- stack.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/urls.py b/config/urls.py index bc0d945..8c0bc8f 100644 --- a/config/urls.py +++ b/config/urls.py @@ -13,7 +13,7 @@ from config.env import env def home(request): - return HttpResponse("OK: #84b14da3f4a1a481de2b33642b48e97219a13ec5") + return HttpResponse("OK: #92d23901a189b898a635c1f018dd61953418eaee") urlpatterns = [ diff --git a/stack.yaml b/stack.yaml index 56ffc22..e976176 100644 --- a/stack.yaml +++ b/stack.yaml @@ -84,7 +84,7 @@ services: max-file: "5" web: - image: husanjon/sifatbaho:148 + image: husanjon/sifatbaho:149 env_file: - .env environment: @@ -129,7 +129,7 @@ services: max-file: "5" celery: - image: husanjon/sifatbaho:148 + image: husanjon/sifatbaho:149 env_file: - .env environment: From 62f65385e1dada519459965e9e24cfdd20a41e26 Mon Sep 17 00:00:00 2001 From: husanjon Date: Mon, 4 May 2026 10:36:33 +0500 Subject: [PATCH 5/6] fix: DB_HOST=postgres (stack.yaml service nomi bilan mos) Co-Authored-By: Claude Sonnet 4.6 --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 59166c3..dce6653 100644 --- a/.env.example +++ b/.env.example @@ -23,7 +23,7 @@ DB_ENGINE=django.db.backends.postgresql_psycopg2 DB_NAME=django DB_USER=postgres DB_PASSWORD=2309 -DB_HOST=db +DB_HOST=postgres DB_PORT=5432 # Cache From 581021cbb7cd8d996d01b42262746428d21026d7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 4 May 2026 05:38:53 +0000 Subject: [PATCH 6/6] =?UTF-8?q?=F0=9F=94=84=20Update=20image=20to=20150=20?= =?UTF-8?q?[CI=20SKIP]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/urls.py | 2 +- stack.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/urls.py b/config/urls.py index 8c0bc8f..d1143f2 100644 --- a/config/urls.py +++ b/config/urls.py @@ -13,7 +13,7 @@ from config.env import env def home(request): - return HttpResponse("OK: #92d23901a189b898a635c1f018dd61953418eaee") + return HttpResponse("OK: #62f65385e1dada519459965e9e24cfdd20a41e26") urlpatterns = [ diff --git a/stack.yaml b/stack.yaml index e976176..7bfa4ac 100644 --- a/stack.yaml +++ b/stack.yaml @@ -84,7 +84,7 @@ services: max-file: "5" web: - image: husanjon/sifatbaho:149 + image: husanjon/sifatbaho:150 env_file: - .env environment: @@ -129,7 +129,7 @@ services: max-file: "5" celery: - image: husanjon/sifatbaho:149 + image: husanjon/sifatbaho:150 env_file: - .env environment: