From 1d1f21be74c0b516747bd5e7b2f72a155d53443e Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Wed, 10 Sep 2025 13:39:16 +0200 Subject: [PATCH] test CI no log --- .gitea/workflows/dev.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 700a404..69e3d1f 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -1,5 +1,4 @@ name: dev -on: push: branches: - '*' @@ -34,42 +33,9 @@ jobs: run: | git submodule sync --recursive git submodule update --init --recursive - - name: Debug workspace - run: | - pwd - ls -la - git rev-parse --abbrev-ref HEAD || true - if [ -f .gitmodules ]; then echo ".gitmodules present"; cat .gitmodules; else echo "NO .gitmodules"; fi - git submodule status || true - - name: Docker info - run: | - which docker || true - if ! command -v docker >/dev/null 2>&1; then - echo "Docker n'est pas disponible sur ce runner (ubuntu-latest)." >&2 - exit 1 - fi - docker version - docker info - name: Build and push images env: REGISTRY: git.4nkweb.com run: | DOCKER_TAG=$(git rev-parse --abbrev-ref HEAD) bash scripts/build_and_push.sh "$DOCKER_TAG" - - name: Show logs summary - if: always() - run: | - DOCKER_TAG=$(git rev-parse --abbrev-ref HEAD) - if [ -f "log/ci/${DOCKER_TAG}/summary.txt" ]; then - echo "=== Summary for ${DOCKER_TAG} ===" - cat "log/ci/${DOCKER_TAG}/summary.txt" - else - echo "No summary found for ${DOCKER_TAG}" - fi - - name: Upload logs artifact - if: always() - uses: actions/upload-artifact@v4 - with: - name: ci-logs-${{ github.ref_name || 'branch' }} - path: log/ci/** - if-no-files-found: ignore