From 4f11167ee9a219a727320346d142e9f2c1a424c2 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 14 May 2024 16:29:28 +0200 Subject: [PATCH] SQ startup --- .github/workflows/qa.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index d49bf50..98f4e63 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -119,15 +119,20 @@ jobs: image: sonarqube:lts-community ports: - 9000:9000 - options: >- - --health-cmd "curl --fail --user admin:admin http://127.0.0.1:9000/api/system/status || exit 1" - --health-interval 10s - --health-timeout 5s - --health-retries 1000 + volumes: + - ${{ github.workspace }}/sonarqube_data:/opt/sonarqube/data +# options: >- +# --health-cmd "curl --fail --user admin:admin http://127.0.0.1:9000/api/system/status || exit 1" +# --health-interval 10s +# --health-timeout 5s +# --health-retries 1000 steps: - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} + - name: List files in the repository + run: | + ls ${{ github.workspace }} - run: ./test/waitForSonarQubeUp.sh timeout-minutes: 3 - name: Run action on sample project