This commit is contained in:
parent
f9578bd074
commit
cb4dbf6502
@ -19,7 +19,7 @@ local PipelineLinting = {
|
||||
},
|
||||
};
|
||||
|
||||
local PipelineDeployment(scenario='centos8') = {
|
||||
local PipelineDeployment(scenario='centos7') = {
|
||||
kind: 'pipeline',
|
||||
name: 'testing-' + scenario,
|
||||
platform: {
|
||||
@ -110,7 +110,7 @@ local PipelineDocumentation = {
|
||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
||||
},
|
||||
depends_on: [
|
||||
'testing-centos8',
|
||||
'testing-centos7',
|
||||
],
|
||||
};
|
||||
|
||||
@ -148,7 +148,7 @@ local PipelineNotification = {
|
||||
|
||||
[
|
||||
PipelineLinting,
|
||||
PipelineDeployment(scenario='centos8'),
|
||||
PipelineDeployment(scenario='centos7'),
|
||||
PipelineDocumentation,
|
||||
PipelineNotification,
|
||||
]
|
||||
|
@ -20,7 +20,7 @@ trigger:
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: testing-centos8
|
||||
name: testing-centos7
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
@ -37,7 +37,7 @@ steps:
|
||||
- name: ansible-molecule
|
||||
image: xoxys/molecule:3
|
||||
commands:
|
||||
- molecule test -scentos8
|
||||
- molecule test -scentos7
|
||||
environment:
|
||||
DO_API_KEY:
|
||||
from_secret: do_api_key
|
||||
@ -106,7 +106,7 @@ trigger:
|
||||
- refs/pull/**
|
||||
|
||||
depends_on:
|
||||
- testing-centos8
|
||||
- testing-centos7
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -146,6 +146,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: f565ac4819e3b86185ee25d5dbde6d0844d282330ab45abe385ecdb83fedcc16
|
||||
hmac: be498a1070954ff9b7a10dc6f285a95aa7ebc0b30d4f2ad2c178bd6ac9eab918
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user