Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.01 #52

Merged
merged 39 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fcf81b3
Merge pull request #27 from watchdogpolska/dev
PiotrIw Mar 28, 2024
7950bb7
Merge pull request #30 from watchdogpolska/dev
PiotrIw Mar 28, 2024
0a8a655
Merge pull request #34 from watchdogpolska/dev_ext
PiotrIw May 22, 2024
e6dbe2a
Merge pull request #35 from watchdogpolska/dev
PiotrIw May 22, 2024
51c90a4
chore(deps): bump requests from 2.31.0 to 2.32.2
dependabot[bot] May 22, 2024
2f9225b
Merge pull request #36 from watchdogpolska/dependabot/pip/requests-2.…
PiotrIw May 22, 2024
82a642b
Add renovate.json
renovate[bot] May 27, 2024
e411c21
Merge pull request #37 from watchdogpolska/renovate/configure
PiotrIw May 27, 2024
167f252
chore(deps): update dependency flask to v3.0.3
renovate[bot] May 27, 2024
abd70c3
chore(deps): update dependency lxml to v5.2.2
renovate[bot] May 27, 2024
b9f80ca
Merge pull request #39 from watchdogpolska/renovate/lxml-5.x
PiotrIw May 27, 2024
bc79091
Merge pull request #38 from watchdogpolska/renovate/flask-3.x
PiotrIw May 27, 2024
a99bf02
chore(deps): update dependency pre-commit to v3.7.1
renovate[bot] May 27, 2024
2a2c4ef
chore(deps): update pre-commit/action action to v2.0.3
renovate[bot] May 27, 2024
9cdc271
feat: use python 3.12
PiotrIw May 27, 2024
10ede9e
chore: version bumpup
PiotrIw May 27, 2024
c45cf05
Merge pull request #41 from watchdogpolska/renovate/pre-commit-3.x
PiotrIw May 27, 2024
b2471ee
Merge pull request #42 from watchdogpolska/renovate/pre-commit-action…
PiotrIw May 27, 2024
d3f59c9
chore(deps): update dependency sentry-sdk to v1.45.0
renovate[bot] May 27, 2024
8dae8dc
Merge pull request #43 from watchdogpolska/renovate/sentry-sdk-1.x
PiotrIw May 27, 2024
a2fdf86
chore(deps): update python docker tag to v3.12
renovate[bot] May 27, 2024
6f7db04
chore(deps): update actions/checkout action to v4
renovate[bot] May 27, 2024
61f7547
Merge pull request #44 from watchdogpolska/renovate/python-3.x
PiotrIw May 27, 2024
3fe5482
Merge pull request #45 from watchdogpolska/renovate/actions-checkout-4.x
PiotrIw May 27, 2024
2dcbf2f
chore(deps): update dependency sentry-sdk to v2
renovate[bot] May 27, 2024
637c4bf
Merge pull request #46 from watchdogpolska/renovate/sentry-sdk-2.x
PiotrIw May 27, 2024
db2b29b
chore(deps): update docker/build-push-action action to v5
renovate[bot] May 27, 2024
a49f948
Merge pull request #47 from watchdogpolska/renovate/docker-build-push…
PiotrIw May 27, 2024
ecfe6db
chore(deps): update docker/login-action action to v3
renovate[bot] May 27, 2024
9785a59
Merge pull request #48 from watchdogpolska/renovate/docker-login-acti…
PiotrIw May 27, 2024
a3ad9c3
chore(deps): update docker/setup-buildx-action action to v3
renovate[bot] May 27, 2024
2405aae
Merge pull request #49 from watchdogpolska/renovate/docker-setup-buil…
PiotrIw May 27, 2024
42d13a7
chore(deps): update docker/setup-qemu-action action to v3
renovate[bot] May 27, 2024
a128e3a
chore(deps): update pre-commit/action action to v3
renovate[bot] May 27, 2024
ad82e13
Merge pull request #50 from watchdogpolska/renovate/docker-setup-qemu…
PiotrIw May 27, 2024
f15b443
Merge pull request #51 from watchdogpolska/renovate/pre-commit-action…
PiotrIw May 27, 2024
c543a39
Merge branch 'master' of https://github.com/PiotrIw/imap-to-webhook
PiotrIw May 27, 2024
442b6e7
fix: version number
PiotrIw May 27, 2024
58d2ff0
Merge pull request #4 from PiotrIw/py_312
PiotrIw May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/daemon_image_buil_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# yamllint enable rule:line-length
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get version from script
id: get_version
Expand All @@ -37,19 +37,19 @@ jobs:
env

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PAT }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.production
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run pre-commit hooks
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v3.0.1
2 changes: 1 addition & 1 deletion .github/workflows/python-app-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Pull python image
run: docker pull python:3.10-slim
- name: Build app container
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim as build
FROM python:3.12-slim as build
LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl"

WORKDIR /usr/src/app
Expand All @@ -13,6 +13,7 @@ RUN apt-get update \
&& pip install --no-cache-dir -r requirements.dev.txt \
&& apt-get remove -y g++ && apt-get autoremove -y
ENV PYTHONUNBUFFERED=1
RUN git config --global --add safe.directory /usr/src/app
COPY . .

# Testing
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim as build
FROM python:3.12-slim as build
LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl"

WORKDIR /usr/src/app
Expand All @@ -11,5 +11,6 @@ RUN apt-get update \
&& pip install --no-cache-dir -r requirements.txt \
&& apt-get remove -y g++ && apt-get autoremove -y
ENV PYTHONUNBUFFERED=1
RUN git config --global --add safe.directory /usr/src/app
COPY . .
CMD [ "python", "./daemon.py" ]
2 changes: 1 addition & 1 deletion mock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl"

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion mock/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Flask==3.0.2
Flask==3.0.3
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

[tool.black]
line-length = 88
target-version = ['py310']
target-version = ['py312']
exclude = '''
/(
node_modules
| docs
)/
'''
'''
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pre-commit==3.7.0
pre-commit==3.7.1
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
html2text==2024.2.26
mail-parser==3.15.0
requests==2.31.0
sentry-sdk==1.43.0
requests==2.32.2
sentry-sdk==2.3.1
ipdb==0.13.13
html5lib==1.1
lxml==5.2.1
lxml==5.2.2
cssselect==1.2.0
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.1.0"
__version__ = "1.1.01"

if __name__ == "__main__":
print(f"v{__version__}")