Compare commits

...

167 Commits

Author SHA1 Message Date
95de56be42 chore(pip-prod)(deps): bump pyyaml from 6.0.1 to 6.0.2
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.1...6.0.2)

---
updated-dependencies:
- dependency-name: pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 18:12:51 +01:00
5cc5aa3718 chore(pip-prod)(deps): bump attrs from 24.1.0 to 24.2.0
Bumps [attrs](https://github.com/sponsors/hynek) from 24.1.0 to 24.2.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 18:29:31 +01:00
413560e6e2 chore(pip-prod)(deps): bump astroid from 3.3.0 to 3.3.1
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 17:31:50 +01:00
f198798a89 chore(pip-prod)(deps): bump astroid from 3.2.4 to 3.3.0
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.2.4 to 3.3.0.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.2.4...v3.3.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 22:23:21 +01:00
9e9266ed94 chore(pip-prod)(deps): bump pycodestyle from 2.12.0 to 2.12.1
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt)
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.12.0...2.12.1)

---
updated-dependencies:
- dependency-name: pycodestyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 22:02:19 +01:00
d3ba06fa0b chore(pip-prod)(deps): bump attrs from 23.2.0 to 24.1.0
Bumps [attrs](https://github.com/sponsors/hynek) from 23.2.0 to 24.1.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 19:18:26 +01:00
6c1c5edf04 chore: add pre-commit 2024-08-04 18:50:53 +01:00
0188d8e43d chore(pip-prod)(deps): bump pyjwt from 2.8.0 to 2.9.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 18:14:57 +01:00
4994aa301d Release once per week instead of daily 2024-07-31 22:05:13 +01:00
9ad8fae9ac chore(pip-prod)(deps): bump sentry-sdk from 2.11.0 to 2.12.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.11.0...2.12.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 18:23:28 +01:00
59e4916711 chore(pip-prod)(deps): bump sentry-sdk from 2.10.0 to 2.11.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.10.0...2.11.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 18:34:26 +01:00
437c9d87d1 chore(pip-prod)(deps): bump astroid from 3.2.3 to 3.2.4
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 18:40:08 +01:00
4bd87538dd Stop release flow if no new release 2024-07-16 19:11:03 +01:00
69f5dfaf20 chore(pip-prod)(deps): bump sentry-sdk from 2.9.0 to 2.10.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.9.0...2.10.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 20:58:43 +01:00
82bcffc498 Move to shared workflows 2024-07-13 12:26:17 +01:00
f3b4b61f45 chore(actions)(deps): bump docker/build-push-action from 4.0.0 to 6.3.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 6.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](3b5e8027fc...1a162644f9)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 12:07:00 +01:00
c60494ce60 chore(actions)(deps): bump docker/login-action
Bumps [docker/login-action](https://github.com/docker/login-action) from 65b78e6e13532edd9afa3aa52ac7964289d1a9c1 to 0d4c9c5ea7693da7b068278f7b52bda2a190a446.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](65b78e6e13...0d4c9c5ea7)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 11:59:52 +01:00
d9b815b664 chore(actions)(deps): bump docker/metadata-action
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 to a64d0487d7069df33b279515d35d60fa80e2ea62.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](9ec57ed1fc...a64d0487d7)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 11:56:53 +01:00
50d8f81c63 Fix attestation 2024-07-13 11:48:27 +01:00
6985f4dbe8 Switch to new Docker driver 2024-07-13 11:39:59 +01:00
a314379091 Fix auto Docker tag creation 2024-07-13 11:36:49 +01:00
6e4d78cfcd Fix auto Docker tag creation 2024-07-13 11:33:09 +01:00
6832c03f8d Fix auto Docker tag creation 2024-07-13 11:29:24 +01:00
2cf102db5d Fix create_docker 2024-07-13 11:22:33 +01:00
cfdc7311d2 Fix create_docker 2024-07-13 11:21:37 +01:00
b22363a87f Trigger Docker flow from Release flow 2024-07-13 11:18:27 +01:00
6674fccb6a Fix Docker deployment 2024-07-13 11:10:21 +01:00
eb4f19ee3f Fix Docker attestation 2024-07-13 11:05:56 +01:00
014085f693 Fix publish workflow 2024-07-13 11:02:18 +01:00
3f318d6d70 Migrate Renovate from next to main 2024-07-13 10:53:24 +01:00
43696f16e1 Revamp GH Actions to eliminate next->main 2024-07-13 10:47:21 +01:00
3cf66ab503 Update build/deploy 2024-07-13 10:37:39 +01:00
a808a51c6d Disable auto-deploy 2024-07-13 10:35:02 +01:00
4ff8f90225 chore(pip-prod)(deps): bump astroid from 3.2.2 to 3.2.3
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 19:41:14 +01:00
e8d8058278 chore(pip-prod)(deps): bump sentry-sdk from 2.7.1 to 2.9.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.7.1 to 2.9.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.7.1...2.9.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 19:37:51 +01:00
9714080a5d fix: requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899
2024-07-12 19:32:19 +01:00
0e70b9c959 chore(pip-prod)(deps): bump tomlkit from 0.12.5 to 0.13.0
Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.12.5 to 0.13.0.
- [Release notes](https://github.com/sdispater/tomlkit/releases)
- [Changelog](https://github.com/python-poetry/tomlkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdispater/tomlkit/compare/0.12.5...0.13.0)

---
updated-dependencies:
- dependency-name: tomlkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 07:18:48 +01:00
4c14fb9bb9 fix: requirements-dev.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899
2024-07-10 19:03:13 +01:00
a89c4a55ee chore(pip-prod)(deps): bump identify from 2.5.36 to 2.6.0
Bumps [identify](https://github.com/pre-commit/identify) from 2.5.36 to 2.6.0.
- [Commits](https://github.com/pre-commit/identify/compare/v2.5.36...v2.6.0)

---
updated-dependencies:
- dependency-name: identify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 07:30:25 +01:00
255756cbbd chore(pip-prod)(deps): bump certifi from 2024.6.2 to 2024.7.4
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 18:40:50 +01:00
ed4d1fe1bf chore(pip-prod)(deps): bump filelock from 3.15.3 to 3.15.4
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.15.3 to 3.15.4.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.15.3...3.15.4)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 07:19:47 +01:00
d69aa74f6b chore(pip-prod)(deps): bump virtualenv from 20.26.2 to 20.26.3
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.26.2 to 20.26.3.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.26.2...20.26.3)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 18:15:59 +01:00
3b6a4ce816 chore(pip-prod)(deps): bump sentry-sdk from 2.6.0 to 2.7.1
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.6.0...2.7.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-28 17:18:34 +01:00
f48e71e301 chore(pip-prod)(deps): bump autopep8 from 2.2.0 to 2.3.1
Bumps [autopep8](https://github.com/hhatto/autopep8) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v2.2.0...v2.3.1)

---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 10:37:26 +01:00
3c6acbbf09 chore(pip-prod)(deps): bump sentry-sdk from 2.5.1 to 2.6.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/commits)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 09:13:18 +01:00
689c77a9a8 chore(pip-prod)(deps): bump filelock from 3.15.1 to 3.15.3
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.15.1 to 3.15.3.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.15.1...3.15.3)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 22:27:27 +01:00
7b1c0c5f15 chore(pip-prod)(deps): bump pycodestyle from 2.11.1 to 2.12.0
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt)
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.11.1...2.12.0)

