moving to stream9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
8d373346ce
commit
298c418657
@ -5,16 +5,14 @@ type: docker
|
||||
|
||||
steps:
|
||||
- name: Prepare CentOS 8 image, clone, and test code
|
||||
image: centos:8
|
||||
image: quay.io/centos/centos:stream9
|
||||
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
|
||||
- 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
|
||||
|
21
.drone.yml.old.centos8
Normal file
21
.drone.yml.old.centos8
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
name: Ansible Linting of drone-test-1
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: Prepare CentOS 8 image, clone, and test code
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user