26 lines
629 B
YAML
26 lines
629 B
YAML
kind: pipeline
|
|
name: hello-world
|
|
type: docker
|
|
|
|
steps:
|
|
- name: say-hello
|
|
image: busybox
|
|
commands:
|
|
- echo hello-world
|
|
|
|
- name: fix-centos-8-docker
|
|
image: centos:8
|
|
commands:
|
|
- hostname
|
|
- lscpu
|
|
- dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos -y
|
|
- dnf distro-sync -y
|
|
- dnf update -y
|
|
- hostname
|
|
- dnf install -y ansible-core git
|
|
- pip3 install ansible-lint
|
|
- 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
|
|
|