---
updated-dependencies:
- dependency-name: pycodestyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 19:14:48 +01:00
f7bdcfb7e3 chore(pip-prod)(deps): bump urllib3 from 2.2.1 to 2.2.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 07:08:51 +01:00
36c51b746d chore(pip-prod)(deps): bump filelock from 3.14.0 to 3.15.1
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.14.0 to 3.15.1.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.14.0...3.15.1)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 07:02:10 +01:00
e036ebf21e chore(pip-prod)(deps): bump sentry-sdk from 2.5.0 to 2.5.1
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 18:23:46 +01:00
bb689a65cc chore(pip-prod)(deps): bump packaging from 24.0 to 24.1
Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.1.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/24.0...24.1)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 12:14:48 +01:00
07a57b255e chore(pip-prod)(deps): bump sentry-sdk from 2.4.0 to 2.5.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-08 12:41:49 +01:00
157bf8b6c4 chore(pip-prod)(deps): bump nodeenv from 1.9.0 to 1.9.1
Bumps [nodeenv](https://github.com/ekalinin/nodeenv) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/ekalinin/nodeenv/releases)
- [Changelog](https://github.com/ekalinin/nodeenv/blob/master/CHANGES)
- [Commits](https://github.com/ekalinin/nodeenv/compare/1.9.0...1.9.1)

---
updated-dependencies:
- dependency-name: nodeenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 17:22:24 +01:00
473ce1d45d chore(pip-prod)(deps): bump sentry-sdk from 2.3.1 to 2.4.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.3.1...2.4.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 22:10:23 +01:00
284195ff2d chore(pip-prod)(deps): bump certifi from 2024.2.2 to 2024.6.2
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.6.2.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 07:30:22 +01:00
6fa12bce09 chore(pip-prod)(deps): bump autopep8 from 2.1.2 to 2.2.0
Bumps [autopep8](https://github.com/hhatto/autopep8) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 19:12:17 +01:00
28fc64a694 chore(pip-prod)(deps): bump requests from 2.32.2 to 2.32.3
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 08:35:49 +01:00
9f67c6be0d chore(pip-prod)(deps): bump nodeenv from 1.8.0 to 1.9.0
Bumps [nodeenv](https://github.com/ekalinin/nodeenv) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/ekalinin/nodeenv/releases)
- [Changelog](https://github.com/ekalinin/nodeenv/blob/master/CHANGES)
- [Commits](https://github.com/ekalinin/nodeenv/compare/1.8.0...1.9.0)

---
updated-dependencies:
- dependency-name: nodeenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 07:54:45 +01:00
96da3d6b7c chore(pip-prod)(deps): bump autopep8 from 2.1.1 to 2.1.2
Bumps [autopep8](https://github.com/hhatto/autopep8) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-28 19:20:20 +01:00
52370f787d chore(pip-prod)(deps): bump sentry-sdk from 2.2.1 to 2.3.1
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.2.1...2.3.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-23 20:22:09 +01:00
029dc1e92f ---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 19:49:51 +01:00
ee8f2121b9 ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 19:46:33 +01:00
655995191e ---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 21:51:12 +01:00
db03555697 ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 19:11:51 +01:00
604e0fb5be chore(pip-prod)(deps): bump requests from 2.31.0 to 2.32.0
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 19:59:32 +01:00
1b23f24695 chore(pip-prod)(deps): bump astroid from 3.2.1 to 3.2.2
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:23:38 +01:00
30a53434a8 chore(pip-prod)(deps): bump sentry-sdk from 2.1.1 to 2.2.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.1.1...2.2.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 17:53:20 +01:00
6441bc0faf chore(pip-prod)(deps): bump astroid from 3.2.0 to 3.2.1
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 14:56:42 +01:00
06cd86f667 chore(pip-prod)(deps): bump virtualenv from 20.26.1 to 20.26.2
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.26.1 to 20.26.2.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.26.1...20.26.2)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 18:33:56 +01:00
96d250cda4 chore(pip-prod)(deps): bump platformdirs from 4.2.1 to 4.2.2
Bumps [platformdirs](https://github.com/platformdirs/platformdirs) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/platformdirs/platformdirs/releases)
- [Changelog](https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst)
- [Commits](https://github.com/platformdirs/platformdirs/compare/4.2.1...4.2.2)

---
updated-dependencies:
- dependency-name: platformdirs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 18:28:03 +01:00
ef8e92b0ff chore(pip-prod)(deps): bump tomlkit from 0.12.4 to 0.12.5
Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/sdispater/tomlkit/releases)
- [Changelog](https://github.com/python-poetry/tomlkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdispater/tomlkit/compare/0.12.4...0.12.5)

---
updated-dependencies:
- dependency-name: tomlkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 22:44:17 +01:00
0b8a106eec chore(pip-prod)(deps): bump astroid from 3.1.0 to 3.2.0
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 13:16:25 +01:00
37f7412cb0 chore(pip-prod)(deps): bump sentry-sdk from 2.0.1 to 2.1.1
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.0.1...2.1.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:23:38 +01:00
e719b00a5b chore(pip-prod)(deps): bump filelock from 3.13.4 to 3.14.0
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.13.4 to 3.14.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.13.4...3.14.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 19:14:07 +01:00
4c5a7e4d2e chore(dependabot): remove review requirement 2024-04-29 18:01:25 +01:00
275cf2c540 chore(pip-prod)(deps): bump virtualenv from 20.26.0 to 20.26.1
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.26.0 to 20.26.1.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.26.0...20.26.1)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:59:58 +01:00
c7dfca46e0 fix(ci): combined docker + python CI 2024-04-26 17:15:41 +01:00
7394dc2c1c chore(pip-prod)(deps): bump sentry-sdk from 1.45.0 to 2.0.1 (#195)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.45.0 to 2.0.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.45.0...2.0.1)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 17:13:56 +01:00
a6cef02802 chore(pip-prod)(deps): bump webex-bot from 0.4.7 to 0.5.1 (#194)
Bumps [webex-bot](https://github.com/fbradyirl/webex_bot) from 0.4.7 to 0.5.1.
- [Release notes](https://github.com/fbradyirl/webex_bot/releases)
- [Commits](https://github.com/fbradyirl/webex_bot/compare/v0.4.7...v0.5.1)

---
updated-dependencies:
- dependency-name: webex-bot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 17:07:24 +01:00
e82cfebe8f fix(ci): auto generate release notes 2024-04-26 17:03:23 +01:00
a016e0c376 chore(pip-prod)(deps): bump webex-bot from 0.4.1 to 0.4.7 (#190)
* chore(pip-prod)(deps): bump webex-bot from 0.4.1 to 0.4.7

Bumps [webex-bot](https://github.com/fbradyirl/webex_bot) from 0.4.1 to 0.4.7.
- [Release notes](https://github.com/fbradyirl/webex_bot/releases)
- [Commits](https://github.com/fbradyirl/webex_bot/compare/v0.4.1...v0.4.7)

---
updated-dependencies:
- dependency-name: webex-bot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(pip-prod)(deps): bump websockets from 10.2 to 11.0.3

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Tainton <luke@tainton.uk>
2024-04-24 21:45:44 +01:00
6d524402e7 chore(pip-prod)(deps): bump platformdirs from 4.2.0 to 4.2.1 (#191)
Bumps [platformdirs](https://github.com/platformdirs/platformdirs) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/platformdirs/platformdirs/releases)
- [Changelog](https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst)
- [Commits](https://github.com/platformdirs/platformdirs/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: platformdirs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 21:40:28 +01:00
d67e9e3cf7 chore(pip-prod)(deps): bump virtualenv from 20.25.3 to 20.26.0 (#189)
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.25.3 to 20.26.0.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.25.3...20.26.0)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-24 21:32:39 +01:00
56a9b2b49d Merge pull request #188 from luketainton/dependabot/pip/pluggy-1.5.0
chore(pip-prod)(deps): bump pluggy from 1.4.0 to 1.5.0
2024-04-23 07:31:29 +01:00
35e7267771 chore(pip-prod)(deps): bump pluggy from 1.4.0 to 1.5.0
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.4.0 to 1.5.0.
- [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pluggy/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: pluggy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 18:54:00 +00:00
84fa632fa4 Merge pull request #187 from luketainton/dependabot/pip/identify-2.5.36
chore(pip-prod)(deps): bump identify from 2.5.35 to 2.5.36
2024-04-22 19:52:37 +01:00
70abc22680 chore(pip-prod)(deps): bump identify from 2.5.35 to 2.5.36
Bumps [identify](https://github.com/pre-commit/identify) from 2.5.35 to 2.5.36.
- [Commits](https://github.com/pre-commit/identify/compare/v2.5.35...v2.5.36)

---
updated-dependencies:
- dependency-name: identify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 16:44:05 +00:00
3210fef785 Fix unit test for APP_VERSION 2024-04-21 17:01:22 +01:00
61144056ae Add release to Sentry SDK 2024-04-21 16:56:27 +01:00
a4007d585b Auto-inject version into image 2024-04-21 16:52:55 +01:00
123ed8aa15 Add APM (#184)
* Add APM
* Fix unit tests
* Remove apm.py
* Add SonarCloud recommendations
* SonarCloud python:S6890
2024-04-21 16:17:00 +01:00
97be51bd59 chore(pip-prod)(deps): bump virtualenv from 20.25.1 to 20.25.3
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.25.1 to 20.25.3.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.25.1...20.25.3)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 18:38:03 +01:00
6300b11591 chore(pip-prod)(deps): bump idna from 3.6 to 3.7
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 22:08:49 +01:00
dc62af1574 chore(pip-prod)(deps): bump filelock from 3.13.3 to 3.13.4
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.13.3 to 3.13.4.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.13.3...3.13.4)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 20:51:35 +01:00
1de66ee3c6 chore(pip-prod)(deps): bump filelock from 3.13.2 to 3.13.3
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.13.2...3.13.3)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 16:42:37 +00:00
4687a6aa38 chore(pip-prod)(deps): bump filelock from 3.13.1 to 3.13.2
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.13.1 to 3.13.2.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.13.1...3.13.2)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 19:22:15 +00:00
041299d3fc chore(pip-prod)(deps): bump autopep8 from 2.0.4 to 2.1.0
Bumps [autopep8](https://github.com/hhatto/autopep8) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v2.0.4...v2.1.0)

---
updated-dependencies:
- dependency-name: autopep8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 12:38:36 +00:00
26b846d297 chore(actions)(deps): bump mathieudutour/github-tag-action
Bumps [mathieudutour/github-tag-action](https://github.com/mathieudutour/github-tag-action) from 6.1 to 6.2.
- [Release notes](https://github.com/mathieudutour/github-tag-action/releases)
- [Commits](https://github.com/mathieudutour/github-tag-action/compare/v6.1...v6.2)

---
updated-dependencies:
- dependency-name: mathieudutour/github-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 22:39:39 +00:00
37ae25adbe chore(pip-prod)(deps): bump packaging from 23.2 to 24.0
Bumps [packaging](https://github.com/pypa/packaging) from 23.2 to 24.0.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/23.2...24.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 07:28:29 +00:00
aab67ef378 chore(pip-prod)(deps): bump pyparsing from 3.1.1 to 3.1.2
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.1...pyparsing_3.1.2)

---
updated-dependencies:
- dependency-name: pyparsing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 17:22:30 +00:00
99d8b862c6 Merge branch 'main' into next 2024-03-04 17:14:51 +00:00
608c1e81f6 chore(pip-prod)(deps): bump python-dateutil from 2.9.0 to 2.9.0.post0
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.9.0 to 2.9.0.post0.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/2.9.0...2.9.0.post0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 17:11:33 +00:00
571e1c2d0b chore(pip-prod)(deps): bump python-dateutil from 2.8.2 to 2.9.0
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/2.8.2...2.9.0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:56:21 +00:00
88a58e08b8 chore(pip-prod)(deps): bump tomlkit from 0.12.3 to 0.12.4
Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/sdispater/tomlkit/releases)
- [Changelog](https://github.com/sdispater/tomlkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdispater/tomlkit/compare/0.12.3...0.12.4)

---
updated-dependencies:
- dependency-name: tomlkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 20:36:40 +00:00
d79f66ede4 chore(pip-prod)(deps): bump astroid from 3.0.3 to 3.1.0
Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/pylint-dev/astroid/releases)
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog)
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.0.3...v3.1.0)

---
updated-dependencies:
- dependency-name: astroid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 20:32:06 +00:00
741d9e2f82 chore(pip-prod)(deps): bump virtualenv from 20.25.0 to 20.25.1
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.25.0 to 20.25.1.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.25.0...20.25.1)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 19:06:28 +00:00
f515fb8149 chore(pip-prod)(deps): bump future from 0.18.3 to 1.0.0
Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.3 to 1.0.0.
- [Release notes](https://github.com/PythonCharmers/python-future/releases)
- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst)
- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.3...v1.0.0)

---
updated-dependencies:
- dependency-name: future
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 18:39:09 +00:00
8bed4f3805 chore(pip-prod)(deps): bump urllib3 from 2.2.0 to 2.2.1
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.0...2.2.1)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:11:25 +00:00
6729efffa9 chore(pip-prod)(deps): bump identify from 2.5.34 to 2.5.35
Bumps [identify](https://github.com/pre-commit/identify) from 2.5.34 to 2.5.35.
- [Commits](https://github.com/pre-commit/identify/compare/v2.5.34...v2.5.35)

---
updated-dependencies:
- dependency-name: identify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:07:23 +00:00
1f99bc0263 chore(pip-prod)(deps): bump identify from 2.5.33 to 2.5.34
Bumps [identify](https://github.com/pre-commit/identify) from 2.5.33 to 2.5.34.
- [Commits](https://github.com/pre-commit/identify/compare/v2.5.33...v2.5.34)

---
updated-dependencies:
- dependency-name: identify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-13 08:56:35 +00:00
fb4fc2ab5b fix(deps): update dependency astroid to v3.0.3 2024-02-09 14:02:21 +00:00
1cce692f9c fix(deps): update dependency certifi to v2024 2024-02-09 14:02:21 +00:00
111f32d7f8 fix(deps): update dependency urllib3 to v2.2.0 2024-02-09 14:02:21 +00:00
1349adcd59 fix(deps): update dependency platformdirs to v4.2.0 2024-02-09 14:02:21 +00:00
d194551de3 fix(deps): update dependency dill to v0.3.8 2024-02-09 14:02:21 +00:00
5de2daed2d fix(deps): update dependency python-dotenv to v1.0.1 2024-02-09 14:02:21 +00:00
0f2ff28f1d Add Dependabot 2024-02-09 14:02:21 +00:00
0abf4448e7 fix(deps): update dependency pluggy to v1.4.0 2024-02-09 14:02:21 +00:00
e43fd2af7c fix(deps): update dependency attrs to v23.2.0 2024-02-09 14:02:21 +00:00
2e5281ba3e fix(deps): update dependency astroid to v3.0.3 2024-02-04 15:34:14 +00:00
87079195ad fix(deps): update dependency certifi to v2024 2024-02-04 15:31:33 +00:00
0988c58c64 fix(deps): update dependency urllib3 to v2.2.0 2024-02-01 08:48:59 +00:00
975541fb39 fix(deps): update dependency platformdirs to v4.2.0 2024-01-31 08:55:20 +00:00
6fe11e7220 fix(deps): update dependency dill to v0.3.8 2024-01-28 08:18:40 +00:00
86c978297f fix(deps): update dependency python-dotenv to v1.0.1 2024-01-24 20:31:17 +00:00
1f1a7c18b8 Add Dependabot 2024-01-24 20:09:24 +00:00
f6c66b593f fix(deps): update dependency pluggy to v1.4.0 2024-01-24 19:48:40 +00:00
60233230b1 fix(deps): update dependency attrs to v23.2.0 2023-12-31 14:56:58 +00:00
7d0051f985 Merge branch 'next' 2023-12-30 13:40:21 +00:00
6b09b4a1a6 Pass SNYK_TOKEN to CI 2023-12-30 13:39:12 +00:00
f86f84db43 fix(deps): update dependency lazy-object-proxy to v1.10.0 2023-12-30 13:39:12 +00:00
561ecfbc91 Merge branch 'next' of github.com:luketainton/roboluke-tasks into next 2023-12-30 13:32:23 +00:00
0954200ebf Pass SNYK_TOKEN to CI 2023-12-30 13:32:12 +00:00
9017433728 Merge branch 'main' into next 2023-12-30 13:29:27 +00:00
9a567a92e4 fix(deps): update dependency lazy-object-proxy to v1.10.0 2023-12-15 15:52:49 +00:00
d2d38024d5 fix(deps): update dependency distlib to v0.3.8 2023-12-14 21:31:58 +00:00
1d22ea1067 fix(deps): update dependency astroid to v3.0.2 2023-12-14 21:31:58 +00:00
02520fcc9e fix(deps): update dependency pathspec to v0.12.1 2023-12-14 21:31:58 +00:00
5a8edb5a71 fix(deps): update dependency pathspec to v0.12.0 2023-12-14 21:31:58 +00:00
5da7a1640f fix(deps): update dependency identify to v2.5.33 2023-12-14 21:31:58 +00:00
bc2a0a1a82 fix(deps): update dependency virtualenv to v20.25.0 2023-12-14 21:31:58 +00:00
bb0b6ec071 fix(deps): update dependency platformdirs to v4.1.0 2023-12-14 21:31:58 +00:00
af7bc3b9bf fix conflict 2023-12-14 21:28:47 +00:00
555e9ff50e fix(deps): update dependency distlib to v0.3.8 2023-12-14 19:50:14 +00:00
b42f97f2ef fix(deps): update dependency astroid to v3.0.2 2023-12-14 19:48:36 +00:00
e4d88ef813 fix(deps): update dependency pathspec to v0.12.1 2023-12-11 12:18:26 +00:00
b36786d9c1 fix(deps): update dependency pathspec to v0.12.0 2023-12-10 14:44:00 +00:00
cd36a13f61 fix(deps): update dependency identify to v2.5.33 2023-12-09 14:01:39 +00:00
b36a966896 fix(deps): update dependency virtualenv to v20.25.0 2023-12-04 18:03:33 +00:00
6d3c04c63f fix(deps): update dependency platformdirs to v4.1.0 2023-12-04 18:01:26 +00:00
644f71d8b2 fix(deps): update dependency platformdirs to v4 2023-11-27 13:58:18 +00:00
bc18115fa2 fix(ci): wait for Docker build before updating Portainer 2023-11-27 13:58:18 +00:00
88096c8166 fix(deps): update dependency platformdirs to v4 2023-11-27 13:56:00 +00:00
e838b0fa9a fix(ci): wait for Docker build before updating Portainer 2023-11-27 13:54:12 +00:00
926e00a85b fix(deps): update dependency idna to v3.6 2023-11-25 19:32:55 +00:00
0afb586982 fix(deps): update dependency idna to v3.5 2023-11-24 21:09:52 +00:00
aa0a9dabd1 fix(deps): update dependency virtualenv to v20.24.7 2023-11-21 18:54:06 +00:00
c27eb3ec9b fix(deps): update dependency identify to v2.5.32 2023-11-18 21:00:22 +00:00
13533360d7 fix(deps): update dependency certifi to v2023.11.17 2023-11-18 09:07:49 +00:00
7587e14196 fix(deps): update dependency tomlkit to v0.12.3 2023-11-15 12:25:15 +00:00
1a82603ce3 fix(deps): update dependency urllib3 to v2.1.0 2023-11-13 20:59:28 +00:00
fbb4956878 fix(deps): update dependency wrapt to v1.16.0 2023-11-11 12:48:37 +00:00
ec8199770d fix(deps): update dependency tomlkit to v0.12.2 2023-11-02 17:36:52 +00:00
5dac8a94d9 fix(deps): update dependency charset-normalizer to v3.3.2 2023-11-01 12:14:30 +00:00
d89fa33eed fix(deps): update dependency filelock to v3.13.1 2023-11-01 12:09:04 +00:00
c70c7c22ec fix(deps): update dependency identify to v2.5.31 2023-10-28 21:12:38 +01:00
fedf9ae454 fix(deps): update dependency filelock to v3.13.0 2023-10-27 23:17:29 +01:00
21 changed files with 375 additions and 132 deletions

View File

@ -1,5 +1,8 @@
APP_LIFECYCLE="dev"
SENTRY_ENABLED="False"
SENTRY_DSN=""
ADMIN_EMAIL=""
ADMIN_FIRST_NAME=""
BOT_NAME=""
N8N_WEBHOOK_URL=""
WEBEX_API_KEY=""
WEBEX_API_KEY=""

1
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1 @@
* @luketainton

44
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,44 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
# reviewers:
# - "luketainton"
commit-message:
prefix: "chore(actions)"
include: "scope"
labels:
- "dependencies"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
# reviewers:
# - "luketainton"
commit-message:
prefix: "chore(docker)"
include: "scope"
labels:
- "dependencies"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
assignees:
- "luketainton"
# reviewers:
# - "luketainton"
commit-message:
prefix: "chore(pip-prod)"
prefix-development: "chore(pip-dev)"
include: "scope"
labels:
- "dependencies"

View File

@ -1,47 +1,47 @@
{
"assignAutomerge": true,
"assigneesFromCodeOwners": true,
"baseBranches": [
"main"
],
"dependencyDashboardAutoclose": true,
"extends": [
"config:base",
":semanticCommits",
":semanticCommitTypeAll(fix)"
],
"baseBranches": [
"next"
],
"platformCommit": true,
"dependencyDashboardAutoclose": true,
"assignAutomerge": true,
"assigneesFromCodeOwners": true,
"rebaseWhen": "behind-base-branch",
"rollbackPrs": true,
"labels": [
"dependencies"
],
"packageRules": [
{
"labels": [
"linting"
],
"matchPackagePatterns": [
"black",
"pylint"
],
"labels": [
"linting"
]
},
{
"labels": [
"unit-tests"
],
"matchPackagePatterns": [
"coverage",
"pytest"
],
"labels": [
"unit-tests"
]
}
],
"platformCommit": true,
"rebaseWhen": "behind-base-branch",
"rollbackPrs": true,
"vulnerabilityAlerts": {
"commitMessagePrefix": "[SECURITY] ",
"enabled": true,
"labels": [
"security"
],
"commitMessagePrefix": "[SECURITY] ",
"prCreation": "immediate"
}
}
}

64
.github/workflows-old/release.yml vendored Normal file
View File

@ -0,0 +1,64 @@
name: Build
on:
push:
branches: [main]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.tag_version.outputs.new_tag }}
steps:
- uses: actions/checkout@v4
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: minor
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
generateReleaseNotes: true
publish:
name: GitHub Container Registry
runs-on: ubuntu-latest
needs: release
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
- name: Build image for GitHub Package Registry
run: |
docker build . --file Dockerfile \
--build-arg "version=${{ needs.release.outputs.new_tag }}" \
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release.outputs.new_tag }} \
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- name: Push image to GitHub Package Registry
run: |
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release.outputs.new_tag }}
# deploy:
# name: Update Portainer Deployment
# runs-on: ubuntu-latest
# needs: publish
# steps:
# - uses: fjogeleit/http-request-action@v1
# with:
# url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
# method: POST
# timeout: 60000
# preventFailureOnNoResponse: "true"

View File

@ -6,16 +6,13 @@ on:
- "README.md"
- "LICENSE.md"
- ".gitignore"
- "CODEOWNERS"
- "renovate.json"
- ".github/CODEOWNERS"
- ".github/renovate.json"
- ".github/dependabot.yml"
jobs:
pythonci:
uses: luketainton/gha-workflows/.github/workflows/ci-python.yml@main
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
dockerci:
uses: luketainton/gha-workflows/.github/workflows/ci-docker.yml@main
ci:
uses: luketainton/gha-workflows/.github/workflows/ci-python-with-docker.yml@main
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

View File

@ -1,51 +1,18 @@
name: Build
name: Release
on:
push:
branches: [main]
workflow_dispatch:
schedule:
- cron: "0 9 * * 0"
jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.tag_version.outputs.new_tag }}
steps:
- uses: actions/checkout@v4
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: minor
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
publish:
name: GitHub Container Registry
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
run: echo ${{ secrets.GHCR_ACCESS_TOKEN }} | docker login ghcr.io -u luketainton --password-stdin
- name: Build image for GitHub Package Registry
run: docker build . --file Dockerfile --tag ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }} --tag ghcr.io/luketainton/roboluke-tasks:latest
- name: Push image to GitHub Package Registry
run: |
docker push ghcr.io/luketainton/roboluke-tasks:latest
docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }}
create_release:
name: Create Release
uses: luketainton/gha-workflows/.github/workflows/create-release.yml@main
deploy:
name: Update Portainer Deployment
runs-on: ubuntu-latest
steps:
- uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
method: POST
timeout: 30000
preventFailureOnNoResponse: 'true'
create_docker:
name: Create Docker Image
needs: create_release
if: ${{ needs.create_release.outputs.success == 'true' }}
uses: luketainton/gha-workflows/.github/workflows/build-push-attest-docker.yml@main
with:
release: ${{ needs.create_release.outputs.release_name }}

60
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,60 @@
fail_fast: false
minimum_pre_commit_version: 3.8.0
default_install_hook_types: [pre-commit, commit-msg]
default_language_version:
python: python3.11
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: detect-private-key
- id: no-commit-to-branch
- id: requirements-txt-fixer
- id: name-tests-test
args: [--pytest-test-first]
- id: pretty-format-json
args: [--autofix]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
- id: ruff-format # Run the formatter.
- id: ruff # Run the linter.
args: [--fix]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: python-use-type-annotations
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]

View File

@ -1 +0,0 @@
* @luketainton

View File

@ -15,4 +15,7 @@ RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT ["python3", "-B", "-m", "app.main"]
ARG version="dev"
ENV APP_VERSION=$version
COPY app /run/app

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3
import logging
import sentry_sdk
from webex_bot.models.command import Command
from webex_bot.models.response import Response, response_from_adaptive_card
@ -113,7 +114,8 @@ class SubmitTaskCommand(Command):
Submit(title="Cancel", data={"command_keyword": "exit"}),
],
)
return response_from_adaptive_card(card)
with sentry_sdk.start_transaction(name="submit_task_command"):
return response_from_adaptive_card(card)
class SubmitTaskCallback(Command):
@ -147,7 +149,8 @@ class SubmitTaskCallback(Command):
)
def execute(self, message, attachment_actions, activity) -> str:
return self.msg
with sentry_sdk.start_transaction(name="submit_task_callback"):
return self.msg
class MyTasksCallback(Command):
@ -158,11 +161,13 @@ class MyTasksCallback(Command):
self.msg: str = ""
def pre_execute(self, message, attachment_actions, activity) -> str:
return "Getting your tasks..."
with sentry_sdk.start_transaction(name="my_tasks_preexec"):
return "Getting your tasks..."
def execute(self, message, attachment_actions, activity) -> str | None:
sender: str = attachment_actions.inputs.get("sender")
result: bool = get_tasks(requestor=sender)
if not result:
return "Failed to get tasks. Please try again."
return
with sentry_sdk.start_transaction(name="my_tasks_exec"):
if not result:
return "Failed to get tasks. Please try again."
return

View File

@ -1,5 +1,8 @@
#!/usr/bin/env python3
import sentry_sdk
from sentry_sdk.integrations.stdlib import StdlibIntegration
from webex_bot.webex_bot import WebexBot
from app.commands.exit import ExitCommand
@ -7,8 +10,19 @@ from app.commands.submit_task import SubmitTaskCommand
from app.utils.config import config
if config.sentry_enabled:
apm = sentry_sdk.init(
dsn=config.sentry_dsn,
enable_tracing=True,
environment=config.environment,
release=config.version,
integrations=[StdlibIntegration()],
spotlight=True
)
def create_bot() -> WebexBot:
# Create a Bot Object
"""Create and return a Webex Bot object."""
webex_bot: WebexBot = WebexBot(
bot_name=config.bot_name,
teams_bot_token=config.webex_token,

View File

@ -1,34 +1,71 @@
#!/usr/bin/env python3
"""Configuration module."""
import os
class Config:
"""Configuration module."""
def __init__(self) -> None:
"""Configuration module."""
self.__environment: str = os.environ.get("APP_LIFECYCLE", "DEV").upper()
self.__version: str = os.environ["APP_VERSION"]
self.__bot_name: str = os.environ["BOT_NAME"]
self.__webex_token: str = os.environ["WEBEX_API_KEY"]
self.__admin_first_name: str = os.environ["ADMIN_FIRST_NAME"]
self.__admin_emails: list = os.environ["ADMIN_EMAIL"].split(",")
self.__n8n_webhook_url: str = os.environ["N8N_WEBHOOK_URL"]
self.__sentry_dsn: str = os.environ.get("SENTRY_DSN", "")
self.__sentry_enabled: bool = bool(
os.environ.get("SENTRY_ENABLED", "False").upper() == "TRUE"
and self.__sentry_dsn != ""
)
@property
def environment(self) -> str:
"""Returns the current app lifecycle."""
return self.__environment
@property
def version(self) -> str:
"""Returns the current app version."""
return self.__version
@property
def sentry_enabled(self) -> bool:
"""Returns True if Sentry SDK is enabled, else False."""
return self.__sentry_enabled
@property
def sentry_dsn(self) -> str:
"""Returns the Sentry DSN value if Sentry SDK is enabled AND
Sentry DSN is set, else blank string."""
if not self.__sentry_enabled:
return ""
return self.__sentry_dsn
@property
def bot_name(self) -> str:
"""Returns the bot name."""
return self.__bot_name
@property
def webex_token(self) -> str:
"""Returns the Webex API key."""
return self.__webex_token
@property
def admin_first_name(self) -> str:
"""Returns the first name of the bot admin."""
return self.__admin_first_name
@property
def admin_emails(self) -> list:
"""Returns a list of admin email addresses."""
return self.__admin_emails
@property
def n8n_webhook_url(self) -> str:
"""Returns the n8n webhook URL."""
return self.__n8n_webhook_url

View File

@ -1,7 +1,18 @@
#!/usr/bin/env python3
from datetime import datetime
from zoneinfo import ZoneInfo
def timestamp_to_date(timestamp: int) -> str:
return datetime.utcfromtimestamp(timestamp).strftime("%Y-%m-%d")
"""Convert timestamp to date.
Args:
timestamp (int): Timestamp to convert.
Returns:
str: Date in the format YYYY-MM-DD.
"""
return datetime.fromtimestamp(timestamp=timestamp, tz=ZoneInfo("UTC")).strftime(
"%Y-%m-%d"
)

View File

@ -1,9 +1,18 @@
import requests
import sentry_sdk
from app.utils.config import config
def __n8n_post(data: dict) -> bool:
"""Post data to N8N webhook URL.
Args:
data (dict): Data to post to webhook URL.
Returns:
bool: True if successful, else False.
"""
headers: dict = {"Content-Type": "application/json"}
resp: requests.Response = requests.post(
url=config.n8n_webhook_url,
@ -16,22 +25,45 @@ def __n8n_post(data: dict) -> bool:
def submit_task(summary, description, completion_date, requestor) -> bool:
data: dict = {
"requestor": requestor,
"title": summary,
"description": description,
"completiondate": completion_date,
}
return __n8n_post(data=data)
"""Submit task to N8N webhook URL.
Args:
summary (str): Summary of task.
description (str): Description of task.
completion_date (str): Completion date of task.
requestor (str): Requestor of task.
Returns:
bool: True if successful, else False.
"""
with sentry_sdk.start_transaction(name="submit_task"):
data: dict = {
"requestor": requestor,
"title": summary,
"description": description,
"completiondate": completion_date,
}
_data = __n8n_post(data=data)
return _data
def get_tasks(requestor) -> bool:
headers: dict = {"Content-Type": "application/json"}
resp: requests.Response = requests.get(
url=config.n8n_webhook_url,
headers=headers,
timeout=10,
verify=False,
params={"requestor": requestor},
)
return bool(resp.status_code == 200)
"""Get tasks from N8N webhook URL.
Args:
requestor (str): Requestor of tasks.
Returns:
bool: True if successful, else False.
"""
with sentry_sdk.start_transaction(name="get_tasks"):
headers: dict = {"Content-Type": "application/json"}
resp: requests.Response = requests.get(
url=config.n8n_webhook_url,
headers=headers,
timeout=10,
verify=False,
params={"requestor": requestor},
)
_data = bool(resp.status_code == 200)
return _data

View File

@ -7,4 +7,4 @@ services:
dockerfile: Dockerfile
restart: unless-stopped
env_file: .env
...
...

View File

@ -4,3 +4,4 @@ isort
pylint
pylint-exit
pytest
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

View File

@ -1,46 +1,48 @@
appdirs==1.4.4
astroid==3.0.1
attrs==23.1.0
autopep8==2.0.4
astroid==3.3.1
attrs==24.2.0
autopep8==2.3.1
backoff==2.2.1
certifi==2023.7.22
certifi==2024.7.4
cfgv==3.4.0
charset-normalizer==3.3.1
charset-normalizer==3.3.2
click==8.1.7
coloredlogs==15.0.1
dill==0.3.7
distlib==0.3.7
filelock==3.12.4
future==0.18.3
dill==0.3.8
distlib==0.3.8
filelock==3.15.4
future==1.0.0
humanfriendly==10.0
identify==2.5.30
idna==3.4
identify==2.6.0
idna==3.7
iniconfig==2.0.0
lazy-object-proxy==1.9.0
lazy-object-proxy==1.10.0
mccabe==0.7.0
mypy-extensions==1.0.0
nodeenv==1.8.0
packaging==23.2
pathspec==0.11.2
platformdirs==3.11.0
pluggy==1.3.0
nodeenv==1.9.1
packaging==24.1
pathspec==0.12.1
platformdirs==4.2.2
pluggy==1.5.0
py==1.11.0
pycodestyle==2.11.1
PyJWT==2.8.0
pyparsing==3.1.1
python-dateutil==2.8.2
python-dotenv==1.0.0
PyYAML==6.0.1
requests==2.31.0
pycodestyle==2.12.1
PyJWT==2.9.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
PyYAML==6.0.2
requests==2.32.3
requests-toolbelt==1.0.0
sentry-sdk==2.12.0
six==1.16.0
toml==0.10.2
tomli==2.0.1
tomlkit==0.12.1
urllib3==2.0.7
virtualenv==20.24.6
webex-bot==0.4.1
tomlkit==0.13.0
urllib3==2.2.2
virtualenv==20.26.3
webex-bot==0.5.1
webexteamssdk==1.6.1
websockets==10.2
wrapt==1.15.0
websockets==11.0.3
wrapt==1.16.0
xmltodict==0.13.0
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

View File

@ -1,3 +1,3 @@
export $(cat .env | xargs)
python -B -m app.main
unset BOT_NAME WEBEX_API_KEY ADMIN_FIRST_NAME ADMIN_EMAIL N8N_WEBHOOK_URL
unset APP_LIFECYCLE SENTRY_ENABLED SENTRY_DSN BOT_NAME WEBEX_API_KEY ADMIN_FIRST_NAME ADMIN_EMAIL N8N_WEBHOOK_URL

0
tests/__init__.py Normal file
View File

View File

@ -6,11 +6,14 @@ import os
vars: dict = {
"APP_VERSION": "dev",
"BOT_NAME": "TestBot",
"WEBEX_API_KEY": "testing",
"ADMIN_FIRST_NAME": "Test",
"ADMIN_EMAIL": "test@test.com",
"N8N_WEBHOOK_URL": "https://n8n.test.com/webhook/abcdefg",
"SENTRY_ENABLED": "false",
"SENTRY_DSN": "http://localhost"
}