Skip to content
Snippets Groups Projects
Commit 7fb26e84 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

unit tests

parent e7599cfc
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1396changes for local builds
Pipeline #10294 failed
......@@ -241,8 +241,6 @@ unit test workflow:
variables:
SERVICE_NAME: "workflow"
PATH_PREFIX: "services/"
CAPO_PROFILE: "docker"
CAPO_PATH: "."
extends: .unit-test
unit test capability:
......@@ -251,8 +249,6 @@ unit test capability:
variables:
SERVICE_NAME: "capability"
PATH_PREFIX: "services/"
CAPO_PROFILE: "docker"
CAPO_PATH: "."
extends: .unit-test
unit test notification:
......@@ -261,8 +257,6 @@ unit test notification:
variables:
SERVICE_NAME: "notification"
PATH_PREFIX: "services/"
CAPO_PROFILE: "docker"
CAPO_PATH: "."
extends: .unit-test
......
......@@ -23,6 +23,11 @@ RUN addgroup --gid 6000 vlapipe && \
RUN addgroup --gid 9233 almapipe && \
useradd --create-home --comment "" --gid 9233 --uid 9233 almapipe
# needed for unit tests
USER vlapipe
WORKDIR /home/ssa/capo
COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER root
WORKDIR /code
RUN apt update -y && apt install -y curl nano
......
......@@ -26,6 +26,12 @@ RUN addgroup --gid 6000 vlapipe && \
RUN addgroup --gid 9233 almapipe && \
useradd --create-home --comment "" --gid 9233 --uid 9233 almapipe
# needed for unit tests
USER vlapipe
WORKDIR /home/ssa/capo
COPY --chown=vlapipe:vlapipe docker.properties docker.properties
USER root
WORKDIR /code/
RUN chown vlapipe . && chgrp vlapipe .
......
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