Compare commits
7 Commits
v1.11.0
...
paho-v2-up
| Author | SHA1 | Date | |
|---|---|---|---|
| 2adc527693 | |||
| af92529ac8 | |||
| e1e0cf0ff2 | |||
| 62d935ba4a | |||
| e25118fc33 | |||
| 2a33fc9302 | |||
| 5b14168d6b |
@@ -39,7 +39,7 @@ jobs:
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Login to Harbor
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v2.2.0
|
||||
with:
|
||||
registry: harbor.evanshome.io
|
||||
username: "robot$registry-bot"
|
||||
|
||||
@@ -31,7 +31,7 @@ build:
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
|
||||
release:
|
||||
image: node:20.10.0-alpine3.18
|
||||
image: node:20.11.1-alpine3.18
|
||||
stage: release
|
||||
only:
|
||||
refs:
|
||||
|
||||
@@ -28,6 +28,6 @@ RUN apk --update add --no-cache logrotate && \
|
||||
|
||||
COPY . /app
|
||||
|
||||
CMD ["python3", "-u", "/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf"]
|
||||
CMD ["python3", "-u", "/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf", "-l", "stdout"]
|
||||
|
||||
EXPOSE 22042
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
paho-mqtt==1.6.1
|
||||
paho-mqtt~=2.0.0
|
||||
bottle==0.12.25
|
||||
defusedxml==0.7.1
|
||||
|
||||
@@ -26,7 +26,7 @@ class Client ( mqtt.Client ):
|
||||
self.on_connect = Client.on_connect
|
||||
self.on_message = Client.on_message
|
||||
|
||||
def on_connect( self, userData, flags, rc ):
|
||||
def on_connect( self, userData, flags, reason_code, properties ):
|
||||
self.subscribe( '#' )
|
||||
|
||||
def on_message( self, userData, msg ):
|
||||
@@ -62,4 +62,4 @@ client.loop_start()
|
||||
while True:
|
||||
pass
|
||||
|
||||
client.loop_stop( force=True )
|
||||
client.loop_stop()
|
||||
|
||||
Reference in New Issue
Block a user