Skip to content

Commit eb1e2b2

Browse files
committed
Rollback to previous gateway binaries (#2 / #3)
1 parent ecc7340 commit eb1e2b2

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.4.0] - 2024-10-11
4+
5+
### Changed
6+
7+
- Rollback to previous gateway binaries. (#2 / #3)
8+
9+
310
## [0.3.0] - 2024-06-21
411

512
### Changed
@@ -27,7 +34,8 @@
2734

2835

2936

30-
[Unreleased]: https://github.com/thomasddn/qbusmqtt/compare/v0.3.0...HEAD
37+
[Unreleased]: https://github.com/thomasddn/qbusmqtt/compare/v0.4.0...HEAD
38+
[0.4.0]: https://github.com/thomasddn/qbusmqtt/compare/v0.3.0...v0.4.0
3139
[0.3.0]: https://github.com/thomasddn/qbusmqtt/compare/v0.2.0...v0.3.0
3240
[0.2.0]: https://github.com/thomasddn/qbusmqtt/compare/v0.1.0...v0.2.0
3341
[0.1.0]: https://github.com/thomasddn/qbusmqtt/releases/tag/v0.1.0

β€ŽDockerfileβ€Ž

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,18 @@ COPY run.sh /
1414

1515
RUN case "${TARGETARCH:-amd64}" in \
1616
arm) ARCH_MAP="arm" ;; \
17-
arm64) ARCH_MAP="arm64" ;; \
1817
amd64) ARCH_MAP="x64" ;; \
1918
386) ARCH_MAP="x86" ;; \
2019
*) echo "Unsupported architecture: ${TARGETARCH}" && exit 1 ;; \
2120
esac && \
22-
mkdir -p /opt/ubielite && \
23-
mkdir -p /var/log/ubielite && \
24-
chmod a+r /var/log/ubielite && \
25-
cp /binaries/UbieLite-${ARCH_MAP}/UbieLite /opt/ubielite/ && \
26-
cp -R /binaries/fw/ /opt/ubielite/ && \
27-
cp /binaries/puttftp /opt/ubielite/ && \
28-
chmod +x /opt/ubielite/UbieLite && \
29-
chmod +x /opt/ubielite/puttftp && \
21+
mkdir -p /opt/qbusmqttgw && \
22+
mkdir -p /var/log/qbusmqttgw && \
23+
chmod a+r /var/log/qbusmqttgw && \
24+
cp /binaries/gateway-${ARCH_MAP}/qbusMqttGw /opt/qbusmqttgw/ && \
25+
cp -R /binaries/fw/ /opt/qbusmqttgw/ && \
26+
cp /binaries/puttftp /opt/qbusmqttgw/ && \
27+
chmod +x /opt/qbusmqttgw/qbusMqttGw && \
28+
chmod +x /opt/qbusmqttgw/puttftp && \
3029
chmod a+x /run.sh && \
3130
rm -rf /binaries
3231

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ It is also available as a Home Assistant add-on: https://github.com/thomasddn/ho
88

99
![Supports amd64 Architecture][amd64-shield]
1010
![Supports arm Architecture][arm-shield]
11-
![Supports arm64 Architecture][arm64-shield]
1211
![Supports i386 Architecture][i386-shield]
1312

1413
## πŸ₯€ Snack-fueled coding
@@ -63,6 +62,5 @@ services:
6362
[releases-shield]: https://img.shields.io/github/v/release/thomasddn/qbusmqtt?style=flat-square
6463
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg?style=flat-square
6564
[arm-shield]: https://img.shields.io/badge/arm-yes-green.svg?style=flat-square
66-
[arm64-shield]: https://img.shields.io/badge/arm64-yes-green.svg?style=flat-square
6765
[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg?style=flat-square
6866
[releases]: https://github.com/thomasddn/qbusmqtt/releases
-13.9 MB
Binary file not shown.

β€Žrun.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
# Start gateway
1212
echo "Starting Qbus MQTT gateway."
1313
echo "Connecting to MQTT broker '$MQTT_HOST:$MQTT_PORT' with user '$MQTT_USER'."
14-
/opt/ubielite/UbieLite -serial QBUSMQTTGW -logbuflevel -1 -logtostderr true -storagedir /opt/ubielite -log_dir /var/log/ubielite -mqttbroker "tcp://$MQTT_HOST:$MQTT_PORT" -mqttuser "$MQTT_USER" -mqttpassword "$MQTT_PWD"
14+
/opt/qbusmqttgw/qbusMqttGw -serial QBUSMQTTGW -logbuflevel -1 -logtostderr true -storagedir /opt/qbusmqttgw -log_dir /var/log/qbusmqttgw -mqttbroker "tcp://$MQTT_HOST:$MQTT_PORT" -mqttuser "$MQTT_USER" -mqttpassword "$MQTT_PWD"

0 commit comments

Comments
Β (0)