mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-22 12:50:43 +00:00
cleanup
This commit is contained in:
parent
6bef242239
commit
38d3b02961
@ -117,6 +117,20 @@ local PipelineBuildPackage = {
|
|||||||
"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",
|
||||||
@ -209,7 +223,7 @@ local PipelineNotifications = {
|
|||||||
pull: "always",
|
pull: "always",
|
||||||
settings: {
|
settings: {
|
||||||
ignore_missing: true,
|
ignore_missing: true,
|
||||||
tags: ["${DRONE_TAG}", "${DRONE_TAG%-*}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"],
|
auto_tag: true,
|
||||||
username: { from_secret: "docker_username" },
|
username: { from_secret: "docker_username" },
|
||||||
password: { from_secret: "docker_password" },
|
password: { from_secret: "docker_password" },
|
||||||
spec: "manifest.tmpl",
|
spec: "manifest.tmpl",
|
||||||
|
22
.drone.yml
22
.drone.yml
@ -138,6 +138,20 @@ steps:
|
|||||||
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
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
@ -335,15 +349,11 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
spec: manifest.tmpl
|
spec: manifest.tmpl
|
||||||
tags:
|
|
||||||
- "${DRONE_TAG}"
|
|
||||||
- "${DRONE_TAG%-*}"
|
|
||||||
- "${DRONE_TAG%.*}"
|
|
||||||
- "${DRONE_TAG%%.*}"
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
@ -403,6 +413,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 8e2fd7a3c62cabf6824d72b6aee4d486b4a7a8234e43ae8629510c3334c4626f
|
hmac: c058f002db91849e25873dfd440bb27949e6bb0de7087ceada91ba7fedcb93c2
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -2,7 +2,4 @@
|
|||||||
|
|
||||||
[![Build Status](https://cloud.drone.io/api/badges/xoxys/ansible-doctor/status.svg)](https://cloud.drone.io/xoxys/ansible-doctor)
|
[![Build Status](https://cloud.drone.io/api/badges/xoxys/ansible-doctor/status.svg)](https://cloud.drone.io/xoxys/ansible-doctor)
|
||||||
[![](https://images.microbadger.com/badges/image/xoxys/ansible-doctor.svg)](https://microbadger.com/images/xoxys/ansible-doctor "Get your own image badge on microbadger.com")
|
[![](https://images.microbadger.com/badges/image/xoxys/ansible-doctor.svg)](https://microbadger.com/images/xoxys/ansible-doctor "Get your own image badge on microbadger.com")
|
||||||
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor.svg)](https://microbadger.com/images/xoxys/ansible-doctor "Get your own version badge on microbadger.com")
|
|
||||||
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor:amd64.svg)](https://microbadger.com/images/xoxys/ansible-doctor:amd64 "Get your own version badge on microbadger.com")
|
|
||||||
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor:arm.svg)](https://microbadger.com/images/xoxys/ansible-doctor:arm "Get your own version badge on microbadger.com")
|
|
||||||
![License](https://img.shields.io/github/license/xoxys/ansible-doctor)
|
![License](https://img.shields.io/github/license/xoxys/ansible-doctor)
|
||||||
|
@ -2,9 +2,7 @@ image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}
|
|||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
{{#if this}}
|
- {{this}}
|
||||||
- {{trimPrefix "v" this}}
|
|
||||||
{{/if}}
|
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
@ -17,8 +15,10 @@ manifests:
|
|||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
|
variant: v8
|
||||||
|
|
||||||
- image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
|
- image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
|
||||||
platform:
|
platform:
|
||||||
architecture: arm
|
architecture: arm
|
||||||
os: linux
|
os: linux
|
||||||
|
variant: v7
|
||||||
|
Loading…
Reference in New Issue
Block a user