.drone.yml aktualisiert
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
a80dad2bdc
commit
9057689ab0
1 changed files with 24 additions and 23 deletions
47
.drone.yml
47
.drone.yml
|
|
@ -7,19 +7,19 @@ trigger:
|
|||
- main
|
||||
|
||||
steps:
|
||||
- name: check SSH
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
- test.band-on.com
|
||||
username:
|
||||
from_secret: drone_ansible_user
|
||||
key:
|
||||
from_secret: drone_ansible_ssh_private_key
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- echo "Hello World"
|
||||
# - name: check SSH
|
||||
# image: appleboy/drone-ssh
|
||||
# settings:
|
||||
# host:
|
||||
# - test.band-on.com
|
||||
# username:
|
||||
# from_secret: drone_ansible_user
|
||||
# key:
|
||||
# from_secret: drone_ansible_ssh_private_key
|
||||
# port: 22
|
||||
# command_timeout: 2m
|
||||
# script:
|
||||
# - echo "Hello World"
|
||||
|
||||
- name: Syntax Check
|
||||
image: plugins/ansible:3
|
||||
|
|
@ -63,16 +63,17 @@ steps:
|
|||
event:
|
||||
- pull_request
|
||||
|
||||
# - name: webhook-pr
|
||||
# image: plugins/webhook
|
||||
# settings:
|
||||
# username:
|
||||
# from_secret: mattermost_username
|
||||
# password:
|
||||
# from_secret: mattermost_password
|
||||
# urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
|
||||
# content_type: application/json
|
||||
# template: |
|
||||
- name: webhook-pr
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
username:
|
||||
from_secret: mattermost_username
|
||||
password:
|
||||
from_secret: mattermost_password
|
||||
urls: https://chat.host-ranger.ch/hooks/9e39cidaqt8d7f9hd4gmutkngr
|
||||
content_type: application/json
|
||||
template: |
|
||||
`${DRONE_REPO}` build #${DRONE_BUILD_NUMBER} status: **${DRONE_BUILD_STATUS}**
|
||||
# {
|
||||
# "owner": "$DRONE_REPO_OWNER",
|
||||
# "repo": "$DRONE_REPO_NAME",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue