From 796712ef2e8aabeaa73b1d13afe9452f3d7f6d0c Mon Sep 17 00:00:00 2001 From: Mateusz Suski Date: Thu, 30 Apr 2026 06:51:50 +0000 Subject: [PATCH] adjust gitea workflow --- .gitea/workflows/ci.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6c3bf38..947c890 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,24 +3,31 @@ name: ci on: push: branches: [main] - pull_request: - branches: [main] jobs: validate: - runs-on: ubuntu + runs-on: docker steps: - name: Checkout uses: actions/checkout@v4 - - name: Install dependencies + - name: Debug + run: | + echo "START" + whoami + pwd + ls -la + + - name: Install deps + shell: bash run: | apt-get update - apt-get install -y python3 python3-pip docker.io + apt-get install -y python3 python3-pip pip3 install ansible - name: Python syntax check + shell: bash run: | python3 -m py_compile \ migration-validation-framework/cli.py \ @@ -29,10 +36,12 @@ jobs: migration-validation-framework/reports/*.py - name: Ansible syntax check + shell: bash run: | ansible-playbook -i enterprise-infra-simulator/inventory/hosts.ini \ --syntax-check enterprise-infra-simulator/playbooks/*.yml - name: Docker compose validation + shell: bash run: | docker compose -f observability-stack/docker-compose.yml config \ No newline at end of file