Skip to content

Commit

Permalink
SQ startup
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed May 14, 2024
1 parent 1726e88 commit 4f11167
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f11167

Please sign in to comment.