Commit 42a8d27a authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Arranged GitLab CI/CD for PathComp component

parent eaa9f26f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ ARG DEBIAN_FRONTEND=noninteractive

# Install build software
RUN apt-get update -y && apt-get install build-essential curl gcovr libglib2.0-dev -y
RUN apt-get install valgrind -y

# mkdir
RUN mkdir -p /var/teraflow
@@ -37,12 +38,14 @@ RUN mv pathComp /var/teraflow/bin

# Build code coverage version
RUN make clean
RUN make coverage
#RUN make coverage
RUN make debug

EXPOSE 8081

# builder defines coverage version of pathcomp by default
ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ]
#ENTRYPOINT [ "./pathComp-cvr", "config/pathcomp.conf", "pathcomp.log" ]
ENTRYPOINT [ "valgrind", "--leak-check=full", "--track-origins=yes", "./pathComp-dbg", "config/pathcomp.conf", "pathcomp.log" ]


# Stage 2