This repository has been archived on 2024-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-10 21:53:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
2023-01-11 12:35:37 +00:00
|
|
|
- name: lint
|
2023-04-06 00:20:21 +00:00
|
|
|
image: python:3.11.3
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2023-01-11 12:36:26 +00:00
|
|
|
- pip install poetry
|
2023-01-11 12:35:37 +00:00
|
|
|
- poetry install
|
|
|
|
- poetry run flake8
|
2023-01-11 12:40:03 +00:00
|
|
|
- poetry run mypy .
|
2023-01-11 12:36:26 +00:00
|
|
|
- name: epub
|
2023-04-06 00:20:21 +00:00
|
|
|
image: python:3.11.3
|
2023-01-11 12:35:37 +00:00
|
|
|
commands:
|
2023-01-11 12:36:26 +00:00
|
|
|
- pip install poetry
|
2023-01-11 12:35:37 +00:00
|
|
|
- poetry install --without dev
|
2023-05-11 21:12:38 +00:00
|
|
|
- poetry run python books.py
|
2021-05-18 13:21:20 +00:00
|
|
|
- bash -x upload.sh
|
2021-04-10 21:59:50 +00:00
|
|
|
environment:
|
2021-05-18 13:27:19 +00:00
|
|
|
USERNAME:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_user
|
2021-05-18 13:27:19 +00:00
|
|
|
PASSWORD:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_password
|
2021-06-24 13:37:26 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- cron
|