mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-19 03:30:39 +00:00
switch to prod release
This commit is contained in:
parent
5ecf9cab92
commit
e5b64c094c
@ -114,23 +114,9 @@ local PipelineBuildPackage = {
|
|||||||
image: "alpine",
|
image: "alpine",
|
||||||
pull: "always",
|
pull: "always",
|
||||||
commands: [
|
commands: [
|
||||||
"cd dist/ && sha256sum * > sha256sum.txt"
|
"cd dist/ && sha256sum * > ../sha256sum.txt"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "publish-pypi",
|
|
||||||
image: "plugins/pypi",
|
|
||||||
pull: "always",
|
|
||||||
settings: {
|
|
||||||
username: { "from_secret": "pypi_username" },
|
|
||||||
password: { "from_secret": "pypi_password" },
|
|
||||||
repository: "https://upload.pypi.org/legacy/",
|
|
||||||
skip_build: true
|
|
||||||
},
|
|
||||||
when: {
|
|
||||||
ref: [ "refs/tags/**" ],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "publish-github",
|
name: "publish-github",
|
||||||
image: "plugins/github-release",
|
image: "plugins/github-release",
|
||||||
@ -146,7 +132,20 @@ local PipelineBuildPackage = {
|
|||||||
ref: [ "refs/tags/**" ],
|
ref: [ "refs/tags/**" ],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "publish-pypi",
|
||||||
|
image: "plugins/pypi",
|
||||||
|
pull: "always",
|
||||||
|
settings: {
|
||||||
|
username: { "from_secret": "pypi_username" },
|
||||||
|
password: { "from_secret": "pypi_password" },
|
||||||
|
repository: "https://upload.pypi.org/legacy/",
|
||||||
|
skip_build: true
|
||||||
|
},
|
||||||
|
when: {
|
||||||
|
ref: [ "refs/tags/**" ],
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
"security",
|
"security",
|
||||||
|
32
.drone.yml
32
.drone.yml
@ -136,21 +136,7 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- "cd dist/ && sha256sum * > sha256sum.txt"
|
- "cd dist/ && sha256sum * > ../sha256sum.txt"
|
||||||
|
|
||||||
- name: publish-pypi
|
|
||||||
pull: always
|
|
||||||
image: plugins/pypi
|
|
||||||
settings:
|
|
||||||
password:
|
|
||||||
from_secret: pypi_password
|
|
||||||
repository: https://upload.pypi.org/legacy/
|
|
||||||
skip_build: true
|
|
||||||
username:
|
|
||||||
from_secret: pypi_username
|
|
||||||
when:
|
|
||||||
ref:
|
|
||||||
- "refs/tags/**"
|
|
||||||
|
|
||||||
- name: publish-github
|
- name: publish-github
|
||||||
pull: always
|
pull: always
|
||||||
@ -168,6 +154,20 @@ steps:
|
|||||||
ref:
|
ref:
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
|
- name: publish-pypi
|
||||||
|
pull: always
|
||||||
|
image: plugins/pypi
|
||||||
|
settings:
|
||||||
|
password:
|
||||||
|
from_secret: pypi_password
|
||||||
|
repository: https://upload.pypi.org/legacy/
|
||||||
|
skip_build: true
|
||||||
|
username:
|
||||||
|
from_secret: pypi_username
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
@ -423,6 +423,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 87257d5264e6bb90cf0ab66a9c476b496bed6600ba4e9ec6dbdadb2e319904d2
|
hmac: 1de34e36b19655755ede9fa231224c029cb6a7acfc773dcd544bf3a758672302
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
__author__ = "Robert Kaussow"
|
__author__ = "Robert Kaussow"
|
||||||
__project__ = "ansible-doctor"
|
__project__ = "ansible-doctor"
|
||||||
__version__ = "0.1.0-beta2"
|
__version__ = "0.1.0"
|
||||||
__license__ = "GPL-3.0"
|
__license__ = "GPL-3.0"
|
||||||
__maintainer__ = "Robert Kaussow"
|
__maintainer__ = "Robert Kaussow"
|
||||||
__email__ = "mail@geeklabor.de"
|
__email__ = "mail@geeklabor.de"
|
||||||
|
2
setup.py
2
setup.py
@ -42,7 +42,7 @@ setup(
|
|||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
python_requires=">=3.5",
|
python_requires=">=3.5",
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Intended Audience :: Information Technology",
|
"Intended Audience :: Information Technology",
|
||||||
|
Loading…
Reference in New Issue
Block a user