Loading src/integration_tester/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ integration_test integration_tester: - kubectl delete pod $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --wait=true --ignore-not-found=true - kubectl get all # --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 run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i - kubectl get all #when: manual #allow_failure: false src/integration_tester/test_context_device.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ def test_get_topology_empty(context_client : ContextClient): including_default_value_fields=True, preserving_proto_field_name=True, use_integers_for_enums=False)) def test_add_devices(device_client : DeviceClient): def test_add_devices(context_client : ContextClient, device_client : DeviceClient): # should work for device in [DEVICE_DEV1, DEVICE_DEV2, DEVICE_DEV3]: validate_device_id(MessageToDict( Loading Loading
src/integration_tester/.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ integration_test integration_tester: - kubectl delete pod $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --wait=true --ignore-not-found=true - kubectl get all # --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 run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i - kubectl get all #when: manual #allow_failure: false
src/integration_tester/test_context_device.py +1 −1 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ def test_get_topology_empty(context_client : ContextClient): including_default_value_fields=True, preserving_proto_field_name=True, use_integers_for_enums=False)) def test_add_devices(device_client : DeviceClient): def test_add_devices(context_client : ContextClient, device_client : DeviceClient): # should work for device in [DEVICE_DEV1, DEVICE_DEV2, DEVICE_DEV3]: validate_device_id(MessageToDict( Loading