Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 647e3c1c authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Update coverity, drmemory, sonar-scanner

parent 4a49dd69
No related branches found
No related tags found
No related merge requests found
Pipeline #996673 failed
...@@ -4,9 +4,9 @@ stages: ...@@ -4,9 +4,9 @@ stages:
- build-second-layout - build-second-layout
.config: .config:
image: docker:19.03.12 image: docker
services: services:
- docker:19.03.12-dind - docker:dind
tags: ['docker'] tags: ['docker']
artifacts: artifacts:
untracked: true untracked: true
......
...@@ -7,7 +7,7 @@ ENV FORCE_UNSAFE_CONFIGURE=1 ...@@ -7,7 +7,7 @@ ENV FORCE_UNSAFE_CONFIGURE=1
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update RUN apt-get update
RUN apt-get upgrade -y \ RUN apt-get upgrade --no-install-recommends -y \
sudo \ sudo \
bash \ bash \
cpio \ cpio \
...@@ -20,7 +20,7 @@ RUN apt-get upgrade -y \ ...@@ -20,7 +20,7 @@ RUN apt-get upgrade -y \
patch \ patch \
unzip \ unzip \
bzip2 \ bzip2 \
mlocate \ plocate \
gawk \ gawk \
bison \ bison \
flex \ flex \
...@@ -62,11 +62,12 @@ RUN apt-get upgrade -y \ ...@@ -62,11 +62,12 @@ RUN apt-get upgrade -y \
python3-seaborn \ python3-seaborn \
python3-setuptools \ python3-setuptools \
pylint \ pylint \
xsltproc \
r-cran-ggplot2 \ r-cran-ggplot2 \
r-cran-plyr \ r-cran-plyr \
r-cran-reshape2 \ r-cran-reshape2 \
libopenmpi-dev libopenmpi-dev \
libexpat1-dev \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get autoremove -y RUN apt-get autoremove -y
RUN apt-get autoclean -y RUN apt-get autoclean -y
...@@ -75,8 +76,8 @@ RUN apt-get purge -y ...@@ -75,8 +76,8 @@ RUN apt-get purge -y
RUN pip install jill lcov_cobertura scan-build RUN pip install jill lcov_cobertura scan-build
RUN jill install --confirm RUN jill install --confirm
RUN groupadd -f -g 1000 gitlab && \ RUN groupadd -f -g 1001 gitlab && \
useradd -u 1000 -g gitlab -ms /bin/bash gitlab && \ useradd -u 1001 -g gitlab -ms /bin/bash gitlab && \
mkdir /builds && \ mkdir /builds && \
chown -R gitlab:gitlab /builds && \ chown -R gitlab:gitlab /builds && \
chmod g+s /builds && \ chmod g+s /builds && \
...@@ -98,7 +99,7 @@ RUN cd /home/gitlab/sonar/ && \ ...@@ -98,7 +99,7 @@ RUN cd /home/gitlab/sonar/ && \
./configure && make && sudo make install && \ ./configure && make && sudo make install && \
rm /home/gitlab/sonar/rats-2.4.tgz rm /home/gitlab/sonar/rats-2.4.tgz
ENV version_drmemory 2.5.0 ENV version_drmemory 2.6.0
RUN cd /home/gitlab/sonar && \ RUN cd /home/gitlab/sonar && \
wget https://github.com/DynamoRIO/drmemory/releases/download/release_${version_drmemory}/DrMemory-Linux-${version_drmemory}.tar.gz && \ wget https://github.com/DynamoRIO/drmemory/releases/download/release_${version_drmemory}/DrMemory-Linux-${version_drmemory}.tar.gz && \
tar xf DrMemory-Linux-${version_drmemory}.tar.gz tar xf DrMemory-Linux-${version_drmemory}.tar.gz
...@@ -115,12 +116,10 @@ RUN cd /home/gitlab/sonar && \ ...@@ -115,12 +116,10 @@ RUN cd /home/gitlab/sonar && \
ln -s /home/gitlab/sonar/sonar-cxx/cxx-sensors/src/tools/vera++Report2checkstyleReport.perl /usr/local/bin/vera++Report2checkstyleReport.perl ln -s /home/gitlab/sonar/sonar-cxx/cxx-sensors/src/tools/vera++Report2checkstyleReport.perl /usr/local/bin/vera++Report2checkstyleReport.perl
RUN cd /home/gitlab/sonar && \ RUN cd /home/gitlab/sonar && \
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip && \ wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.0.0.4432-linux.zip && \
unzip sonar-scanner-cli-4.8.0.2856-linux.zip && \ unzip sonar-scanner-cli-6.0.0.4432-linux.zip && \
ln -s /home/gitlab/sonar/sonar-scanner-4.8.0.2856-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner && \ ln -s /home/gitlab/sonar/sonar-scanner-6.0.0.4432-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner && \
rm /home/gitlab/sonar/sonar-scanner-cli-4.8.0.2856-linux.zip rm /home/gitlab/sonar/sonar-scanner-cli-6.0.0.4432-linux.zip
COPY ctest-to-junit.xsl /home/gitlab/
RUN usermod -aG sudo gitlab RUN usermod -aG sudo gitlab
RUN chown -R gitlab:gitlab /home/gitlab/ RUN chown -R gitlab:gitlab /home/gitlab/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment