Bumped pipelines
This commit is contained in:
parent
100465151f
commit
d04705168a
|
@ -1,26 +1,16 @@
|
||||||
name: Build container
|
name: Build Python Container
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push
|
push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Python-Test:
|
Package-Container:
|
||||||
uses: jmaa/workflows/.gitea/workflows/python-test.yaml@v6.21
|
uses: jmaa/workflows/.gitea/workflows/container.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 }}
|
|
||||||
with:
|
with:
|
||||||
REGISTRY_DOMAIN: gitfub.space
|
REGISTRY_DOMAIN: gitfub.space
|
||||||
REGISTRY_ORGANIZATION: Usagi-Keiretsu
|
REGISTRY_ORGANIZATION: usagi-keiretsu
|
||||||
Container-Package:
|
|
||||||
uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21
|
|
||||||
secrets:
|
secrets:
|
||||||
DOCKER_USERNAME: ${{ secrets.PIPY_REPO_USER }}
|
DOCKER_USERNAME: ${{ secrets.PIPY_REPO_USER }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.PIPY_REPO_PASS }}
|
DOCKER_PASSWORD: ${{ secrets.PIPY_REPO_PASS }}
|
||||||
PIPELINE_WORKER_SSH_KEY: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
|
PIPELINE_WORKER_SSH_KEY: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
|
||||||
PIPELINE_WORKER_KNOWN_HOSTS: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
|
PIPELINE_WORKER_KNOWN_HOSTS: ${{ secrets.PIPELINE_WORKER_KNOWN_HOSTS }}
|
||||||
with:
|
|
||||||
REGISTRY_DOMAIN: gitfub.space
|
|
||||||
REGISTRY_ORGANIZATION: usagi-keiretsu
|
|
14
.gitea/workflows/python-package.yml
Normal file
14
.gitea/workflows/python-package.yml
Normal 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
9
requirements.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
beautifulsoup4
|
||||||
|
lxml
|
||||||
|
requests
|
||||||
|
requests_cache
|
||||||
|
browsercookie
|
||||||
|
cfscrape
|
||||||
|
frozendict
|
||||||
|
python-kucoin
|
||||||
|
krakenex
|
1
requirements_test.txt
Normal file
1
requirements_test.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pytest
|
10
setup.py
10
setup.py
|
@ -1,11 +1,17 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
#
|
||||||
|
# WARNING
|
||||||
|
#
|
||||||
|
# THIS IS AN AUTOGENERATED FILE.
|
||||||
|
#
|
||||||
|
# MANUAL CHANGES CAN AND WILL BE OVERWRITTEN.
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
PACKAGE_NAME = 'personal_data'
|
PACKAGE_NAME = 'personal_data'
|
||||||
|
|
||||||
|
|
||||||
with open('README.md') as f:
|
with open('README.md') as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
|
@ -27,7 +33,7 @@ def read_requirements(path: str):
|
||||||
|
|
||||||
def get_short_description(readme: str):
|
def get_short_description(readme: str):
|
||||||
readme = re.sub(r'#+[^\n]*\n+', '', readme)
|
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:
|
try:
|
||||||
return m.group(1)
|
return m.group(1)
|
||||||
except AttributeError as err:
|
except AttributeError as err:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user