Compare commits
2 commits
66b451e842
...
8a93eaf25f
Author | SHA1 | Date | |
---|---|---|---|
8a93eaf25f | |||
d5490358fc |
2 changed files with 53 additions and 0 deletions
51
.drone.yml
Normal file
51
.drone.yml
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: python
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: python:latest
|
||||||
|
commands:
|
||||||
|
- pip install -q --upgrade pre-commit
|
||||||
|
- pre-commit run --all-files
|
||||||
|
# - flake8 --ignore=E501,W503,E265
|
||||||
|
# - mypy --ignore-missing-imports ./tenkan/
|
||||||
|
# - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/
|
||||||
|
# - pytest ./tests/
|
||||||
|
|
||||||
|
- name: publish_pypi
|
||||||
|
image: plugins/pypi
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: pypi_username
|
||||||
|
password:
|
||||||
|
from_secret: pypi_password
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
- name: push_docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: takaoni/tenkan
|
||||||
|
tags: latest
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
- name: deploy_kube
|
||||||
|
kube:
|
||||||
|
image: takaoni/drone-kube
|
||||||
|
template: apps/tenkan.yaml
|
||||||
|
namespace: gemini
|
||||||
|
server:
|
||||||
|
from_secret: kube_server
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
[![Build Status](https://drone.fqserv.eu/api/badges/takaoni/tenkan/status.svg)](https://drone.fqserv.eu/takaoni/tenkan)
|
||||||
|
|
||||||
# tenkan
|
# tenkan
|
||||||
|
|
||||||
Command line tool to convert HTTP RSS/Atom feeds to gemini format.
|
Command line tool to convert HTTP RSS/Atom feeds to gemini format.
|
||||||
|
|
Loading…
Reference in a new issue