feat: add test for Rocky Linux 8 #1
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='centos7') = {
|
||||
'linting',
|
||||
],
|
||||
trigger: {
|
||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||
},
|
||||
};
|
||||
|
||||
@ -116,7 +116,7 @@ local PipelineDocumentation = {
|
||||
},
|
||||
depends_on: [
|
||||
'testing-centos7',
|
||||
'testing-centos8',
|
||||
'testing-rocky8',
|
||||
],
|
||||
};
|
||||
|
||||
@ -155,7 +155,7 @@ local PipelineNotification = {
|
||||
[
|
||||
PipelineLinting,
|
||||
PipelineDeployment(scenario='centos7'),
|
||||
PipelineDeployment(scenario='centos8'),
|
||||
PipelineDeployment(scenario='rocky8'),
|
||||
PipelineDocumentation,
|
||||
PipelineNotification,
|
||||
]
|
||||
|
10
.drone.yml
10
.drone.yml
@ -62,13 +62,14 @@ trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/**
|
||||
- refs/pull/**
|
||||
|
||||
depends_on:
|
||||
- linting
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: testing-centos8
|
||||
name: testing-rocky8
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
@ -85,7 +86,7 @@ steps:
|
||||
- name: ansible-molecule
|
||||
image: thegeeklab/molecule:3
|
||||
commands:
|
||||
- molecule test -s centos8
|
||||
- molecule test -s rocky8
|
||||
environment:
|
||||
HCLOUD_TOKEN:
|
||||
from_secret: hcloud_token
|
||||
@ -94,6 +95,7 @@ trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/**
|
||||
- refs/pull/**
|
||||
|
||||
depends_on:
|
||||
- linting
|
||||
@ -140,7 +142,7 @@ trigger:
|
||||
|
||||
depends_on:
|
||||
- testing-centos7
|
||||
- testing-centos8
|
||||
- testing-rocky8
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -180,6 +182,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 1faa1e56e1790b1ac35110d8becd2e9597e3a9feb96cfa1738192f88c3488605
|
||||
hmac: 728dafd8f0ff6fedcd8d8b08072e795bb59ba1310cbe66119a36ddf8cd59097c
|
||||
|
||||
...
|
||||
|
@ -1 +1 @@
|
||||
centos8
|
||||
rocky8
|
@ -1,7 +1,5 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/libexec/platform-python
|
||||
roles:
|
||||
- role: xoxys.cacerts
|
@ -9,8 +9,8 @@ dependency:
|
||||
driver:
|
||||
name: delegated
|
||||
platforms:
|
||||
- name: centos8-cacerts
|
||||
image: centos-8
|
||||
- name: rocky8-cacerts
|
||||
image: rocky-8
|
||||
server_type: cx11
|
||||
lint: |
|
||||
/usr/local/bin/flake8
|
Loading…
Reference in New Issue
Block a user