From b58f4b8625e745f16047e70af959d56d8d6f70bf Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Mon, 13 Nov 2023 09:24:48 -0500 Subject: [PATCH] add depends_on --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index b25104a..fab4faa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,6 +17,8 @@ steps: commands: - mkdir /opt/test - git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1 + depends_on: + - "Ansible Testing: Install required packages and Python modules" - name: "Ansible Testing: Run Ansible-Lint and Ansible-Playbook against cloned repo" @@ -24,3 +26,5 @@ steps: commands: - ansible-lint /opt/test/drone-test-1 - ansible-playbook -v -i 127.0.0.1, /opt/test/drone-test-1/hello.yml + depends_on: + - "Ansible Testing: Make repo directory and clone desired repository"