1
0

Bumped pipelines
Some checks failed
Build Python Container / Package-Container (push) Successful in 1m19s
Test and Package Python / Test (push) Successful in 23s
Test and Package Python / Package (push) Failing after 23s

This commit is contained in:
Jon Michael Aanes 2024-05-27 21:56:28 +02:00
parent 100465151f
commit d04705168a
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
5 changed files with 36 additions and 16 deletions

View File

@ -1,26 +1,16 @@
name: Build container
name: Build Python Container
on:
push
jobs:
Python-Test:
uses: jmaa/workflows/.gitea/workflows/python-test.yaml@v6.21
Python-Package:
uses: jmaa/workflows/.gitea/workflows/python-package.yaml@v6.21
secrets:
PIPY_REPO_USER: ${{ secrets.PIPY_REPO_USER }}
PIPY_REPO_PASS: ${{ secrets.PIPY_REPO_PASS }}
Package-Container:
uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21
with:
REGISTRY_DOMAIN: gitfub.space
REGISTRY_ORGANIZATION: Usagi-Keiretsu
Container-Package:
uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21
REGISTRY_ORGANIZATION: usagi-keiretsu
secrets:
DOCKER_USERNAME: ${{ secrets.PIPY_REPO_USER }}
DOCKER_PASSWORD: ${{ secrets.PIPY_REPO_PASS }}
PIPELINE_WORKER_SSH_KEY: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
PIPELINE_WORKER_KNOWN_HOSTS: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
with:
REGISTRY_DOMAIN: gitfub.space
REGISTRY_ORGANIZATION: usagi-keiretsu

View File

@ -0,0 +1,14 @@
name: Test and Package Python
on: [push]
jobs:
Test:
uses: jmaa/workflows/.gitea/workflows/python-test.yaml@v6.21
Package:
uses: jmaa/workflows/.gitea/workflows/python-package.yaml@v6.21
with:
REGISTRY_DOMAIN: gitfub.space
REGISTRY_ORGANIZATION: usagi-keiretsu
secrets:
PIPY_REPO_USER: ${{ secrets.PIPY_REPO_USER }}
PIPY_REPO_PASS: ${{ secrets.PIPY_REPO_PASS }}

9
requirements.txt Normal file
View File

@ -0,0 +1,9 @@
beautifulsoup4
lxml
requests
requests_cache
browsercookie
cfscrape
frozendict
python-kucoin
krakenex

1
requirements_test.txt Normal file
View File

@ -0,0 +1 @@
pytest

View File

@ -1,11 +1,17 @@
#!/usr/bin/env python
#
# WARNING
#
# THIS IS AN AUTOGENERATED FILE.
#
# MANUAL CHANGES CAN AND WILL BE OVERWRITTEN.
import re
from setuptools import setup
PACKAGE_NAME = 'personal_data'
with open('README.md') as f:
readme = f.read()
@ -27,7 +33,7 @@ def read_requirements(path: str):
def get_short_description(readme: str):
readme = re.sub(r'#+[^\n]*\n+', '', readme)
m = re.search(r'^\s*(\w+[\w\s,`]+\.)', readme)
m = re.search(r'^\s*(\w+[\w\s,`-]+\.)', readme)
try:
return m.group(1)
except AttributeError as err: