From 224b6240f3f2b98d6e1069494e2fe8f326272577 Mon Sep 17 00:00:00 2001 From: Niall Byrne Date: Fri, 19 Nov 2021 16:12:35 +0000 Subject: [PATCH] ci(GITHUB): support wider range of python versions --- .github/workflows/push.yml | 2 ++ README.md | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7481f1de..87a20f8d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -25,6 +25,8 @@ jobs: matrix: include: - python-version: 3.7 + - python-version: 3.8 + - python-version: 3.9 steps: - name: Build -- Checkout diff --git a/README.md b/README.md index 2f37278c..1a819889 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,10 @@ You will need to install the following dependencies: sudo apt-get install gcc motion supervisor libffi-dev libssl-dev python3-dev ``` +### Python + +Supports Python [3.7](https://www.python.org/downloads/release/python-370/), [3.8](https://www.python.org/downloads/release/python-380/) or [3.9](https://www.python.org/downloads/release/python-390/) + ### PAAS Accounts - An [AWS](https://aws.amazon.com/) account @@ -63,7 +67,7 @@ sudo apt-get install gcc motion supervisor libffi-dev libssl-dev python3-dev See [this guide](https://ritikjain1272.medium.com/how-to-make-a-slack-bot-in-python-using-slacks-rtm-api-335b393563cd) for setting up a bot account on Slack. -### AWS Infrastructure +#### AWS Infrastructure You'll need to create two S3 buckets: - one to archive logs @@ -91,7 +95,7 @@ One set of credentials will be used by PI Portal for video files, the other by [ You can also configure [lifecycle rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) for these buckets to control data retention. (And it's definately a good idea to ensure they are not publicly accessible!) -### Logz IO Integration +#### Logz IO Integration [This service](https://logz.io/) has a generous free tier that will allow you to search your logs, and do long term retention in the S3 bucket you created. You will need to know your accounts `log token`, (check the website on how to configure filbeat to find it.)