Compare commits

...

3 Commits

Author SHA1 Message Date
d6ef9079b6 update versions
All checks were successful
Publish / Publish Docker Container (push) Successful in 50s
2025-11-30 15:28:00 +11:00
5a7aec64ca update ci and readme, allow workflow dispatch
All checks were successful
Publish / Publish Docker Container (push) Successful in 2m56s
2025-11-30 15:06:02 +11:00
3354b186c1 Update README.md 2025-08-25 13:15:09 +10:00
4 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ on:
jobs: jobs:
publish: publish:
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
name: Publish Docker Container name: Publish Docker Container
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -1,4 +1,4 @@
FROM python:3.12-slim AS base FROM python:3.13-slim AS base
WORKDIR /app WORKDIR /app

View File

@@ -2,14 +2,14 @@
Simple python script to loop through all files in an S3 Endpoint and delete excess files based on a retention amount. Simple python script to loop through all files in an S3 Endpoint and delete excess files based on a retention amount.
Retention ammount: 5 Retention amount: 5
## Development ## Development
Python 3.12 should be used for development and ideally a virtual environment should be used. With the source checked out run the following command to create a virtual environment. Python 3.12 should be used for development and ideally a virtual environment should be used. With the source checked out run the following command to create a virtual environment.
```bash ```bash
python3 -m venv ./ python3 -m venv .venv
``` ```
The required packages can be installed by running the following command after activating the virtual environment. The required packages can be installed by running the following command after activating the virtual environment.

View File

@@ -1,7 +1,8 @@
boto3==1.35.90 boto3==1.41.5
botocore==1.35.90 botocore==1.41.5
jmespath==1.0.1 jmespath==1.0.1
pi==0.1.2
python-dateutil==2.9.0.post0 python-dateutil==2.9.0.post0
s3transfer==0.10.4 s3transfer==0.15.0
six==1.17.0 six==1.17.0
urllib3==2.3.0 urllib3==2.5.0