Skip to content
Snippets Groups Projects
Commit 8ba6678d authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Improved sonar properties file

parent 8b2f8314
No related branches found
No related tags found
No related merge requests found
Pipeline #92625 passed
FROM golang:1.24 as builder
FROM golang:1.24 AS builder
WORKDIR /
RUN apt-get update && apt-get install unzip
RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v29.1/protoc-29.1-linux-x86_64.zip
......@@ -29,9 +29,6 @@ RUN CGO_ENABLED=0 GOOS=linux go test ./...
WORKDIR /build/pkg/cmd/server
RUN CGO_ENABLED=0 GOOS=linux go build
RUN cat /build/go.mod
RUN cat /build/go.sum
FROM alpine:latest
MAINTAINER nmaas@lists.geant.org
COPY --from=builder /build/pkg/cmd/server/server /go/bin/nmaas-janitor
......
# must be unique in a given SonarQube instance
#sonar.projectKey=my:project
sonar.sources=.
sonar.exclusions=**/*_test.go
# --- optional properties ---
# defaults to project key
#sonar.projectName=My project
# defaults to 'not provided'
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Defaults to .
#sonar.sources=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
\ No newline at end of file
sonar.tests=.
sonar.test.inclusions=**/*_test.go
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment