Compare commits

...

5 Commits

Author SHA1 Message Date
ac87b3401c Pin Werkzeug to pre-deprecation version
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/spielwiese Build is passing
2023-05-16 19:58:34 +02:00
6a6be1f922 Use pip and venv for installation 2023-05-16 19:58:29 +02:00
50dad0e80f Pin version in command, because of pipx 2023-05-16 19:58:25 +02:00
42b9fb6334 Use requirements.txt with Drone 2023-05-16 19:58:20 +02:00
82caf96951 Pin lektor to version 3.3.8 2023-05-16 19:57:53 +02:00
2 changed files with 12 additions and 10 deletions

View File

@ -16,9 +16,9 @@ steps:
image: python:3.10-alpine
commands:
- apk add imagemagick
- python3 -m pip install --user pipx
- export PATH=/root/.local/bin:$PATH
- pipx install lektor
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
- lektor build
---
@ -38,9 +38,9 @@ steps:
from_secret: drone_ssh_key
commands:
- apk add imagemagick
- python3 -m pip install --user pipx
- export PATH=/root/.local/bin:$PATH
- pipx install lektor
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
- lektor build
- apk add rsync openssh
- mkdir ~/.ssh
@ -56,9 +56,9 @@ steps:
from_secret: drone_ssh_key
commands:
- apk add imagemagick
- python3 -m pip install --user pipx
- export PATH=/root/.local/bin:$PATH
- pipx install lektor
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
- lektor build
- apk add rsync openssh
- mkdir ~/.ssh
@ -70,6 +70,6 @@ steps:
---
kind: signature
hmac: 0d28bd52da692fb47e34b3fcb103df15005109a7cdaee3ea4a8a76a605660017
hmac: 1634ef6329d6399a622c569b06bf084859854e34958585f2a83bd2f0b1bb47ca
...

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
lektor==3.3.8
Werkzeug<2.3