Loading manifests/.gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -16,4 +15,3 @@ dependencies context_device: - kubectl get all - kubectl apply -f "manifests/redis.yaml" - kubectl get all when: manual src/context/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -58,4 +58,3 @@ deploy context: - kubectl apply -f "manifests/contextservice.yaml" - kubectl delete pods --selector app=contextservice - kubectl get all when: manual src/device/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -58,4 +58,3 @@ deploy device: - kubectl apply -f "manifests/deviceservice.yaml" - kubectl delete pods --selector app=deviceservice - kubectl get all when: manual src/integration_tester/Dockerfile +6 −6 Original line number Diff line number Diff line Loading @@ -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" \ ] Loading
manifests/.gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -16,4 +15,3 @@ dependencies context_device: - kubectl get all - kubectl apply -f "manifests/redis.yaml" - kubectl get all when: manual
src/context/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -58,4 +58,3 @@ deploy context: - kubectl apply -f "manifests/contextservice.yaml" - kubectl delete pods --selector app=contextservice - kubectl get all when: manual
src/device/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -58,4 +58,3 @@ deploy device: - kubectl apply -f "manifests/deviceservice.yaml" - kubectl delete pods --selector app=deviceservice - kubectl get all when: manual
src/integration_tester/Dockerfile +6 −6 Original line number Diff line number Diff line Loading @@ -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" \ ]