Compare commits
17 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 |
64
.drone.yml
64
.drone.yml
|
@ -19,16 +19,48 @@ steps:
|
|||
status: [success, failure]
|
||||
settings:
|
||||
to:
|
||||
from_secret: TG_USER
|
||||
from_secret: tg_user
|
||||
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:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
----
|
||||
kind: pipeline
|
||||
|
@ -40,17 +72,31 @@ steps:
|
|||
image: registry.cuzo.dev/plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: DRONE_API_KEY
|
||||
from_secret: drone_api_key
|
||||
files: [.drone.yml, README.md]
|
||||
base_url: https://git.cuzo.dev
|
||||
title:
|
||||
from_secret: DRONE_SEMVER
|
||||
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:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
depends_on:
|
||||
- hello world
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# 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
|
||||
|
|
Loading…
Reference in New Issue