Skip to content

Commit acc0891

Browse files
🔨 Merge of release 1.6.2
1 parent 59a2b92 commit acc0891

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

.default.docker.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
MAVEN_BUILDER_VERSION=3-openjdk-11-slim
2-
SONARQUBE_VERSION=10.5.1-community
1+
MAVEN_BUILDER_VERSION=3-openjdk-17-slim
2+
SONARQUBE_VERSION=10.6.0-community
33
POSTGRES_VERSION=12
44
DOCKER_BUILDKIT=1
55
COMPOSE_DOCKER_CLI_BUILD=1

CHANGELOG.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Deleted
1515

16-
## [1.7.0] - 2024-07-13
17-
18-
### Added
19-
20-
- Add **toolbox.sh** utility script for SonarQube development environment installation
21-
- Add **utils.sh** Add utils.sh script to launch toolbox commands
22-
- Addition of the pytest framework for unit testing bash scripts
23-
-
24-
25-
### Changed
26-
27-
- Update of the "Getting Started" section in the README file
28-
29-
### Deleted
30-
31-
- Removal of utility scripts already present in the toolbox.sh script
32-
3316
## [1.6.1] - 2024-05-15
3417

3518
### Changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ RUN ${ECOCODE_SRC_PATH}/toolbox.sh build
1414

1515
FROM sonarqube:${SONARQUBE_VERSION}
1616
COPY --from=builder ${ECOCODE_SRC_PATH}/target/ecocode-*.jar ${SONARQUBE_PLUGINS_PATH}
17+
USER sonarqube

docker-compose.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ services:
1010
- SONARQUBE_VERSION=${SONARQUBE_VERSION}
1111
container_name: sonar_ecocode_java
1212
ports:
13-
- "9000:9000"
13+
- ":9000"
1414
networks:
1515
- sonarnet
1616
depends_on:
17-
- db
17+
db:
18+
condition: service_healthy
1819
environment:
1920
SONAR_JDBC_USERNAME: sonar
2021
SONAR_JDBC_PASSWORD: sonar
@@ -37,6 +38,12 @@ services:
3738
POSTGRES_PASSWORD: sonar
3839
POSTGRES_DB: sonarqube
3940
PGDATA: pg_data:/var/lib/postgresql/data/pgdata
41+
healthcheck:
42+
test: [ "CMD-SHELL", "pg_isready -U sonar -d sonarqube" ]
43+
interval: 5s
44+
timeout: 5s
45+
retries: 5
46+
4047

4148
networks:
4249
sonarnet:

0 commit comments

Comments
 (0)