drone-test-1/.drone.yml
Chris Hammer 298c418657
Some checks reported errors
continuous-integration/drone/push Build encountered an error
moving to stream9
2023-11-13 00:05:40 -05:00

20 lines
523 B
YAML

---
name: Ansible Linting of drone-test-1
kind: pipeline
type: docker
steps:
- name: Prepare CentOS 8 image, clone, and test code
image: quay.io/centos/centos:stream9
commands:
- hostname
- lscpu
- dnf update -y
- hostname
- dnf install -y python3-pip git
- pip3 install ansible-core==2.14.11 ansible-lint==6.13.1
- mkdir /opt/test
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
- ansible-lint /opt/test/drone-test-1