Compare commits
36 Commits
Author | SHA1 | Date | |
---|---|---|---|
aba04f8660 | |||
7bbec1352e | |||
ed9a72f79c | |||
a5c7e7c8e9 | |||
179039bfba | |||
c5df397953 | |||
21e5a9515e | |||
5eb7697e36 | |||
9b14322d25 | |||
8eae49e6a9 | |||
6b1f5d8988 | |||
1f22c52ca1 | |||
476fa369af | |||
eb0bd02789 | |||
8730d58db7 | |||
7acb1dc04f | |||
6f75b743f2 | |||
b8c50c0e8d | |||
282d82460a | |||
4c72431847 | |||
ac8d46684b | |||
b1782e1b38 | |||
02187e9403 | |||
f04637077b | |||
b549d3a87d | |||
76b79057e5 | |||
9495f95f95 | |||
6d76533294 | |||
462f84151a | |||
5b144c5e88 | |||
cc9f96b470 | |||
fd4b03d2f9 | |||
da407eddee | |||
93076731fe | |||
1f4974e1dd | |||
c71c2ce761 |
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,6 +26,23 @@ 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