Compare commits

...

6 Commits

Author SHA1 Message Date
2adc527693 update paho to v2
Some checks failed
Build and publish Image / build-and-push (push) Failing after 17s
2024-02-19 00:16:55 +00:00
af92529ac8 Change some settings for paho mqtt v2
Some checks failed
Build and publish Image / build-and-push (push) Failing after 11s
2024-02-19 00:15:41 +00:00
e1e0cf0ff2 Merge pull request 'chore(deps): update dependency docker/login-action to v2.2.0' (#48) from renovate/docker-login-action-2.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 8s
Semantic Release and Changelog / Build and Publish (push) Failing after 58s
Reviewed-on: #48
2024-02-18 03:05:57 +00:00
62d935ba4a Merge pull request 'chore(deps): update node.js to v20.11.1' (#49) from renovate/node-20.x into master
Some checks are pending
Semantic Release and Changelog / Patch (push) Waiting to run
Semantic Release and Changelog / Build and Publish (push) Waiting to run
Reviewed-on: #49
2024-02-18 03:05:39 +00:00
e25118fc33 chore(deps): update node.js to v20.11.1
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-02-18 03:04:31 +00:00
2a33fc9302 chore(deps): update dependency docker/login-action to v2.2.0
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-02-18 03:04:28 +00:00
4 changed files with 5 additions and 5 deletions

View File

@@ -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"

View File

@@ -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:

View File

@@ -1,3 +1,3 @@
paho-mqtt==1.6.1
paho-mqtt~=2.0.0
bottle==0.12.25
defusedxml==0.7.1

View File

@@ -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()