feat: add test for Rocky Linux 8
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
76d45b95ae
commit
9eddd1f4e3
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='centos7') = {
|
|||||||
'linting',
|
'linting',
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ local PipelineDocumentation = {
|
|||||||
},
|
},
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'testing-centos7',
|
'testing-centos7',
|
||||||
'testing-centos8',
|
'testing-rocky8',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ local PipelineNotification = {
|
|||||||
[
|
[
|
||||||
PipelineLinting,
|
PipelineLinting,
|
||||||
PipelineDeployment(scenario='centos7'),
|
PipelineDeployment(scenario='centos7'),
|
||||||
PipelineDeployment(scenario='centos8'),
|
PipelineDeployment(scenario='rocky8'),
|
||||||
PipelineDocumentation,
|
PipelineDocumentation,
|
||||||
PipelineNotification,
|
PipelineNotification,
|
||||||
]
|
]
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -62,13 +62,14 @@ trigger:
|
|||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- linting
|
- linting
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: testing-centos8
|
name: testing-rocky8
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
@ -85,7 +86,7 @@ steps:
|
|||||||
- name: ansible-molecule
|
- name: ansible-molecule
|
||||||
image: thegeeklab/molecule:3
|
image: thegeeklab/molecule:3
|
||||||
commands:
|
commands:
|
||||||
- molecule test -s centos8
|
- molecule test -s rocky8
|
||||||
environment:
|
environment:
|
||||||
HCLOUD_TOKEN:
|
HCLOUD_TOKEN:
|
||||||
from_secret: hcloud_token
|
from_secret: hcloud_token
|
||||||
@ -94,6 +95,7 @@ trigger:
|
|||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- linting
|
- linting
|
||||||
@ -140,7 +142,7 @@ trigger:
|
|||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- testing-centos7
|
- testing-centos7
|
||||||
- testing-centos8
|
- testing-rocky8
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -180,6 +182,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 89fa12b25e5aa010768bc8ea02700029aaa36579a4145cc93b9982cf99f0294a
|
hmac: 3409b2e76d22507fa427d47be3e09feb90213e4dee62250800e13b5c0e93c7c4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -1 +1 @@
|
|||||||
centos8
|
rocky8
|
@ -2,7 +2,6 @@
|
|||||||
- name: Converge
|
- name: Converge
|
||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/libexec/platform-python
|
|
||||||
smb_shares:
|
smb_shares:
|
||||||
- name: multimedia
|
- name: multimedia
|
||||||
source: //share.example.com/media
|
source: //share.example.com/media
|
@ -9,8 +9,8 @@ dependency:
|
|||||||
driver:
|
driver:
|
||||||
name: delegated
|
name: delegated
|
||||||
platforms:
|
platforms:
|
||||||
- name: centos8-smb
|
- name: rocky8-smb
|
||||||
image: centos-8
|
image: rocky-8
|
||||||
server_type: cx11
|
server_type: cx11
|
||||||
lint: |
|
lint: |
|
||||||
/usr/local/bin/flake8
|
/usr/local/bin/flake8
|
Loading…
Reference in New Issue
Block a user