diff --git a/azure-pipelines/azure-pipelines.yml b/azure-pipelines/azure-pipelines.yml index 377091e12..79dce289f 100644 --- a/azure-pipelines/azure-pipelines.yml +++ b/azure-pipelines/azure-pipelines.yml @@ -390,7 +390,7 @@ stages: - script: | set -e docker run -itd --network host --name sqlserver -e ACCEPT_EULA=Y -e SA_PASSWORD=Some_Strong_Password \ - mcr.microsoft.com/mssql/server:2022-latest + mcr.microsoft.com/mssql/server:2022-CU7-ubuntu-20.04 bash $(System.DefaultWorkingDirectory)/examples/telemetryservice/sqlserver/checkoutput.sh displayName: docker run sqlserver and checkoutput diff --git a/examples/deviceshifu/customized/humidity_detector/configuration/deviceshifu-humidity-detector-deployment.yaml b/examples/deviceshifu/customized/humidity_detector/configuration/deviceshifu-humidity-detector-deployment.yaml index e39cf5725..fa9edc1b1 100644 --- a/examples/deviceshifu/customized/humidity_detector/configuration/deviceshifu-humidity-detector-deployment.yaml +++ b/examples/deviceshifu/customized/humidity_detector/configuration/deviceshifu-humidity-detector-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-humidity-detector-deployment spec: containers: - - image: edgehub/deviceshifu-http-http-python:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http-python:v0.27.0 name: deviceshifu-http imagePullPolicy: Never ports: diff --git a/examples/deviceshifu/customized/humidity_detector/configuration/humidity-detector-deployment.yaml b/examples/deviceshifu/customized/humidity_detector/configuration/humidity-detector-deployment.yaml index 56b5d0f5f..0c74dbcf4 100644 --- a/examples/deviceshifu/customized/humidity_detector/configuration/humidity-detector-deployment.yaml +++ b/examples/deviceshifu/customized/humidity_detector/configuration/humidity-detector-deployment.yaml @@ -16,7 +16,7 @@ spec: app: humidity-detector spec: containers: - - image: edgehub/humidity-detector:v0.27.0-rc1 + - image: edgehub/humidity-detector:v0.27.0 imagePullPolicy: Never name: humidity-detector ports: diff --git a/examples/deviceshifu/customized/humidity_detector/configuration/mockserver-deployment.yaml b/examples/deviceshifu/customized/humidity_detector/configuration/mockserver-deployment.yaml index 24e276bbb..9e89b4165 100644 --- a/examples/deviceshifu/customized/humidity_detector/configuration/mockserver-deployment.yaml +++ b/examples/deviceshifu/customized/humidity_detector/configuration/mockserver-deployment.yaml @@ -16,7 +16,7 @@ spec: app: mockserver spec: containers: - - image: edgehub/mockserver:v0.27.0-rc1 + - image: edgehub/mockserver:v0.27.0 imagePullPolicy: Never name: mockserver ports: diff --git a/examples/deviceshifu/demo_device/edgedevice-agv/agv-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-agv/agv-deployment.yaml index a4bdbb3ed..9d6df148b 100644 --- a/examples/deviceshifu/demo_device/edgedevice-agv/agv-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-agv/agv-deployment.yaml @@ -16,7 +16,7 @@ spec: app: agv spec: containers: - - image: edgehub/mockdevice-agv:v0.27.0-rc1 + - image: edgehub/mockdevice-agv:v0.27.0 name: agv ports: - containerPort: 11111 diff --git a/examples/deviceshifu/demo_device/edgedevice-agv/deviceshifu-agv-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-agv/deviceshifu-agv-deployment.yaml index a31e08f44..e6233fdd2 100644 --- a/examples/deviceshifu/demo_device/edgedevice-agv/deviceshifu-agv-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-agv/deviceshifu-agv-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-agv-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-mqtt/mqtt_deviceshifu_deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-mqtt/mqtt_deviceshifu_deployment.yaml index e1d9dd2c2..514f043a2 100644 --- a/examples/deviceshifu/demo_device/edgedevice-mqtt/mqtt_deviceshifu_deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-mqtt/mqtt_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-mqtt-deployment spec: containers: - - image: edgehub/deviceshifu-http-mqtt:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-mqtt:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-opcua/mock-device/opcua-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-opcua/mock-device/opcua-deployment.yaml index d4ea855e9..c8e2dcb9d 100644 --- a/examples/deviceshifu/demo_device/edgedevice-opcua/mock-device/opcua-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-opcua/mock-device/opcua-deployment.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: mockdevice-opcua - image: edgehub/mockdevice-opcua:v0.27.0-rc1 + image: edgehub/mockdevice-opcua:v0.27.0 ports: - containerPort: 4840 readinessProbe: diff --git a/examples/deviceshifu/demo_device/edgedevice-opcua/opcua_deviceshifu_deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-opcua/opcua_deviceshifu_deployment.yaml index bb3fd13b4..bc2340527 100644 --- a/examples/deviceshifu/demo_device/edgedevice-opcua/opcua_deviceshifu_deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-opcua/opcua_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-opcua-deployment spec: containers: - - image: edgehub/deviceshifu-http-opcua:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-opcua:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-plate-reader/deviceshifu-plate-reader-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-plate-reader/deviceshifu-plate-reader-deployment.yaml index 59105c6cd..64cdcda4e 100644 --- a/examples/deviceshifu/demo_device/edgedevice-plate-reader/deviceshifu-plate-reader-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-plate-reader/deviceshifu-plate-reader-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-plate-reader-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-plate-reader/plate-reader-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-plate-reader/plate-reader-deployment.yaml index 26bfea16b..1d1077ddb 100644 --- a/examples/deviceshifu/demo_device/edgedevice-plate-reader/plate-reader-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-plate-reader/plate-reader-deployment.yaml @@ -16,7 +16,7 @@ spec: app: plate-reader spec: containers: - - image: edgehub/mockdevice-plate-reader:v0.27.0-rc1 + - image: edgehub/mockdevice-plate-reader:v0.27.0 name: plate-reader ports: - containerPort: 11111 diff --git a/examples/deviceshifu/demo_device/edgedevice-plc/deviceshifu-plc-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-plc/deviceshifu-plc-deployment.yaml index 70521c20b..e9df56759 100644 --- a/examples/deviceshifu/demo_device/edgedevice-plc/deviceshifu-plc-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-plc/deviceshifu-plc-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-plc-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-plc/plc-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-plc/plc-deployment.yaml index e636789eb..b36df6a36 100644 --- a/examples/deviceshifu/demo_device/edgedevice-plc/plc-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-plc/plc-deployment.yaml @@ -16,7 +16,7 @@ spec: app: plc spec: containers: - - image: edgehub/mockdevice-plc:v0.27.0-rc1 + - image: edgehub/mockdevice-plc:v0.27.0 name: plc ports: - containerPort: 11111 diff --git a/examples/deviceshifu/demo_device/edgedevice-robot-arm/deviceshifu-robot-arm-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-robot-arm/deviceshifu-robot-arm-deployment.yaml index 882e68c2e..36d421239 100644 --- a/examples/deviceshifu/demo_device/edgedevice-robot-arm/deviceshifu-robot-arm-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-robot-arm/deviceshifu-robot-arm-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-robotarm-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-robot-arm/robot-arm-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-robot-arm/robot-arm-deployment.yaml index b55cf7324..3a7902b4a 100644 --- a/examples/deviceshifu/demo_device/edgedevice-robot-arm/robot-arm-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-robot-arm/robot-arm-deployment.yaml @@ -16,7 +16,7 @@ spec: app: robotarm spec: containers: - - image: edgehub/mockdevice-robot-arm:v0.27.0-rc1 + - image: edgehub/mockdevice-robot-arm:v0.27.0 name: robotarm ports: - containerPort: 11111 diff --git a/examples/deviceshifu/demo_device/edgedevice-socket/mock-device/socket-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-socket/mock-device/socket-deployment.yaml index 53e7ab6ce..2ae6f4eab 100644 --- a/examples/deviceshifu/demo_device/edgedevice-socket/mock-device/socket-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-socket/mock-device/socket-deployment.yaml @@ -14,6 +14,6 @@ spec: spec: containers: - name: mockdevice-socket - image: edgehub/mockdevice-socket:v0.27.0-rc1 + image: edgehub/mockdevice-socket:v0.27.0 ports: - containerPort: 11122 diff --git a/examples/deviceshifu/demo_device/edgedevice-socket/socket_deviceshifu_deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-socket/socket_deviceshifu_deployment.yaml index 2c169a732..75095d4ae 100644 --- a/examples/deviceshifu/demo_device/edgedevice-socket/socket_deviceshifu_deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-socket/socket_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-socket-deployment spec: containers: - - image: edgehub/deviceshifu-http-socket:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-socket:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-thermometer/deviceshifu-thermometer-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-thermometer/deviceshifu-thermometer-deployment.yaml index 5c0c96f70..c55ddfe56 100644 --- a/examples/deviceshifu/demo_device/edgedevice-thermometer/deviceshifu-thermometer-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-thermometer/deviceshifu-thermometer-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-thermometer-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/deviceshifu/demo_device/edgedevice-thermometer/thermometer-deployment.yaml b/examples/deviceshifu/demo_device/edgedevice-thermometer/thermometer-deployment.yaml index 47aab273d..4c00479c6 100644 --- a/examples/deviceshifu/demo_device/edgedevice-thermometer/thermometer-deployment.yaml +++ b/examples/deviceshifu/demo_device/edgedevice-thermometer/thermometer-deployment.yaml @@ -16,7 +16,7 @@ spec: app: thermometer spec: containers: - - image: edgehub/mockdevice-thermometer:v0.27.0-rc1 + - image: edgehub/mockdevice-thermometer:v0.27.0 name: thermometer ports: - containerPort: 11111 diff --git a/examples/deviceshifu/hello-world-device/configuration/deviceshifu-helloworld-deployment.yaml b/examples/deviceshifu/hello-world-device/configuration/deviceshifu-helloworld-deployment.yaml index dafa53789..6ae33356b 100644 --- a/examples/deviceshifu/hello-world-device/configuration/deviceshifu-helloworld-deployment.yaml +++ b/examples/deviceshifu/hello-world-device/configuration/deviceshifu-helloworld-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-helloworld-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/driver_utils/simple-powershell-stub/deviceshifu-powershell-deployment.yaml b/examples/driver_utils/simple-powershell-stub/deviceshifu-powershell-deployment.yaml index 0813df0f5..2e7c109dd 100644 --- a/examples/driver_utils/simple-powershell-stub/deviceshifu-powershell-deployment.yaml +++ b/examples/driver_utils/simple-powershell-stub/deviceshifu-powershell-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-powershell-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/httpDeviceShifu/deployment/http-deviceshifu-deployment.yaml b/examples/httpDeviceShifu/deployment/http-deviceshifu-deployment.yaml index 9c0949c7d..f0a3691a1 100644 --- a/examples/httpDeviceShifu/deployment/http-deviceshifu-deployment.yaml +++ b/examples/httpDeviceShifu/deployment/http-deviceshifu-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-http-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/minioTelemetryService/deployment/http-deviceshifu-deployment.yaml b/examples/minioTelemetryService/deployment/http-deviceshifu-deployment.yaml index 9c0949c7d..f0a3691a1 100644 --- a/examples/minioTelemetryService/deployment/http-deviceshifu-deployment.yaml +++ b/examples/minioTelemetryService/deployment/http-deviceshifu-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-http-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/mqttDeviceShifu/mqtt_deploy/mqtt_deviceshifu_deployment.yaml b/examples/mqttDeviceShifu/mqtt_deploy/mqtt_deviceshifu_deployment.yaml index eaf2d01a0..389af5354 100644 --- a/examples/mqttDeviceShifu/mqtt_deploy/mqtt_deviceshifu_deployment.yaml +++ b/examples/mqttDeviceShifu/mqtt_deploy/mqtt_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-mqtt-deployment spec: containers: - - image: edgehub/deviceshifu-http-mqtt:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-mqtt:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/mqttTelemetryService/deployment/http-deviceshifu-deployment.yaml b/examples/mqttTelemetryService/deployment/http-deviceshifu-deployment.yaml index 9c0949c7d..f0a3691a1 100644 --- a/examples/mqttTelemetryService/deployment/http-deviceshifu-deployment.yaml +++ b/examples/mqttTelemetryService/deployment/http-deviceshifu-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-http-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/opcuaDeviceShifu/opcua_deploy/opcua_deviceshifu_deployment.yaml b/examples/opcuaDeviceShifu/opcua_deploy/opcua_deviceshifu_deployment.yaml index 6d8d13d40..5fe28fc52 100644 --- a/examples/opcuaDeviceShifu/opcua_deploy/opcua_deviceshifu_deployment.yaml +++ b/examples/opcuaDeviceShifu/opcua_deploy/opcua_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-opcua-deployment spec: containers: - - image: edgehub/deviceshifu-http-opcua:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-opcua:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/plc4xDeviceShifu/deployment/plc4x_deviceshifu_deployment.yaml b/examples/plc4xDeviceShifu/deployment/plc4x_deviceshifu_deployment.yaml index be627d9c3..3fd69e4ba 100644 --- a/examples/plc4xDeviceShifu/deployment/plc4x_deviceshifu_deployment.yaml +++ b/examples/plc4xDeviceShifu/deployment/plc4x_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-plc4x-deployment spec: containers: - - image: edgehub/deviceshifu-http-plc4x:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-plc4x:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/rtspDeviceShifu/camera-deployment/deviceshifu-camera-deployment.yaml b/examples/rtspDeviceShifu/camera-deployment/deviceshifu-camera-deployment.yaml index ef6f28d93..3e2cc126a 100644 --- a/examples/rtspDeviceShifu/camera-deployment/deviceshifu-camera-deployment.yaml +++ b/examples/rtspDeviceShifu/camera-deployment/deviceshifu-camera-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-camera-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/siemensPLCDeviceShifu/plc-deployment/plc-deviceshifu-deployment.yaml b/examples/siemensPLCDeviceShifu/plc-deployment/plc-deviceshifu-deployment.yaml index 3f6e898c3..6d06fd303 100644 --- a/examples/siemensPLCDeviceShifu/plc-deployment/plc-deviceshifu-deployment.yaml +++ b/examples/siemensPLCDeviceShifu/plc-deployment/plc-deviceshifu-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-plc-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/socketDeviceShifu/socket_deviceshifu_deployment.yaml b/examples/socketDeviceShifu/socket_deviceshifu_deployment.yaml index f513308ba..5e409a9fa 100644 --- a/examples/socketDeviceShifu/socket_deviceshifu_deployment.yaml +++ b/examples/socketDeviceShifu/socket_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-socket-deployment spec: containers: - - image: edgehub/deviceshifu-http-socket:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-socket:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/tcpDeviceShifu/tcp_deviceshifu_deployment.yaml b/examples/tcpDeviceShifu/tcp_deviceshifu_deployment.yaml index 45a392516..21fdd5379 100644 --- a/examples/tcpDeviceShifu/tcp_deviceshifu_deployment.yaml +++ b/examples/tcpDeviceShifu/tcp_deviceshifu_deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-tcp-deployment spec: containers: - - image: edgehub/deviceshifu-tcp-tcp:v0.27.0-rc1 + - image: edgehub/deviceshifu-tcp-tcp:v0.27.0 name: deviceshifu-tcp ports: - containerPort: 8081 diff --git a/examples/tdengineTelemetryService/deployment/http-deviceshifu-deployment.yaml b/examples/tdengineTelemetryService/deployment/http-deviceshifu-deployment.yaml index 9c0949c7d..f0a3691a1 100644 --- a/examples/tdengineTelemetryService/deployment/http-deviceshifu-deployment.yaml +++ b/examples/tdengineTelemetryService/deployment/http-deviceshifu-deployment.yaml @@ -16,7 +16,7 @@ spec: app: deviceshifu-http-deployment spec: containers: - - image: edgehub/deviceshifu-http-http:v0.27.0-rc1 + - image: edgehub/deviceshifu-http-http:v0.27.0 name: deviceshifu-http ports: - containerPort: 8080 diff --git a/examples/telemetryservice/sqlserver/checkoutput.sh b/examples/telemetryservice/sqlserver/checkoutput.sh index 59cae6fa0..33fa39068 100644 --- a/examples/telemetryservice/sqlserver/checkoutput.sh +++ b/examples/telemetryservice/sqlserver/checkoutput.sh @@ -1,27 +1,18 @@ #!bin/bash SQLServerOutput=2 sleep 6 -MAX_RETRIES=5 -for retry in $(seq 1 $MAX_RETRIES); do - echo "Attempt $retry of $MAX_RETRIES" - - for i in {1..50}; do - output=$(docker exec sqlserver /opt/mssql-tools/bin/sqlcmd \ - -S localhost -U sa -P Some_Strong_Password \ - -Q "select name from sys.databases" | grep 'Error' | wc -l) - echo "Output: $output" - - if [[ $output -eq 0 ]]; then - echo "Database connection successful" - break - elif [[ $i -eq 50 ]]; then - echo "connection failed, try again" - sleep 5 - fi - done - - if [[ $output -eq 0 ]]; then +for i in {1..50} +do + output=$(docker exec sqlserver /opt/mssql-tools/bin/sqlcmd \ + -S localhost -U sa -P Some_Strong_Password \ + -Q "select name from sys.databases" | grep 'Error' | wc -l) + echo $output + if [[ $output -eq 0 ]] + then break + elif [[ $i -eq 50 ]] + then + exit 1 fi done diff --git a/pkg/k8s/crd/config/manager/kustomization.yaml b/pkg/k8s/crd/config/manager/kustomization.yaml index 9a1631003..43f938a4b 100644 --- a/pkg/k8s/crd/config/manager/kustomization.yaml +++ b/pkg/k8s/crd/config/manager/kustomization.yaml @@ -13,4 +13,4 @@ kind: Kustomization images: - name: controller newName: edgehub/shifu-controller - newTag: v0.27.0-rc1 + newTag: v0.27.0 diff --git a/pkg/k8s/crd/install/config_default.yaml b/pkg/k8s/crd/install/config_default.yaml index 850635581..f6b98ae46 100644 --- a/pkg/k8s/crd/install/config_default.yaml +++ b/pkg/k8s/crd/install/config_default.yaml @@ -500,7 +500,7 @@ spec: - --source=default command: - /manager - image: edgehub/shifu-controller:v0.27.0-rc1 + image: edgehub/shifu-controller:v0.27.0 livenessProbe: httpGet: path: /healthz diff --git a/pkg/k8s/crd/install/shifu_install.yml b/pkg/k8s/crd/install/shifu_install.yml index d925db11e..1a86691c2 100644 --- a/pkg/k8s/crd/install/shifu_install.yml +++ b/pkg/k8s/crd/install/shifu_install.yml @@ -500,7 +500,7 @@ spec: - --source=default command: - /manager - image: edgehub/shifu-controller:v0.27.0-rc1 + image: edgehub/shifu-controller:v0.27.0 livenessProbe: httpGet: path: /healthz diff --git a/pkg/telemetryservice/install/telemetryservice_install.yaml b/pkg/telemetryservice/install/telemetryservice_install.yaml index 38d538f87..98c5f887d 100644 --- a/pkg/telemetryservice/install/telemetryservice_install.yaml +++ b/pkg/telemetryservice/install/telemetryservice_install.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: telemetryservice - image: edgehub/telemetryservice:v0.27.0-rc1 + image: edgehub/telemetryservice:v0.27.0 ports: - containerPort: 8080 env: diff --git a/test/scripts/deviceshifu-demo-aio.sh b/test/scripts/deviceshifu-demo-aio.sh index f1e36f7b1..56ff5035c 100644 --- a/test/scripts/deviceshifu-demo-aio.sh +++ b/test/scripts/deviceshifu-demo-aio.sh @@ -7,7 +7,7 @@ if [ $# -eq 0 ]; then exit 1 fi -SHIFU_IMG_VERSION=v0.27.0-rc1 +SHIFU_IMG_VERSION=v0.27.0 BUILD_DIR=build_dir IMG_DIR=images RUN_DIR=run_dir diff --git a/version.txt b/version.txt index c42300951..0a8bf80d6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.27.0-rc1 +v0.27.0