generate drone config
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
aac70254e2
commit
9eee097175
72
.drone.yml
72
.drone.yml
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: linux-amd64
|
name: build-amd64
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -8,29 +8,29 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: dryrun
|
- name: dryrun
|
||||||
pull: always
|
image: plugins/docker
|
||||||
image: plugins/docker:linux-amd64
|
|
||||||
settings:
|
settings:
|
||||||
build_args:
|
build_args:
|
||||||
FRESHRSS_VERSION: "${DRONE_TAG%-*}"
|
- FRESHRSS_VERSION=${DRONE_TAG%-*}
|
||||||
dockerfile: ./Dockerfile.linux.amd64
|
dockerfile: Dockerfile
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/freshrss
|
repo: xoxys/freshrss
|
||||||
tags: linux-amd64
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/pull/**
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
pull: always
|
image: plugins/docker
|
||||||
image: plugins/docker:linux-amd64
|
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: amd64
|
||||||
build_args:
|
build_args:
|
||||||
FRESHRSS_VERSION: "${DRONE_TAG%-*}"
|
- FRESHRSS_VERSION=${DRONE_TAG%-*}
|
||||||
dockerfile: ./Dockerfile.linux.amd64
|
dockerfile: Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/freshrss
|
repo: xoxys/freshrss
|
||||||
|
@ -39,10 +39,9 @@ steps:
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- refs/tags/**
|
||||||
|
|
||||||
- name: publish-gitea
|
- name: publish-gitea
|
||||||
pull: always
|
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
|
@ -50,10 +49,10 @@ steps:
|
||||||
base_url: https://gitea.rknet.org
|
base_url: https://gitea.rknet.org
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
overwrite: true
|
overwrite: true
|
||||||
title: "${DRONE_TAG}"
|
title: ${DRONE_TAG}
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- "refs/tags/**"
|
- refs/tags/**
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -65,27 +64,24 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: manifest
|
- name: manifest
|
||||||
pull: always
|
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
settings:
|
settings:
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
spec: ./manifest.tmpl
|
spec: manifest.tmpl
|
||||||
tags:
|
tags:
|
||||||
- "${DRONE_TAG}"
|
- ${DRONE_TAG}
|
||||||
- "${DRONE_TAG%-*}"
|
- ${DRONE_TAG%-*}
|
||||||
- "${DRONE_TAG%.*}"
|
- ${DRONE_TAG%.*}
|
||||||
- "${DRONE_TAG%%.*}"
|
- ${DRONE_TAG%%.*}
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
ref:
|
status:
|
||||||
- refs/heads/master
|
- success
|
||||||
- "refs/tags/**"
|
|
||||||
|
|
||||||
- name: readme
|
- name: readme
|
||||||
pull: always
|
|
||||||
image: sheogorath/readme-to-dockerhub
|
image: sheogorath/readme-to-dockerhub
|
||||||
environment:
|
environment:
|
||||||
DOCKERHUB_PASSWORD:
|
DOCKERHUB_PASSWORD:
|
||||||
|
@ -97,25 +93,18 @@ steps:
|
||||||
README_PATH: README.md
|
README_PATH: README.md
|
||||||
SHORT_DESCRIPTION: Rootless FreshRSS - Self-hosted RSS feed aggregator
|
SHORT_DESCRIPTION: Rootless FreshRSS - Self-hosted RSS feed aggregator
|
||||||
when:
|
when:
|
||||||
ref:
|
status:
|
||||||
- refs/heads/master
|
- success
|
||||||
- "refs/tags/**"
|
|
||||||
|
|
||||||
- name: microbadger
|
|
||||||
pull: always
|
|
||||||
image: plugins/webhook
|
|
||||||
settings:
|
|
||||||
urls:
|
|
||||||
from_secret: microbadger_url
|
|
||||||
|
|
||||||
- name: matrix
|
- name: matrix
|
||||||
pull: always
|
|
||||||
image: plugins/matrix
|
image: plugins/matrix
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://matrix.rknet.org
|
homeserver:
|
||||||
|
from_secret: matrix_homeserver
|
||||||
password:
|
password:
|
||||||
from_secret: matrix_password
|
from_secret: matrix_password
|
||||||
roomid: MtidqQXWWAtQcByBhH:rknet.org
|
roomid:
|
||||||
|
from_secret: matrix_roomid
|
||||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||||
username:
|
username:
|
||||||
from_secret: matrix_username
|
from_secret: matrix_username
|
||||||
|
@ -125,15 +114,18 @@ steps:
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
|
- refs/tags/**
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- linux-amd64
|
- build-amd64
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: bd995781ed16870c304a86ea3c0ab8e61f34f6539ab34e4c16750f0e677965a2
|
hmac: 937a518f88c278f03efd7275457767212aeae51183cfa35751b5fb302a8c93dc
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Reference in New Issue