Skip to content

Commit 4f11167

Browse files
committed
SQ startup
1 parent 1726e88 commit 4f11167

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/qa.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,20 @@ jobs:
119119
image: sonarqube:lts-community
120120
ports:
121121
- 9000:9000
122-
options: >-
123-
--health-cmd "curl --fail --user admin:admin http://127.0.0.1:9000/api/system/status || exit 1"
124-
--health-interval 10s
125-
--health-timeout 5s
126-
--health-retries 1000
122+
volumes:
123+
- ${{ github.workspace }}/sonarqube_data:/opt/sonarqube/data
124+
# options: >-
125+
# --health-cmd "curl --fail --user admin:admin http://127.0.0.1:9000/api/system/status || exit 1"
126+
# --health-interval 10s
127+
# --health-timeout 5s
128+
# --health-retries 1000
127129
steps:
128130
- uses: actions/checkout@v4
129131
with:
130132
token: ${{ secrets.GITHUB_TOKEN }}
133+
- name: List files in the repository
134+
run: |
135+
ls ${{ github.workspace }}
131136
- run: ./test/waitForSonarQubeUp.sh
132137
timeout-minutes: 3
133138
- name: Run action on sample project

0 commit comments

Comments
 (0)