fix ci
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
1d03f664ac
commit
eebda5af17
|
@ -41,7 +41,7 @@ local PipelineLinting = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
local PipelineDeployment(scenario='centos7') = {
|
local PipelineDeployment(scenario='rocky9') = {
|
||||||
kind: 'pipeline',
|
kind: 'pipeline',
|
||||||
name: 'testing-' + scenario,
|
name: 'testing-' + scenario,
|
||||||
platform: {
|
platform: {
|
||||||
|
@ -115,8 +115,7 @@ local PipelineDocumentation = {
|
||||||
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
|
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'testing-centos7',
|
'testing-rocky9',
|
||||||
'testing-rocky8',
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -154,8 +153,7 @@ local PipelineNotification = {
|
||||||
|
|
||||||
[
|
[
|
||||||
PipelineLinting,
|
PipelineLinting,
|
||||||
PipelineDeployment(scenario='centos7'),
|
PipelineDeployment(scenario='rocky9'),
|
||||||
PipelineDeployment(scenario='rocky8'),
|
|
||||||
PipelineDocumentation,
|
PipelineDocumentation,
|
||||||
PipelineNotification,
|
PipelineNotification,
|
||||||
]
|
]
|
||||||
|
|
42
.drone.yml
42
.drone.yml
|
@ -36,7 +36,7 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: testing-centos7
|
name: testing-rocky9
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -53,40 +53,7 @@ steps:
|
||||||
- name: ansible-molecule
|
- name: ansible-molecule
|
||||||
image: thegeeklab/molecule:4
|
image: thegeeklab/molecule:4
|
||||||
commands:
|
commands:
|
||||||
- molecule test -s centos7
|
- molecule test -s rocky9
|
||||||
environment:
|
|
||||||
HCLOUD_TOKEN:
|
|
||||||
from_secret: hcloud_token
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
ref:
|
|
||||||
- refs/heads/main
|
|
||||||
- refs/tags/**
|
|
||||||
- refs/pull/**
|
|
||||||
|
|
||||||
depends_on:
|
|
||||||
- linting
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: testing-rocky8
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
limit: 1
|
|
||||||
|
|
||||||
workspace:
|
|
||||||
base: /drone/src
|
|
||||||
path: ${DRONE_REPO_NAME}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: ansible-molecule
|
|
||||||
image: thegeeklab/molecule:4
|
|
||||||
commands:
|
|
||||||
- molecule test -s rocky8
|
|
||||||
environment:
|
environment:
|
||||||
HCLOUD_TOKEN:
|
HCLOUD_TOKEN:
|
||||||
from_secret: hcloud_token
|
from_secret: hcloud_token
|
||||||
|
@ -141,8 +108,7 @@ trigger:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- testing-centos7
|
- testing-rocky9
|
||||||
- testing-rocky8
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -182,6 +148,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 96355b0a9ad3071ee76a08c0be0ebb18224f302aa5f140f44f9760b6b91be95d
|
hmac: c2c83f7febb11b4664c7910bebd6c7de0f769bf6af1dc2f13e61583c0565ae56
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -15,11 +15,11 @@ galaxy_info:
|
||||||
# @end
|
# @end
|
||||||
description: Setup a Gitea git server
|
description: Setup a Gitea git server
|
||||||
license: MIT
|
license: MIT
|
||||||
min_ansible_version: 2.10
|
min_ansible_version: "2.10"
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
- 7
|
- "9"
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
- gitea
|
- gitea
|
||||||
- git
|
- git
|
||||||
|
|
Loading…
Reference in New Issue