Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make tag for v0.27.0 #710

Merged
merged 8 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/tcpDeviceShifu/tcp_deviceshifu_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
31 changes: 11 additions & 20 deletions examples/telemetryservice/sqlserver/checkoutput.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/crd/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: edgehub/shifu-controller
newTag: v0.27.0-rc1
newTag: v0.27.0
2 changes: 1 addition & 1 deletion pkg/k8s/crd/install/config_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/crd/install/shifu_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/deviceshifu-demo-aio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.27.0-rc1
v0.27.0