feat: add test for Rocky Linux 8 (#1)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Robert Kaussow 2022-01-26 21:09:53 +01:00
parent 6148d3c43a
commit fc8ec065d1
9 changed files with 12 additions and 13 deletions

View File

@ -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,
]

View File

@ -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: 4fc32801ee310156a6a691326c18a31e519d8d4ff4bda48a923fd50f7a187fdc
hmac: 681026a390c95961b52a006359d6a2efbf29828acbe0e820b6f76458b65c0365
...

View File

@ -1 +1 @@
centos8
rocky8

View File

@ -1,8 +1,5 @@
---
- name: Converge
hosts: all
vars:
ansible_python_interpreter: /usr/libexec/platform-python
roles:
- role: xoxys.logrotate

View File

@ -9,8 +9,8 @@ dependency:
driver:
name: delegated
platforms:
- name: centos8-logrotate
image: centos-8
- name: rocky8-logrotate
image: rocky-8
server_type: cx11
lint: |
/usr/local/bin/flake8