Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
68f9c4d550 |
19
.drone.yml
19
.drone.yml
@ -13,7 +13,7 @@ steps:
|
|||||||
ANSIBLE_INVENTORY:
|
ANSIBLE_INVENTORY:
|
||||||
from_secret: ansible_inventory
|
from_secret: ansible_inventory
|
||||||
commands:
|
commands:
|
||||||
# - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
||||||
- ansible-lint --offline $DRONE_WORKSPACE
|
- ansible-lint --offline $DRONE_WORKSPACE
|
||||||
- ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
|
- ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
|
||||||
- echo "Build complete and successful for $DRONE_REPO_NAME"
|
- echo "Build complete and successful for $DRONE_REPO_NAME"
|
||||||
@ -26,23 +26,6 @@ steps:
|
|||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
|
|
||||||
- name: push commit
|
|
||||||
image: appleboy/drone-git-push
|
|
||||||
settings:
|
|
||||||
branch: testing
|
|
||||||
remote: gitea@10.10.10.109:chris/drone-test-1.git
|
|
||||||
force: false
|
|
||||||
commit: true
|
|
||||||
empty_commit: true
|
|
||||||
commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
|
|
||||||
author_name: "Drone CI"
|
|
||||||
author_email: "chris@thezengarden.net"
|
|
||||||
skip_verify: true
|
|
||||||
ssh_key:
|
|
||||||
from_secret: gitea_ssh_privkey
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# name: Test Ansible Linting of drone-test-1
|
# name: Test Ansible Linting of drone-test-1
|
||||||
# kind: pipeline
|
# kind: pipeline
|
||||||
|
Reference in New Issue
Block a user