Compare commits

...

209 Commits

Author SHA1 Message Date
2a3aa28dd1 Merge pull request 'Add Raw format for semver' (#53) from fix-semver-match into master
All checks were successful
ci / docker (push) Successful in 36s
Reviewed-on: #53
2024-03-07 06:40:25 +00:00
867c752d84 Add Raw format for semver
All checks were successful
Bump version / create_release_tag (pull_request) Successful in 8s
ci / docker (push) Successful in 37s
2024-03-06 22:39:20 -08:00
7903e31e4b Merge pull request 'Empty commit' (#52) from dummycommit into master
All checks were successful
ci / docker (push) Successful in 37s
Reviewed-on: #52
2024-03-07 06:31:28 +00:00
02f5ca5a13 Empty commit
All checks were successful
ci / docker (push) Successful in 35s
Bump version / create_release_tag (pull_request) Successful in 7s
2024-03-06 22:30:20 -08:00
297c03b467 remove old file
All checks were successful
ci / docker (push) Successful in 34s
2024-03-06 22:25:39 -08:00
1811bd2b75 add semver tagging workflow
All checks were successful
ci / docker (push) Successful in 37s
Bump version / create_release_tag (pull_request) Successful in 7s
2024-03-07 06:20:06 +00:00
6c2f1f26ee replace image name
All checks were successful
ci / docker (push) Successful in 38s
2024-03-07 06:07:37 +00:00
6c9e6f792e fix context path
Some checks failed
ci / docker (push) Failing after 33s
2024-03-07 06:04:50 +00:00
75152dc33b Delete .gitea/workflows/publish.yaml
Some checks failed
ci / docker (push) Failing after 21s
2024-03-07 06:04:07 +00:00
93baabb743 fix indent typo and remove qemu
Some checks failed
Build and publish Image / build-and-push (push) Successful in 14s
ci / docker (push) Failing after 17s
2024-03-07 06:01:37 +00:00
26b05b1030 Try recommended workflow
Some checks failed
Build and publish Image / build-and-push (push) Successful in 16s
ci / docker (push) Failing after 37s
2024-03-07 05:59:52 +00:00
b6f5ecda3b Update Docker/src/python/tHome/broker/connect.py
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
2024-03-06 23:54:04 +00:00
54c2e5af98 Update Docker/src/python/tHome/broker/connect.py
All checks were successful
Build and publish Image / build-and-push (push) Successful in 12s
2024-03-06 23:51:02 +00:00
2f12de623c Update Docker/src/python/tHome/broker/connect.py
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
2024-03-06 23:49:30 +00:00
15341383a8 Update Docker/src/python/tHome/broker/connect.py
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
2024-03-06 23:46:14 +00:00
ad0b0e45ef try placing callback version
All checks were successful
Build and publish Image / build-and-push (push) Successful in 17s
2024-03-06 23:42:05 +00:00
b891855f16 Update .gitea/workflows/publish.yaml
All checks were successful
Build and publish Image / build-and-push (push) Successful in 15s
2024-03-06 08:26:23 +00:00
3de86aa168 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 11s
2024-03-06 08:18:01 +00:00
140d07cd7a Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 11s
2024-03-06 08:15:51 +00:00
0d66761ae9 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-03-06 08:14:00 +00:00
84aa71aaf1 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 13s
2024-03-06 08:12:29 +00:00
0a9074c1e0 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 13s
2024-03-06 08:10:42 +00:00
64b97c0e33 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 14s
2024-03-06 08:07:50 +00:00
8faf6c9341 Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 49s
2024-03-06 07:59:49 +00:00
4baa37cc6c use build and push action
Some checks failed
Build and publish Image / build-and-push (push) Failing after 25s
2024-03-06 07:54:30 +00:00
09905cf8f1 use build and push action
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 10s
Semantic Release and Changelog / Build and Publish (push) Failing after 10s
2024-03-06 07:37:46 +00:00
dddebdda7d Update .gitea/workflows/publish.yaml
Some checks failed
Build and publish Image / build-and-push (push) Failing after 17s
2024-03-06 07:33:28 +00:00
95554eadf0 use docker login action 2024-03-06 07:33:09 +00:00
335acc544b bump paho-mqtt to 2.0.0
Some checks failed
Build and publish Image / build-and-push (push) Failing after 9s
2024-03-06 07:21:03 +00:00
e8333f4df1 Prep for pahoo-mqtt 2
Some checks failed
Build and publish Image / build-and-push (push) Failing after 15s
2024-03-06 07:20:14 +00:00
dca0f07a21 revert fe727724f0
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 13s
revert chore(deps): update docker/login-action action to v3
2024-02-20 00:24:32 +00:00
a916aea59e Merge pull request 'chore(deps): update docker/login-action action to v3' (#50) from renovate/docker-login-action-3.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Has been cancelled
Reviewed-on: #50
2024-02-20 00:20:45 +00:00
fe727724f0 chore(deps): update docker/login-action action to v3
Some checks failed
Build and publish Image / build-and-push (push) Failing after 12s
2024-02-20 00:13:49 +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
5b14168d6b log to screen
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 13s
2024-02-10 21:48:04 +00:00
b55c3df231 Update .gitea/workflows/semantic-release.yaml
All checks were successful
Semantic Release and Changelog / Patch (push) Successful in 6s
Semantic Release and Changelog / Build and Publish (push) Successful in 21s
2024-02-10 21:35:42 +00:00
ac3ad18d84 Update .gitea/workflows/semantic-release.yaml
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 6s
2024-02-10 21:32:35 +00:00
dadbccbebf allow logging output of container
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 8s
2024-02-10 21:16:23 +00:00
fa0c5dd0c5 Refactor docker file and remove cache to clean up packages after
All checks were successful
Semantic Release and Changelog / Patch (push) Successful in 9s
Semantic Release and Changelog / Build and Publish (push) Successful in 31s
2024-02-10 07:51:16 +00:00
14ec31d1cc Update .gitea/workflows/semantic-release.yaml
All checks were successful
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Successful in 17s
2024-02-08 06:04:58 +00:00
42be3b4f0c Update .gitea/workflows/publish.yaml
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 22s
Semantic Release and Changelog / Build and Publish (push) Failing after 1m27s
2024-02-08 03:45:45 +00:00
e70036617a Merge pull request 'chore(deps): update dependency actions/checkout to v4.1.1' (#45) from renovate/actions-checkout-4.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 11s
Semantic Release and Changelog / Build and Publish (push) Failing after 48s
Reviewed-on: #45
2024-02-06 07:08:07 +00:00
78c9ae57b4 chore(deps): update dependency actions/checkout to v4.1.1
All checks were successful
Build and publish Image / build-and-push (push) Successful in 47s
2024-02-04 22:01:36 +00:00
154ccb0c91 Merge pull request 'chore(deps): update actions/checkout action to v4' (#44) from renovate/actions-checkout-4.x into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 5s
Semantic Release and Changelog / Build and Publish (push) Failing after 42s
Reviewed-on: #44
Reviewed-by: Evan Richardson <evanrich81@gmail.com>
2024-02-04 21:41:55 +00:00
60249b9c1e chore(deps): update actions/checkout action to v4
All checks were successful
Build and publish Image / build-and-push (push) Successful in 47s
2024-02-04 21:36:01 +00:00
a6d42086a7 change secret name
All checks were successful
Semantic Release and Changelog / Patch (push) Successful in 6s
Semantic Release and Changelog / Build and Publish (push) Successful in 42s
2024-02-04 09:27:07 +00:00
35c97c45d6 Merge pull request 'erichardson-patch-1' (#42) from erichardson-patch-1 into master
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 6s
Semantic Release and Changelog / Build and Publish (push) Failing after 39s
Reviewed-on: #42
2024-02-04 09:21:47 +00:00
ff6c893b84 erichardson-patch-1 (#41)
Some checks failed
Semantic Release and Changelog / Patch (push) Successful in 7s
Semantic Release and Changelog / Build and Publish (push) Failing after 43s
Reviewed-on: #41
2024-02-04 09:20:03 +00:00
30ab208c1b build on everything but master, also change non master build name to dev
All checks were successful
Build and publish Image / build-and-push (push) Successful in 42s
2024-02-04 09:19:28 +00:00
ac744a76e3 publish new tagged image on push to master
All checks were successful
Build and publish Image / build-and-push (push) Successful in 46s
2024-02-04 09:16:57 +00:00
582260f918 Test auto-versioning
All checks were successful
Build and publish Image / build-and-push (push) Successful in 46s
Semantic Release and Changelog / Patch (push) Successful in 18s
2024-02-04 08:49:20 +00:00
bebb06254c upgrade apk packages
All checks were successful
Build and publish Image / build-and-push (push) Successful in 1m2s
2024-02-04 07:52:17 +00:00
a151cab3a8 add docker install
All checks were successful
Build and publish Image / build-and-push (push) Successful in 1m9s
2024-02-04 07:33:59 +00:00
3f98fc33d4 change runner to ubuntu
Some checks failed
Build and publish Image / build-and-push (push) Failing after 3s
2024-02-04 06:08:23 +00:00
1bf75e3791 fix runner name
Some checks failed
Build and publish Image / build-and-push (push) Failing after 2s
2024-02-04 06:03:36 +00:00
d6f4ac9a12 add publish workflow
Some checks are pending
Build and publish Image / build-and-push (push) Waiting to run
2024-02-04 06:03:04 +00:00
423b291203 test
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
2024-02-04 02:34:25 +00:00
642ea750bb change label to shared
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
2024-02-04 02:31:35 +00:00
31f7d5aaaa add demo workflow to test actions
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2024-02-04 02:28:26 +00:00
90cf8c55cf Update fimport.py 2023-12-22 07:35:14 +00:00
48f508dee3 Update fimport.py for importlib module syntax 2023-12-22 07:28:30 +00:00
499c6d50da Merge branch 'fix-imp' into 'master'
Update fimport.py

See merge request erichardson/py-eagle-mqtt!36
2023-12-22 07:23:16 +00:00
49e3d56b1c Update fimport.py 2023-12-22 07:21:41 +00:00
semantic-release-bot
a0ae1ab14e chore(release): 1.7.10 [skip ci]
## [1.7.10](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.9...v1.7.10) (2023-12-03)

### Build

* fix build pipeline order ([1cf67d1](1cf67d139b))

### CI

* add branches to refs for building ([e0da9b1](e0da9b110e))
* Add push latest tag on master ([8e6130d](8e6130d919))
* fix ordering of stages ([385c1d8](385c1d88d8))
2023-12-03 08:20:30 +00:00
068dcdb5d6 Merge branch 'fix-build-2' into 'master'
Build: fix build pipeline order

See merge request erichardson/py-eagle-mqtt!35
2023-12-03 08:19:35 +00:00
1cf67d139b Build: fix build pipeline order 2023-12-03 08:19:07 +00:00
5e1b586f01 Merge branch 'fix-build' into 'master'
CI: add branches to refs for building

See merge request erichardson/py-eagle-mqtt!34
2023-12-03 08:16:06 +00:00
e0da9b110e CI: add branches to refs for building 2023-12-03 08:15:37 +00:00
9d4a95ad6a Merge branch 'fix-ordering-of-stages' into 'master'
CI: fix ordering of stages

See merge request erichardson/py-eagle-mqtt!33
2023-12-03 08:02:23 +00:00
385c1d88d8 CI: fix ordering of stages 2023-12-03 08:02:18 +00:00
bcba93d333 Merge branch 'add-push-latest-stage' into 'master'
CI: Add push latest tag on master

See merge request erichardson/py-eagle-mqtt!32
2023-12-03 08:01:26 +00:00
8e6130d919 CI: Add push latest tag on master 2023-12-03 08:00:04 +00:00
semantic-release-bot
f918d64ea7 chore(release): 1.7.9 [skip ci]
## [1.7.9](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.8...v1.7.9) (2023-12-03)

### Build

* bump docker base to python:3.12-alpine ([6489f3d](6489f3d01a))
2023-12-03 07:49:31 +00:00
51f73368f1 Merge branch 'bump-python-version' into 'master'
Build: bump docker base to python:3.12-alpine

See merge request erichardson/py-eagle-mqtt!31
2023-12-03 07:48:39 +00:00
6489f3d01a Build: bump docker base to python:3.12-alpine 2023-12-03 07:47:19 +00:00
24f6984021 Merge branch 'bump-docker-version' into 'master'
update docker to 24.0.7

See merge request erichardson/py-eagle-mqtt!30
2023-12-03 05:55:56 +00:00
dbef7acec2 update docker to 24.0.7 2023-12-03 05:52:29 +00:00
semantic-release-bot
04dd0e76cb chore(release): 1.7.8 [skip ci]
## [1.7.8](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.7...v1.7.8) (2023-12-03)

### ci

* fix semantic versioning and docker push to local registry ([9ce6bb5](9ce6bb5798))

### Fix

* semantic versioning and docker push to local registry ([08069d6](08069d61d1))
2023-12-03 04:55:54 +00:00
08069d61d1 Fix: semantic versioning and docker push to local registry 2023-12-03 04:48:47 +00:00
9ce6bb5798 ci: fix semantic versioning and docker push to local registry 2023-12-03 04:45:28 +00:00
2944dff3e2 Update .gitlab-ci.yml file 2023-12-03 04:27:41 +00:00
56384db94f Update .gitlab-ci.yml file 2023-12-03 03:50:06 +00:00
472b3b299c Update .gitlab-ci.yml file 2023-12-03 03:41:29 +00:00
83790754f7 update npm packages and node version to latest 2023-12-03 03:28:23 +00:00
5c1882a067 Add missing commit sha tag 2023-12-03 02:52:17 +00:00
18de343fc5 replace latest with sha 2023-12-03 02:50:53 +00:00
988f36194c Update .gitlab-ci.yml file 2023-12-03 01:32:15 +00:00
30b97f27f0 Update .gitlab-ci.yml file 2023-12-03 01:29:38 +00:00
e2e01ab72a Update .gitlab-ci.yml file 2023-12-03 01:28:37 +00:00
64806b5c57 Update .gitlab-ci.yml file 2023-10-07 05:42:34 +00:00
20b84aa56d Update .gitlab-ci.yml file 2023-10-07 05:06:29 +00:00
4041346e45 Update .gitlab-ci.yml file 2023-10-07 04:59:34 +00:00
db2a632c3b Update .gitlab-ci.yml file 2023-10-07 04:58:20 +00:00
48e17c1c1c Update .gitlab-ci.yml file 2023-10-07 04:48:55 +00:00
81683091a7 Update .gitlab-ci.yml file 2023-10-07 04:44:14 +00:00
7fee43ae4c Update .gitlab-ci.yml file 2023-10-07 04:42:27 +00:00
0ff6915de4 Update .gitlab-ci.yml file 2023-10-07 04:37:31 +00:00
eb89414dc4 Update .gitlab-ci.yml file 2023-10-07 04:29:51 +00:00
490d84d47a Update .gitlab-ci.yml file 2023-10-07 04:21:51 +00:00
8cc9a078b6 Update .gitlab-ci.yml file 2023-10-07 04:18:38 +00:00
4b9699a100 Update .gitlab-ci.yml file 2023-10-07 04:16:58 +00:00
ff03988c19 Update .gitlab-ci.yml file 2023-10-07 03:28:53 +00:00
49d843cf1e Update .gitlab-ci.yml file 2023-10-07 01:58:06 +00:00
716aa84792 Update .gitlab-ci.yml file 2023-10-07 01:56:16 +00:00
6e176eb3e1 Update .gitlab-ci.yml file 2023-10-07 01:26:31 +00:00
95ed67b399 Update .gitlab-ci.yml file 2023-10-07 01:24:38 +00:00
429ae78f77 Update .gitlab-ci.yml file 2023-10-06 23:09:41 +00:00
f2cc305dc1 Update .gitlab-ci.yml file 2023-10-06 08:03:46 +00:00
b8f66b8f6a Update .gitlab-ci.yml file 2023-10-06 08:01:08 +00:00
effa72b1dc Update .gitlab-ci.yml file 2023-10-06 07:56:17 +00:00
8116bb499d Update .gitlab-ci.yml file 2023-10-06 07:51:12 +00:00
4d721d8c3a Update .gitlab-ci.yml file 2023-10-06 07:31:20 +00:00
1d498866b5 revert to 23.0.3 2023-10-06 07:14:07 +00:00
916cf6c939 Merge branch 'renovate/docker-24.x' into 'master'
chore(deps): update docker docker tag to v24

See merge request erichardson/py-eagle-mqtt!29
2023-10-06 07:10:12 +00:00
a5450163d5 chore(deps): update docker docker tag to v24 2023-10-06 07:10:12 +00:00
0f16e4ffcc Merge branch 'renovate/docker-23.x' into 'master'
chore(deps): update docker docker tag to v23.0.6

See merge request erichardson/py-eagle-mqtt!28
2023-10-06 07:09:34 +00:00
Renovate Bot
89f7296f9f chore(deps): update docker docker tag to v23.0.6 2023-05-14 11:05:57 +00:00
1ce3e0ab47 Merge branch 'renovate/docker-23.x' into 'master'
chore(deps): update docker docker tag to v23.0.3

See merge request erichardson/py-eagle-mqtt!26
2023-04-10 06:11:30 +00:00
f1d9d9123f Merge branch 'renovate/bottle-0.x' into 'master'
chore(deps): update dependency bottle to v0.12.25

See merge request erichardson/py-eagle-mqtt!27
2023-04-10 06:11:21 +00:00
Renovate Bot
4f96d02e79 chore(deps): update docker docker tag to v23.0.3 2023-04-09 11:06:02 +00:00
Renovate Bot
0a9626cdfa chore(deps): update dependency bottle to v0.12.25 2023-03-05 12:06:07 +00:00
1af8a83a83 update semantic-release/gitlab and changelog to latest versions 2023-02-11 21:04:08 +00:00
af1af22cc4 Update docker to 23.0.0 2023-02-11 20:54:57 +00:00
703d89eeac Merge branch 'renovate/docker-23.x' into 'master'
chore(deps): update docker docker tag to v23

See merge request erichardson/py-eagle-mqtt!25
2023-02-11 20:53:51 +00:00
9c652b4c57 Merge branch 'master' into 'renovate/docker-23.x'
# Conflicts:
#   .gitlab-ci.yml
2023-02-11 20:50:10 +00:00
d95b0f3390 Merge branch 'renovate/docker-20.x' into 'master'
chore(deps): update docker docker tag to v20.10.23

See merge request erichardson/py-eagle-mqtt!24
2023-02-11 20:49:40 +00:00
Renovate Bot
9c8d437bd3 chore(deps): update docker docker tag to v23 2023-02-05 12:06:01 +00:00
Renovate Bot
0704476ee7 chore(deps): update docker docker tag to v20.10.23 2023-01-22 12:06:05 +00:00
be40ee48b3 Update .gitlab-ci.yml file to comment out sonarqube 2022-12-22 01:35:18 +00:00
521c18c6b3 Merge branch 'renovate/docker-20.x' into 'master'
chore(deps): update docker docker tag to v20.10.22

See merge request erichardson/py-eagle-mqtt!22
2022-12-21 07:11:34 +00:00
e9ec14eb2e Merge branch 'renovate/python-3.x' into 'master'
chore(deps): update python docker tag to v3.11

See merge request erichardson/py-eagle-mqtt!23
2022-12-21 07:11:19 +00:00
Renovate Bot
c52fc328c8 chore(deps): update docker docker tag to v20.10.22 2022-12-18 12:03:59 +00:00
Renovate Bot
c2f99cc99f chore(deps): update python docker tag to v3.11 2022-11-24 04:16:08 +00:00
6d71c0487d Merge branch 'renovate/docker-20.x' into 'master'
chore(deps): update docker docker tag to v20.10.20

See merge request erichardson/py-eagle-mqtt!18
2022-10-24 03:24:55 +00:00
37d35ca158 Merge branch 'renovate/node-19.x' into 'master'
chore(deps): update node.js to v19

See merge request erichardson/py-eagle-mqtt!19
2022-10-24 03:24:45 +00:00
Renovate Bot
e422a78734 chore(deps): update node.js to v19 2022-10-23 11:04:29 +00:00
Renovate Bot
288311b2ad chore(deps): update docker docker tag to v20.10.20 2022-10-23 11:04:26 +00:00
288d67b2ab Merge branch 'renovate/docker-20.x' into 'master'
chore(deps): update docker docker tag to v20.10.18

See merge request erichardson/py-eagle-mqtt!17
2022-09-14 16:03:00 +00:00
Renovate Bot
13006b80a3 chore(deps): update docker docker tag to v20.10.18 2022-09-14 15:52:55 +00:00
1c53fe26eb Merge branch 'erichardson-master-patch-86083' into 'master'
Update bottle to 0.12.23

See merge request erichardson/py-eagle-mqtt!16
2022-08-05 17:50:48 +00:00
9a0ff2fa07 Update bottle to 0.12.23 2022-08-05 17:48:26 +00:00
ee7a861f9d Switch to semantic commit messages for renovate 2022-06-10 17:35:47 +00:00
60a272a042 Merge branch 'renovate/docker-20.x' into 'master'
Update dependency docker to v20.10.17

See merge request erichardson/py-eagle-mqtt!15
2022-06-10 17:34:34 +00:00
Renovate Bot
90d2a2ce64 Update dependency docker to v20.10.17 2022-06-08 07:04:14 +00:00
fa5ba06f9c Merge branch 'renovate/bottle-0.x' into 'master'
Update dependency bottle to v0.12.21

See merge request erichardson/py-eagle-mqtt!14
2022-05-28 23:06:07 +00:00
Renovate Bot
0484e9ec6e Update dependency bottle to v0.12.21 2022-05-27 07:04:37 +00:00
89b3048d0e Merge branch 'renovate/node-18.x' into 'master'
Update Node.js to v18

See merge request erichardson/py-eagle-mqtt!12
2022-05-13 04:35:46 +00:00
6bcc6936f3 Merge branch 'renovate/docker-20.x' into 'master'
Update dependency docker to v20.10.16

See merge request erichardson/py-eagle-mqtt!13
2022-05-13 04:35:10 +00:00
Renovate Bot
3fd737651d Update dependency docker to v20.10.16 2022-05-12 20:42:42 +00:00
Renovate Bot
c4d6357154 Update Node.js to v18 2022-04-21 07:04:19 +00:00
b2c68b7624 Merge branch 'renovate/docker-20.x' into 'master'
Update dependency docker to v20.10.14

See merge request erichardson/py-eagle-mqtt!11
2022-04-10 17:15:40 +00:00
Renovate Bot
1e148cb395 Update dependency docker to v20.10.14 2022-04-05 18:34:16 +00:00
b810a58c8b Merge branch 'renovate/docker-20.x' into 'master'
Update dependency docker to v20.10.13

See merge request erichardson/py-eagle-mqtt!10
2022-03-14 23:16:00 +00:00
Renovate Bot
833e42f78b Update dependency docker to v20.10.13 2022-03-11 08:04:13 +00:00
8b31b70f00 Change to rootless dind image and pin versions of dependencies 2022-02-23 01:54:08 +00:00
c22f8003db Update Trivy command format 2022-02-23 01:33:45 +00:00
c919b5de36 Merge branch 'renovate/sonarsource-sonar-scanner-cli-4.x' into 'master'
Update dependency sonarsource/sonar-scanner-cli to v4.7

See merge request erichardson/py-eagle-mqtt!9
2022-02-22 22:38:49 +00:00
Renovate Bot
27e3a515d7 Update dependency sonarsource/sonar-scanner-cli to v4.7 2022-02-22 18:04:46 +00:00
d40e077dd1 Merge branch 'renovate/docker-20.x' into 'master'
Update docker Docker tag to v20.10.12

See merge request erichardson/py-eagle-mqtt!8
2021-12-14 07:35:31 +00:00
Renovate Bot
02d8b752d5 Update docker Docker tag to v20.10.12 2021-12-14 06:04:29 +00:00
0ab4fe1e6b Add PR labels 2021-12-03 06:42:33 +00:00
85eb35443f Merge branch 'renovate/docker-20.x' into 'master'
Update docker Docker tag to v20.10.11

See merge request erichardson/py-eagle-mqtt!7
2021-12-03 06:39:52 +00:00
Renovate Bot
02faa494bd Update docker Docker tag to v20.10.11 2021-12-03 06:05:06 +00:00
0aa5abf687 Merge branch 'erichardson-master-patch-11429' into 'master'
Deleted dependabot.yml

See merge request erichardson/py-eagle-mqtt!6
2021-12-03 05:46:46 +00:00
0d0d79f8e6 Deleted dependabot.yml 2021-12-03 05:45:15 +00:00
8d2db8617d Merge branch 'renovate/configure' into 'master'
Configure Renovate

See merge request erichardson/py-eagle-mqtt!5
2021-12-02 04:53:54 +00:00
Renovate User
259b759991 Add renovate.json 2021-12-02 04:48:56 +00:00
01d415b1ef Add dependabot config 2021-12-02 01:02:16 +00:00
418eea6f1a Update paho-mqtt to 1.6.1
Update Base image to 3.10 alpine python
update builder image to docker 20.10.10
2021-11-17 19:49:52 +00:00
58a827b1aa Rebase to Python 3.9.6 - Alpine 3.14 2021-07-06 22:31:54 +00:00
semantic-release-bot
adb4cb6060 chore(release): 1.7.6 [skip ci]
## [1.7.6](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.5...v1.7.6) (2021-05-10)

### Build

* Change docker driver to overlay2 ([13cb517](13cb51706b))
2021-05-10 17:00:45 +00:00
13cb51706b Build: Change docker driver to overlay2 2021-05-10 16:58:56 +00:00
e83a7bbfae Don't semantic release on tags 2021-05-09 06:18:31 +00:00
semantic-release-bot
49a8693fc0 chore(release): 1.7.5 [skip ci]
## [1.7.5](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.4...v1.7.5) (2021-05-09)

### Build

* push all tags instead of just latest ([b143379](b143379f20))
2021-05-09 03:55:28 +00:00
b143379f20 Build: push all tags instead of just latest 2021-05-09 03:53:17 +00:00
semantic-release-bot
534a8b805e chore(release): 1.7.4 [skip ci]
## [1.7.4](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.3...v1.7.4) (2021-05-09)

### Build

* cleanup long install line ([de1d073](de1d073c6d))

### ci

* Add git to node image ([6eb2d01](6eb2d0145e))
* change semantic release image to alpine to save space, updated to node 16 ([b1ca049](b1ca0497b0))
* Update DinD base to 20.10.6 and semantic release to node:15.  Also pin sonar-scanner-cli to 4.6 ([589fb4f](589fb4fcf7))
2021-05-09 03:44:55 +00:00
de1d073c6d Build: cleanup long install line 2021-05-09 03:42:44 +00:00
d3e34871aa Update .releaserc.yml 2021-05-09 03:35:18 +00:00
3e8aead632 Update .releaserc.yml 2021-05-09 03:27:45 +00:00
9498554758 Merge branch 'update-semantic-release' into 'master'
Update semantic release

See merge request erichardson/py-eagle-mqtt!4
2021-05-09 03:24:02 +00:00
c2167d5d97 Update semantic release 2021-05-09 03:24:02 +00:00
6eb2d0145e ci: Add git to node image 2021-05-09 03:01:59 +00:00
b1ca0497b0 ci: change semantic release image to alpine to save space, updated to node 16 2021-05-09 02:48:42 +00:00
589fb4fcf7 ci: Update DinD base to 20.10.6 and semantic release to node:15. Also pin sonar-scanner-cli to 4.6 2021-05-09 02:41:44 +00:00
51213c51e0 Merge branch 'add-trivy-scanner' into 'master'
Add Trivy scanner stage

See merge request erichardson/py-eagle-mqtt!3
2021-05-09 02:37:51 +00:00
da20bbe045 Add Trivy scanner stage 2021-05-09 02:37:51 +00:00
bb17ad6135 Change Base directory to just the python stuff 2021-04-30 00:38:42 +00:00
40c7d020d2 Add sonarqube-check 2021-04-30 00:26:12 +00:00
9b5adba3ed Add sonar-project.properties 2021-04-30 00:19:32 +00:00
semantic-release-bot
73740ffa39 chore(release): 1.7.3 [skip ci]
## [1.7.3](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.2...v1.7.3) (2021-04-12)

### Bug Fixes

* Empty commit to get recent changes into build (last commit should've been labeled this) ([e513752](e513752c46))
2021-04-12 22:11:57 +00:00
Evan Richardson
e513752c46 fix: Empty commit to get recent changes into build (last commit should've been labeled this) 2021-04-12 14:53:10 -07:00
evanrich
cfb392dc6a refactor: Add new docker labels to better identify container properties 2021-04-09 17:14:51 -07:00
f3f78c4ad5 docs: Fix badges formatting, also add docker version and # of pulls 2021-04-08 23:58:44 +00:00
d1723db798 docs: Add build status 2021-04-08 23:49:27 +00:00
ba8486017a docs: add dependency badge 2021-04-08 22:50:03 +00:00
37d8b17076 docs: add semantic-release badge 2021-04-08 22:29:53 +00:00
semantic-release-bot
da83d88229 chore(release): 1.7.2 [skip ci]
## [1.7.2](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.1...v1.7.2) (2021-04-08)

### Bug Fixes

* Cleanup CHANGELOG.md since using new semantic-release format ([a72ac7a](a72ac7a1df))
* fix asset info for git commit ([00c95c4](00c95c42ea))
2021-04-08 22:17:41 +00:00
evanrich
00c95c42ea fix: fix asset info for git commit 2021-04-08 15:16:21 -07:00
evanrich
a72ac7a1df fix: Cleanup CHANGELOG.md since using new semantic-release format
fix: Remove package-lock.json file (only commit CHANGELOG.md)
2021-04-08 15:11:32 -07:00
semantic-release-bot
ffbde1eff5 chore(release): 1.7.1 [skip ci]
## [1.7.1](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.0...v1.7.1) (2021-04-08)

### Bug Fixes

* refactor Dockerfile to improve build ([40ac8c5](40ac8c5ada))
2021-04-08 22:06:11 +00:00
1e58da7572 Merge branch 'dev' into 'master'
fix: refactor Dockerfile to improve build

See merge request erichardson/py-eagle-mqtt!2
2021-04-08 22:04:41 +00:00
evanrich
40ac8c5ada fix: refactor Dockerfile to improve build 2021-04-08 14:59:58 -07:00
evanrich
2c49af0f32 Merge branch 'master' of https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt 2021-04-08 14:47:21 -07:00
evanrich
a4c715068d Fix: Commit 3.9.4-alpine3.13 base change 2021-04-08 14:44:39 -07:00
91b6464e8c build: add missing npm install for git plugin 2021-04-08 21:34:14 +00:00
b9ad4e8ec1 build: add git plugin to sematic-release config file 2021-04-08 21:31:46 +00:00
13 changed files with 306 additions and 86 deletions

View File

@@ -0,0 +1,60 @@
name: ci
on:
schedule:
- cron: "0 10 * * *"
push:
branches:
- "**"
tags:
- "v*.*.*"
pull_request:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
harbor.evanshome.io/library/py-eagle-mqtt
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{raw}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Harbor
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: harbor.evanshome.io
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./Docker/
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -0,0 +1,25 @@
name: Bump version
on:
pull_request:
types:
- closed
branches:
- master
jobs:
create_release_tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- name: Create Release Tag
id: taggerFinal
uses: anothrNick/github-tag-action@1.67.0
with:
GITHUB_TOKEN: ${{ secrets.REPO_PUSH_TOKEN }}
WITH_V: true
GIT_API_TAGGING: false

View File

@@ -4,72 +4,34 @@
# See https://docs.gitlab.com/ee/ci/variables/#priority-of-environment-variables
stages:
- test
#- test
- build
- push_local
- release
- push_dockerhub
.docker_base:
image: docker:18.09.7-dind
services:
- docker:18.09.7-dind
variables:
DOCKER_DRIVER: overlay
DOCKER_HOST: tcp://localhost:2375/
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
FF_GITLAB_REGISTRY_HELPER_IMAGE: 1
before_script:
- docker version
- docker info
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- push_local
##- push_dockerhub
build:
extends:
- .docker_base
image: docker:24.0.7-dind
stage: build
only:
refs:
- tags
- branches
services:
- name: docker:24.0.7-dind
command: ["--tls=false"]
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
FF_GITLAB_REGISTRY_HELPER_IMAGE: 1
script:
- docker pull $CI_REGISTRY_IMAGE:latest || true
- >
docker build
--pull
--cache-from $CI_REGISTRY_IMAGE:latest
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
./Docker/
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg VCS_REF=$CI_COMMIT_SHORT_SHA ./Docker/
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
push local:
extends:
- .docker_base
stage: push_local
variables:
GIT_STRATEGY: none
only:
- master
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:latest
push dockerhub:
extends:
- .docker_base
stage: push_dockerhub
variables:
GIT_STRATEGY: none
CI_DOCKERHUB_IMAGE: index.docker.io/evanrich/py-eagle-mqtt
CI_DOCKERHUB_REGISTRY: docker.io
only:
- tags
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_DOCKERHUB_IMAGE:$CI_COMMIT_REF_NAME
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_DOCKERHUB_IMAGE:latest
- docker login -u "$CI_DOCKERHUB_USER" -p "$CI_DOCKERHUB_PASSWORD" $CI_DOCKERHUB_REGISTRY
- docker push $CI_DOCKERHUB_IMAGE
release:
image: node:13
image: node:20.11.1-alpine3.18
stage: release
only:
refs:
@@ -79,15 +41,40 @@ release:
- /^(([0-9]+)\.)?([0-9]+)\.x/
# This matches pre-releases
- /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/
except:
refs:
- tags
script:
- touch CHANGELOG.md
- npm install @semantic-release/gitlab @semantic-release/changelog
- apk add --no-cache git
- git config user.email "ci-bot@evanshome.io"
- git config user.name "ci-bot"
- npm install @semantic-release/gitlab@12.1.1 @semantic-release/changelog@6.0.3
@semantic-release/git@10.0.1 conventional-changelog-eslint@5.0.0
- npx semantic-release
artifacts:
paths:
- CHANGELOG.md
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml
push local:
image: docker:24.0.7-dind
stage: push_local
services:
- name: docker:24.0.7-dind
command: ["--tls=false"]
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
GIT_STRATEGY: none
FF_GITLAB_REGISTRY_HELPER_IMAGE: 1
only:
- master
script:
- echo $CI_COMMIT_TAG
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:latest

View File

@@ -1,9 +1,43 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/commit-analyzer"
- preset: eslint
releaseRules:
- tag: Breaking
release: major
- tag: Build
release: patch
- tag: Chore
release: minor
- tag: Fix
release: patch
- tag: New
release: minor
- tag: Update
release: minor
- tag: Upgrade
release: minor
- - "@semantic-release/release-notes-generator"
- preset: eslint
releaseRules:
- tag: Breaking
release: major
- tag: Build
release: patch
- tag: Chore
release: minor
- tag: Fix
release: patch
- tag: New
release: minor
- tag: Update
release: minor
- tag: Upgrade
release: minor
- - "@semantic-release/changelog"
- changelogFile: CHANGELOG.md
- "@semantic-release/gitlab"
- - "@semantic-release/git"
- assets: CHANGELOG.md
branches:
- "master"
- "+([0-9])?(.{+([0-9]),x}).x"

View File

@@ -1,9 +1,82 @@
# Changelog
## [1.7.10](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.9...v1.7.10) (2023-12-03)
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Build
* fix build pipeline order ([1cf67d1](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/1cf67d139b8ce3954a42afeeef49262c72d9b0a5))
### CI
* add branches to refs for building ([e0da9b1](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/e0da9b110e69fc4f18f6588d297589ca71a27c08))
* Add push latest tag on master ([8e6130d](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/8e6130d9195c19933054d9a4efbeeb3d025b5301))
* fix ordering of stages ([385c1d8](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/385c1d88d85e64591fd0d3814111a7e335ea45f8))
## [1.7.9](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.8...v1.7.9) (2023-12-03)
### Build
* bump docker base to python:3.12-alpine ([6489f3d](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/6489f3d01a71fba8e1a4ac35de2b0bffdf2529bd))
## [1.7.8](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/compare/v1.7.7...v1.7.8) (2023-12-03)
### ci
* fix semantic versioning and docker push to local registry ([9ce6bb5](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/9ce6bb579847fba7fd31cc7ece4bcbb0661247b8))
### Fix
* semantic versioning and docker push to local registry ([08069d6](https://gitlab.evanshome.io/erichardson/py-eagle-mqtt/commit/08069d61d135eff8c2ee5b210279589c4e4eed8f))
## [1.7.6](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.5...v1.7.6) (2021-05-10)
### Build
* Change docker driver to overlay2 ([13cb517](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/13cb51706b97f25486f62dd6985903e834d28ee2))
## [1.7.5](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.4...v1.7.5) (2021-05-09)
### Build
* push all tags instead of just latest ([b143379](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/b143379f2018f410677a9646234e7b483d9277d3))
## [1.7.4](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.3...v1.7.4) (2021-05-09)
### Build
* cleanup long install line ([de1d073](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/de1d073c6daf5d43fb7d9b7dafddd3b0cbcffc9b))
### ci
* Add git to node image ([6eb2d01](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/6eb2d0145eff50c3243a364d821e769ae2ee06c9))
* change semantic release image to alpine to save space, updated to node 16 ([b1ca049](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/b1ca0497b0b51e0c50ca1e5f99e5c8abd4224d53))
* Update DinD base to 20.10.6 and semantic release to node:15. Also pin sonar-scanner-cli to 4.6 ([589fb4f](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/589fb4fcf7841d3c5f08327d7fb5d5c107562ed6))
## [1.7.3](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.2...v1.7.3) (2021-04-12)
### Bug Fixes
* Empty commit to get recent changes into build (last commit should've been labeled this) ([e513752](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/e513752c46cc0b3beb93530f6549661d67196905))
## [1.7.2](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.1...v1.7.2) (2021-04-08)
### Bug Fixes
* Cleanup CHANGELOG.md since using new semantic-release format ([a72ac7a](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/a72ac7a1df91cb2231e38e8bbceb5ccf9c93328a))
* fix asset info for git commit ([00c95c4](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/00c95c42ea98921a1b2da9d2069d41e8e32f34f5))
## [1.7.1](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/compare/v1.7.0...v1.7.1) (2021-04-08)
### Bug Fixes
* refactor Dockerfile to improve build ([40ac8c5](https://gitlab.evanrichardsonphotography.com/erichardson/py-eagle-mqtt/commit/40ac8c5ada9b993f53b72dcc14b2d9b7cd183e2f))
## [1.6.10] - 2021-04-06

View File

@@ -1,17 +1,33 @@
FROM python:3.9.3-alpine3.12
FROM python:3.12-alpine
LABEL maintainer="Evan Richardson (evanrich81[at]gmail.com)"
LABEL version="1.6.6"
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.build-date=$BUILD_DATE
LABEL org.label-schema.name="evanrich/py-eagle-mqtt"
LABEL org.label-schema.description="Python Rainforest Eagle to MQTT Application"
LABEL org.label-schema.vcs-url="https://github.com/evanrich/py-eagle-mqtt"
LABEL org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.vendor="Evan Richardson"
LABEL org.label-schema.docker.cmd="docker run --name=py-eagle-mqtt -e MQTT_BROKER_IP=<IP> -e MQTT_BROKER_PORT=1883 -p 22042:22042 -d evanrich/py-eagle-mqtt"
WORKDIR /app
COPY . /app
COPY ./src/conf/logrotate/tHome /etc/logrotate.d/
ENV PYTHONPATH=/app/src/python
RUN apk --update add --no-cache logrotate \
&& pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir -r requirements.txt
#RUN rm -rf /var/cache/apk
CMD ["/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf"]
COPY requirements.txt /app
COPY ./src/conf/logrotate/tHome /etc/logrotate.d/
ENV PYTHONPATH=/app/src/python
RUN apk --update add --no-cache logrotate && \
apk upgrade && \
pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt && \
rm -rf /var/cache/apk/*
COPY . /app
CMD ["python3", "-u", "/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf", "-l", "stdout"]
EXPOSE 22042

View File

@@ -1,3 +1,3 @@
paho-mqtt==1.5.1
bottle==0.12.19
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()

View File

@@ -11,7 +11,7 @@ class Client( mqtt.Client ):
"""Logging client
"""
def __init__( self, log=None ):
mqtt.Client.__init__( self )
mqtt.Client.__init__( self, mqtt.CallbackAPIVersion.VERSION2 )
self._logger = log
# Restore callbacks overwritten by stupid mqtt library
self.on_log = Client.on_log

View File

@@ -3,8 +3,9 @@
# Arbitrary file importing utility. Does NOT modify sys.modules
#
#===========================================================================
import imp
#import importlib
import os
import types
def fimport( filePath ):
# Read the file and compile the code. This will fail if the file
@@ -19,7 +20,7 @@ def fimport( filePath ):
rootName, ext = os.path.splitext( fileName )
# Create a new module and exec the code in it's context.
m = imp.new_module( rootName )
m = types.ModuleType( rootName )
m.__file__ = absPath
exec(code, m.__dict__)

View File

@@ -1,8 +1,17 @@
# py-eagle-mqtt
Python3 based Docker for Eagle to MQTT reader
I have only ported this into a dockerfile, as well as made some changes to code for security or other purposes. All Original code is credit to [Ted Drain - TD22057](https://github.com/TD22057/T-Home).
This project utilizes the following tools:
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/evanrich/py-eagle-mqtt)]()
[![Gitlab pipeline status (self-hosted)](https://img.shields.io/gitlab/pipeline/erichardson/py-eagle-mqtt/master?gitlab_url=https%3A%2F%2Fgitlab.evanrichardsonphotography.com)]()
[![Docker Pulls](https://img.shields.io/docker/pulls/evanrich/py-eagle-mqtt)]()
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/evanrich/py-eagle-mqtt)]()
## UPDATES:
2020-04-06: Moved Updates to a CHANGELOG.md file to clean this up.

12
renovate.json Normal file
View File

@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":semanticCommits"
],
"prConcurrentLimit": 5,
"labels": [
"upgrade",
"bot"
]
}

3
sonar-project.properties Normal file
View File

@@ -0,0 +1,3 @@
sonar.projectKey=erichardson_py-eagle-mqtt_AXkgI9tRLcemhRz3NCjo
sonar.qualitygate.wait=true
sonar.projectBaseDir=Docker/src