Compare commits

..

No commits in common. "8c511fadaad5e1c3b93efced1f67339cbadab973" and "1f7d91c0bd87418abbe9fba0c40f67b6cb4f40f6" have entirely different histories.

View file

@ -21,12 +21,6 @@ steps:
command_timeout: 2m command_timeout: 2m
script: script:
- echo "Hello World" - echo "Hello World"
when:
event:
- push
- tag
branch:
- main
- name: Syntax Check - name: Syntax Check
image: plugins/ansible:3 image: plugins/ansible:3
@ -39,7 +33,6 @@ steps:
when: when:
event: event:
- pull_request - pull_request
- push
- name: Lint - name: Lint
image: cytopia/ansible-lint image: cytopia/ansible-lint
@ -48,7 +41,6 @@ steps:
when: when:
event: event:
- pull_request - pull_request
- push
status: status:
- success - success
@ -68,7 +60,7 @@ steps:
ssh_extra_args: "-o StrictHostKeyChecking=no" ssh_extra_args: "-o StrictHostKeyChecking=no"
when: when:
event: event:
- push - pull_request
status: status:
- success - success
@ -92,26 +84,6 @@ steps:
event: event:
- pull_request - pull_request
- name: webhook-push-start
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: |
{
"text": "${DRONE_REPO} build is starting\nBuild: https://drone.ulrich.engineering/rulrich/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
}
when:
branch:
- main
event:
- push
- tag
- name: Apply Playbook - name: Apply Playbook
image: plugins/ansible:3 image: plugins/ansible:3
settings: settings:
@ -124,6 +96,8 @@ steps:
private_key: private_key:
from_secret: drone_ansible_ssh_private_key from_secret: drone_ansible_ssh_private_key
ssh_extra_args: "-o StrictHostKeyChecking=no" ssh_extra_args: "-o StrictHostKeyChecking=no"
# requirements: requirements.txt
# galaxy: requirements.yml
diff: true diff: true
when: when:
branch: branch: