From 9c63ce6dd8fbf252c96e5c04d4020a89d736144a Mon Sep 17 00:00:00 2001 From: Zoom-Developer Date: Fri, 15 Nov 2024 22:32:49 +0300 Subject: [PATCH] Fix endpoint name & disable pre-build --- .github/workflows/deploy.yml | 19 ++++++++++--------- backend/src/main.py | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6554116..43a9074 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,19 +14,19 @@ env: BUILD_NAME: ${{ github.event.head_commit.message }} jobs: - build: - runs-on: self-hosted + # build: + # runs-on: self-hosted - steps: - - name: Checkout - uses: actions/checkout@v4 + # steps: + # - name: Checkout + # uses: actions/checkout@v4 - - name: Build on github - run: docker compose build + # - name: Build on github + # run: docker compose build build-and-run: runs-on: self-hosted - needs: build + # needs: build steps: - name: Checkout @@ -72,7 +72,8 @@ jobs: fail-report: runs-on: self-hosted if: failure() - needs: [build, build-and-run] + # needs: [build, build-and-run] + needs: [build-and-run] steps: - name: Checkout diff --git a/backend/src/main.py b/backend/src/main.py index c9ee24a..0394c2e 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -15,5 +15,5 @@ rabbit ], root_path=ROOT_PATH, - ignoring_log_endpoints=[("/system/ping", "GET"), ("/metrcis", "GET")] + ignoring_log_endpoints=[("/system/ping", "GET"), ("/metrics", "GET")] ) \ No newline at end of file