modify task name; add centos 8 test
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
2fa2577741
commit
a1a08b4139
16
.drone.yml
16
.drone.yml
@ -4,7 +4,21 @@ kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: Prepare CentOS 9 Stream image, clone, and test code
|
||||
- name: CentOS 8 Testing
|
||||
image: quay.io/centos/centos:stream8
|
||||
commands:
|
||||
- dnf update -y
|
||||
- dnf install -y python3-pip git hostname
|
||||
- hostname
|
||||
- lscpu
|
||||
- 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
|
||||
- ansible-playbook -v -i 127.0.0.1, /opt/test/drone-test-1/hello.yml
|
||||
|
||||
|
||||
- name: CentOS 9 Testing
|
||||
image: quay.io/centos/centos:stream9
|
||||
commands:
|
||||
- dnf update -y
|
||||
|
Loading…
x
Reference in New Issue
Block a user