Skip to content

Commit

Permalink
🔨 Merge of release 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlouet committed Jul 22, 2024
1 parent 59a2b92 commit acc0891
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .default.docker.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAVEN_BUILDER_VERSION=3-openjdk-11-slim
SONARQUBE_VERSION=10.5.1-community
MAVEN_BUILDER_VERSION=3-openjdk-17-slim
SONARQUBE_VERSION=10.6.0-community
POSTGRES_VERSION=12
DOCKER_BUILDKIT=1
COMPOSE_DOCKER_CLI_BUILD=1
17 changes: 0 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deleted

## [1.7.0] - 2024-07-13

### Added

- Add **toolbox.sh** utility script for SonarQube development environment installation
- Add **utils.sh** Add utils.sh script to launch toolbox commands
- Addition of the pytest framework for unit testing bash scripts
-

### Changed

- Update of the "Getting Started" section in the README file

### Deleted

- Removal of utility scripts already present in the toolbox.sh script

## [1.6.1] - 2024-05-15

### Changed
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ RUN ${ECOCODE_SRC_PATH}/toolbox.sh build

FROM sonarqube:${SONARQUBE_VERSION}
COPY --from=builder ${ECOCODE_SRC_PATH}/target/ecocode-*.jar ${SONARQUBE_PLUGINS_PATH}
USER sonarqube
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ services:
- SONARQUBE_VERSION=${SONARQUBE_VERSION}
container_name: sonar_ecocode_java
ports:
- "9000:9000"
- ":9000"
networks:
- sonarnet
depends_on:
- db
db:
condition: service_healthy
environment:
SONAR_JDBC_USERNAME: sonar
SONAR_JDBC_PASSWORD: sonar
Expand All @@ -37,6 +38,12 @@ services:
POSTGRES_PASSWORD: sonar
POSTGRES_DB: sonarqube
PGDATA: pg_data:/var/lib/postgresql/data/pgdata
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U sonar -d sonarqube" ]
interval: 5s
timeout: 5s
retries: 5


networks:
sonarnet:
Expand Down

0 comments on commit acc0891

Please sign in to comment.