diff --git a/.drone.yml b/.drone.yml index 7659ec9..bb0ba2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,9 @@ kind: pipeline type: docker name: build-backend +clone: + depth: 0 + recursive: true # Запускать только если были изменения в папке backend/ trigger: event: [push, pull_request] @@ -10,6 +13,18 @@ trigger: - backend/** steps: + # --- НАЧАЛО ОТЛАДОЧНОГО БЛОКА --- + - name: debug-filesystem + image: alpine/git # Образ с git и стандартными утилитами + commands: + - echo "--- Current directory content ---" + - ls -laR # Рекурсивно показываем все файлы, включая права и скрытые + - echo "--- Content of .gitmodules file ---" + - cat .gitmodules # Показываем, какие URL у субмодулей + - echo "--- Git submodule status ---" + - git submodule status # Самая важная команда! Показывает статус субмодулей + # --- КОНЕЦ ОТЛАДОЧНОГО БЛОКА --- + - name: build-and-publish-backend image: plugins/docker settings: @@ -35,12 +50,28 @@ kind: pipeline type: docker name: build-ping-helper +clone: + depth: 0 + recursive: true + trigger: event: [push, pull_request] path: - ping-helper/** steps: + # --- НАЧАЛО ОТЛАДОЧНОГО БЛОКА --- + - name: debug-filesystem + image: alpine/git # Образ с git и стандартными утилитами + commands: + - echo "--- Current directory content ---" + - ls -laR # Рекурсивно показываем все файлы, включая права и скрытые + - echo "--- Content of .gitmodules file ---" + - cat .gitmodules # Показываем, какие URL у субмодулей + - echo "--- Git submodule status ---" + - git submodule status # Самая важная команда! Показывает статус субмодулей + # --- КОНЕЦ ОТЛАДОЧНОГО БЛОКА --- + - name: build-and-publish-ping-helper image: plugins/docker settings: diff --git a/.gitmodules b/.gitmodules index a878bc9..d30936b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "backend"] path = backend - url = git@gitea.mrixs.me:minecraft-platform/backend.git + url = https://gitea.mrixs.me/minecraft-platform/backend.git [submodule "ping-helper"] path = ping-helper - url = git@gitea.mrixs.me:minecraft-platform/ping-helper.git + url = https://gitea.mrixs.me/minecraft-platform/ping-helper.git