Compare commits
18 Commits
Author | SHA1 | Date |
---|---|---|
parra | b8c4af572d | |
parra | ec3bd84746 | |
parra | 59c365900d | |
parra | 8c0bbed279 | |
parra | ca9cd78a39 | |
parra | 7fb72fe562 | |
parra | 11399c774f | |
parra | 530362ac33 | |
parra | 30c3bd70b0 | |
parra | 26dae0423c | |
parra | f0b6708765 | |
parra | 60cd59d7bf | |
parra | d8abc78403 | |
parra | 9b8d0e4feb | |
parra | b4b94bcdbd | |
parra | 5343b9e8c5 | |
parra | 57f535815b | |
Parra | 21f6cc6a17 |
82
.drone.yml
82
.drone.yml
|
@ -19,9 +19,85 @@ steps:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
settings:
|
settings:
|
||||||
to:
|
to:
|
||||||
from_secret: TG_USER
|
from_secret: tg_user
|
||||||
token:
|
token:
|
||||||
from_secret: TG_TOKEN
|
from_secret: tg_password
|
||||||
|
|
||||||
|
- name: send matrix notification
|
||||||
|
image: registry.cuzo.dev/plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
|
||||||
|
when:
|
||||||
|
status: [success, failure]
|
||||||
|
settings:
|
||||||
|
homeserver: https://matrix.cuzo.dev
|
||||||
|
roomid:
|
||||||
|
from_secret: matrix_room
|
||||||
|
userid:
|
||||||
|
from_secret: matrix_userid
|
||||||
|
accesstoken:
|
||||||
|
from_secret: matrix_token
|
||||||
|
|
||||||
|
- name: send ntfy notification
|
||||||
|
image: registry.cuzo.dev/parrazam/drone-ntfy
|
||||||
|
when:
|
||||||
|
status: [success, failure]
|
||||||
|
ref:
|
||||||
|
exclude:
|
||||||
|
- refs/tags/*
|
||||||
|
settings:
|
||||||
|
url: https://ntfy.parravidales.es
|
||||||
|
topic: pipelines
|
||||||
|
priority: low
|
||||||
|
tags:
|
||||||
|
- test
|
||||||
|
username:
|
||||||
|
from_secret: ntfy_user
|
||||||
|
password:
|
||||||
|
from_secret: ntfy_password
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
----
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: Create release from tag
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: release
|
||||||
|
image: registry.cuzo.dev/plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: drone_api_key
|
||||||
|
files: [.drone.yml, README.md]
|
||||||
|
base_url: https://git.parravidales.es
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/tags/*
|
||||||
|
|
||||||
|
- name: send ntfy notification
|
||||||
|
image: registry.cuzo.dev/parrazam/drone-ntfy
|
||||||
|
settings:
|
||||||
|
url: https://ntfy.parravidales.es
|
||||||
|
topic: pipelines
|
||||||
|
priority: low
|
||||||
|
tags:
|
||||||
|
- test
|
||||||
|
username:
|
||||||
|
from_secret: ntfy_user
|
||||||
|
password:
|
||||||
|
from_secret: ntfy_password
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- custom_mirror_registry
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- hello world
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Test drone
|
# Test drone
|
||||||
|
|
||||||
[![Build Status](https://drone.cuzo.dev/api/badges/Parra/test-drone/status.svg)](https://drone.cuzo.dev/Parra/test-drone)
|
[![Build Status](https://ci.cuzo.dev/api/badges/parra/test-drone/status.svg)](https://ci.cuzo.dev/parra/test-drone)
|
||||||
|
|
||||||
Este repositorio servirá para probar la integración de Gitea con Drone
|
Este repositorio servirá para probar la integración de Gitea con Drone
|
||||||
|
|
Loading…
Reference in New Issue