Commit 6bcd62ce authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Bug resolution in integration tester

parent 15fd8497
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ dependencies all:
    - kubectl get all
    - kubectl apply -f "manifests/prometheus.yaml"
    - kubectl get all
  when: manual

dependencies context_device:
  stage: dependencies
@@ -16,4 +15,3 @@ dependencies context_device:
    - kubectl get all
    - kubectl apply -f "manifests/redis.yaml"
    - kubectl get all
  when: manual
+0 −1
Original line number Diff line number Diff line
@@ -58,4 +58,3 @@ deploy context:
    - kubectl apply -f "manifests/contextservice.yaml"
    - kubectl delete pods --selector app=contextservice
    - kubectl get all
  when: manual
+0 −1
Original line number Diff line number Diff line
@@ -58,4 +58,3 @@ deploy device:
    - kubectl apply -f "manifests/deviceservice.yaml"
    - kubectl delete pods --selector app=deviceservice
    - kubectl get all
  when: manual
+6 −6
Original line number Diff line number Diff line
@@ -15,19 +15,19 @@ RUN python3 -m pip install --upgrade pip setuptools wheel pip-tools
WORKDIR /var/teraflow

# Create module sub-folders
RUN mkdir -p /var/teraflow/tests
RUN mkdir -p /var/teraflow/integration_tester

# Get Python packages per module
COPY tests/requirements.in tests/requirements.in
RUN pip-compile --output-file=tests/requirements.txt tests/requirements.in
RUN python3 -m pip install -r tests/requirements.in
COPY integration_tester/requirements.in integration_tester/requirements.in
RUN pip-compile --output-file=integration_tester/requirements.txt integration_tester/requirements.in
RUN python3 -m pip install -r integration_tester/requirements.in

# Add files into working directory
COPY common/. common
COPY context/. context
COPY device/. device

# Run integration tests
# Run integration tester
ENTRYPOINT ["pytest", "-v", "--log-level=DEBUG", \
            "tests/test_context_device.py" \
            "integration_tester/test_context_device.py" \
]