add pypi publish pipeline to ci
This commit is contained in:
parent
1d3d5e3926
commit
a82f72e30f
19
.drone.yml
19
.drone.yml
|
@ -70,3 +70,22 @@ steps:
|
|||
depends_on:
|
||||
- build-arm64
|
||||
- build-amd64
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: publish-pypi
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: publish pypi
|
||||
image: plugins/pypi
|
||||
settings:
|
||||
username:
|
||||
from_secret: pypi_username
|
||||
password:
|
||||
from_secret: pypi_username
|
|
@ -1,7 +1,11 @@
|
|||
[metadata]
|
||||
name = ecommerce-exporter
|
||||
description = ecommerce-exporter is a prometheus exporter that export the price of products in e-commerce site as prometheus metrics.
|
||||
author = badjware
|
||||
author_email = marchambault.badjware.dev
|
||||
licence = MIT Licence
|
||||
classifers =
|
||||
Programming Language :: Python
|
||||
platform = any
|
||||
|
||||
[options]
|
||||
|
|
Loading…
Reference in New Issue