2021-04-10 21:53:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: flake8
|
|
|
|
image: python:slim
|
|
|
|
commands:
|
|
|
|
- pip install flake8
|
2021-04-10 21:59:50 +00:00
|
|
|
- flake8 --max-line-length 111
|
2021-04-10 21:53:47 +00:00
|
|
|
- name: epub
|
2021-04-10 21:59:50 +00:00
|
|
|
image: python
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- python livres_fr.py
|
|
|
|
- python livres_en.py
|
|
|
|
- name: pdf
|
2021-04-11 10:05:30 +00:00
|
|
|
image: debian
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2021-04-11 10:05:30 +00:00
|
|
|
- apt-get update
|
2021-04-11 10:18:07 +00:00
|
|
|
- apt-get install -y --no-install-recommends calibre
|
2021-04-11 10:05:30 +00:00
|
|
|
- ebook-polish -fpuiU "output/L'auberge Vagabonde - Volume 1.epub" "output/L'auberge Vagabonde - Volume 1.epub"
|
|
|
|
- ebook-polish -fpuiU "output/L'auberge Vagabonde - Volume 2.epub" "output/L'auberge Vagabonde - Volume 2.epub"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-polish -fpuiU "output/L'auberge Vagabonde - Volume 3.epub" "output/L'auberge Vagabonde - Volume 3.epub"
|
2021-04-11 10:05:30 +00:00
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 3.epub" "output/The Wandering Inn - Volume 3.epub"
|
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 4.epub" "output/The Wandering Inn - Volume 4.epub"
|
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 5.epub" "output/The Wandering Inn - Volume 5.epub"
|
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 6.epub" "output/The Wandering Inn - Volume 6.epub"
|
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 7.epub" "output/The Wandering Inn - Volume 7.epub"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-polish -fpuiU "output/The Wandering Inn - Volume 8.epub" "output/The Wandering Inn - Volume 8.epub"
|
2021-04-10 21:53:47 +00:00
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 1.epub" "output/L'auberge Vagabonde - Volume 1.pdf"
|
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 2.epub" "output/L'auberge Vagabonde - Volume 2.pdf"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 3.epub" "output/L'auberge Vagabonde - Volume 3.pdf"
|
2021-04-10 21:53:47 +00:00
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 3.epub" "output/The Wandering Inn - Volume 3.pdf"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 4.epub" "output/The Wandering Inn - Volume 4.pdf"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 5.epub" "output/The Wandering Inn - Volume 5.pdf"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 6.epub" "output/The Wandering Inn - Volume 6.pdf"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 7.epub" "output/The Wandering Inn - Volume 7.pdf"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 8.epub" "output/The Wandering Inn - Volume 8.pdf"
|
2021-04-11 10:05:30 +00:00
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 1.epub" "output/L'auberge Vagabonde - Volume 1.mobi"
|
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 2.epub" "output/L'auberge Vagabonde - Volume 2.mobi"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-convert "output/L'auberge Vagabonde - Volume 3.epub" "output/L'auberge Vagabonde - Volume 3.mobi"
|
2021-04-11 10:05:30 +00:00
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 3.epub" "output/The Wandering Inn - Volume 3.mobi"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 4.epub" "output/The Wandering Inn - Volume 4.mobi"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 5.epub" "output/The Wandering Inn - Volume 5.mobi"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 6.epub" "output/The Wandering Inn - Volume 6.mobi"
|
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 7.epub" "output/The Wandering Inn - Volume 7.mobi"
|
2021-05-18 12:21:51 +00:00
|
|
|
- ebook-convert "output/The Wandering Inn - Volume 8.epub" "output/The Wandering Inn - Volume 8.mobi"
|
2021-04-10 21:53:47 +00:00
|
|
|
- name: upload
|
|
|
|
image: curlimages/curl
|
|
|
|
commands:
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 1.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 1.epub"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 2.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 2.epub"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 3.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 3.epub"
|
2021-04-10 21:53:47 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 3.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 3.epub"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 4.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 4.epub"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 5.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 5.epub"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 6.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 6.epub"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 7.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 7.epub"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 8.epub" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 8.epub"
|
2021-04-11 10:05:30 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 1.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 1.pdf"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 2.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 2.pdf"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 3.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 3.pdf"
|
2021-04-11 10:05:30 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 3.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 3.pdf"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 4.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 4.pdf"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 5.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 5.pdf"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 6.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 6.pdf"
|
2021-04-10 21:53:47 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 7.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 7.pdf"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 8.pdf" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 8.pdf"
|
2021-04-11 10:05:30 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 1.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 1.mobi"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 2.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 2.mobi"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/L'auberge Vagabonde - Volume 3.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/L'auberge Vagabonde - Volume 3.mobi"
|
2021-04-11 10:05:30 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 3.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 3.mobi"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 4.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 4.mobi"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 5.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 5.mobi"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 6.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 6.mobi"
|
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 7.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 7.mobi"
|
2021-05-18 12:21:51 +00:00
|
|
|
- curl -Ss -u "$USER":"$PASS" -T "output/The Wandering Inn - Volume 8.mobi" "https://cloud.crystalyx.net/remote.php/dav/files/$USER/Public/TWI/The Wandering Inn - Volume 8.mobi"
|
2021-04-10 21:59:50 +00:00
|
|
|
environment:
|
|
|
|
USER:
|
|
|
|
from_secret: nextcloud_user
|
|
|
|
PASS:
|
|
|
|
from_secret: nextcloud_password
|
2021-04-22 09:36:33 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: dependabot
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: dependabot-pip
|
|
|
|
image: xefir/docker-dependabot-gitea
|
|
|
|
environment:
|
|
|
|
GITHUB_ACCESS_TOKEN:
|
|
|
|
from_secret: github_access_token
|
|
|
|
GITEA_ACCESS_TOKEN:
|
|
|
|
from_secret: gitea_access_token
|
2021-04-26 17:18:47 +00:00
|
|
|
PROJECT_PATH: Xefir/Auberge_Vagabonde
|
2021-04-22 09:36:33 +00:00
|
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
|
|
|
GITEA_SCHEME: https
|
|
|
|
PACKAGE_MANAGER: pip
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- cron
|