Loading manifests/.gitlab-ci.yml +0 −7 Original line number Diff line number Diff line Loading @@ -6,12 +6,5 @@ dependencies all: - kubectl version - kubectl get all - kubectl apply -f "manifests/prometheus.yaml" - kubectl get all dependencies context_device: stage: dependencies script: - kubectl version - kubectl get all - kubectl apply -f "manifests/redis.yaml" - kubectl get all src/context/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ deploy context: - build context - test context - dependencies all - dependencies context_device script: - kubectl version - kubectl get all Loading src/device/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ deploy device: - build device - test device - dependencies all - dependencies context_device script: - kubectl version - kubectl get all Loading src/integration_tester/.gitlab-ci.yml +6 −3 Original line number Diff line number Diff line Loading @@ -51,10 +51,13 @@ integration_test integration_tester: - deploy device - dependencies all - dependencies context_device before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - kubectl version - kubectl get all - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$IMAGE_NAME:$IMAGE_TAG" --restart=Never --rm -i --tty # --rm to remove tester when it finishes - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i --tty - kubectl get all when: manual allow_failure: false #when: manual #allow_failure: false src/integration_tester/Dockerfile +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ RUN python3 -m pip install -r integration_tester/requirements.in COPY common/. common COPY context/. context COPY device/. device COPY integration_tester/. integration_tester # Run integration tester ENTRYPOINT ["pytest", "-v", "--log-level=DEBUG", \ Loading Loading
manifests/.gitlab-ci.yml +0 −7 Original line number Diff line number Diff line Loading @@ -6,12 +6,5 @@ dependencies all: - kubectl version - kubectl get all - kubectl apply -f "manifests/prometheus.yaml" - kubectl get all dependencies context_device: stage: dependencies script: - kubectl version - kubectl get all - kubectl apply -f "manifests/redis.yaml" - kubectl get all
src/context/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ deploy context: - build context - test context - dependencies all - dependencies context_device script: - kubectl version - kubectl get all Loading
src/device/.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ deploy device: - build device - test device - dependencies all - dependencies context_device script: - kubectl version - kubectl get all Loading
src/integration_tester/.gitlab-ci.yml +6 −3 Original line number Diff line number Diff line Loading @@ -51,10 +51,13 @@ integration_test integration_tester: - deploy device - dependencies all - dependencies context_device before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - kubectl version - kubectl get all - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$IMAGE_NAME:$IMAGE_TAG" --restart=Never --rm -i --tty # --rm to remove tester when it finishes - kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i --tty - kubectl get all when: manual allow_failure: false #when: manual #allow_failure: false
src/integration_tester/Dockerfile +1 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ RUN python3 -m pip install -r integration_tester/requirements.in COPY common/. common COPY context/. context COPY device/. device COPY integration_tester/. integration_tester # Run integration tester ENTRYPOINT ["pytest", "-v", "--log-level=DEBUG", \ Loading