Skip to content

Commit

Permalink
ci(GITHUB): support wider range of python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Nov 20, 2021
1 parent 2f8bac6 commit 224b624
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
matrix:
include:
- python-version: 3.7
- python-version: 3.8
- python-version: 3.9

steps:
- name: Build -- Checkout
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.)
Expand Down

0 comments on commit 224b624

Please sign in to comment.