This commit is contained in:
parent
68fdcecec8
commit
d871d12b02
@ -8,7 +8,7 @@ local PipelineLinting = {
|
||||
steps: [
|
||||
{
|
||||
name: 'ansible-later',
|
||||
image: 'xoxys/ansible-later',
|
||||
image: 'thegeeklab/ansible-later',
|
||||
commands: [
|
||||
'ansible-later',
|
||||
],
|
||||
@ -36,14 +36,12 @@ local PipelineDeployment(scenario='centos7') = {
|
||||
steps: [
|
||||
{
|
||||
name: 'ansible-molecule',
|
||||
image: 'xoxys/molecule:3',
|
||||
image: 'thegeeklab/molecule:3',
|
||||
environment: {
|
||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
|
||||
},
|
||||
commands: [
|
||||
'molecule test -s' + scenario,
|
||||
'molecule test -s ' + scenario,
|
||||
],
|
||||
},
|
||||
],
|
||||
@ -65,7 +63,7 @@ local PipelineDocumentation = {
|
||||
steps: [
|
||||
{
|
||||
name: 'generate',
|
||||
image: 'xoxys/ansible-doctor',
|
||||
image: 'thegeeklab/ansible-doctor',
|
||||
environment: {
|
||||
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
||||
@ -98,7 +96,7 @@ local PipelineDocumentation = {
|
||||
token: { from_secret: 'drone_token' },
|
||||
fork: true,
|
||||
repositories: [
|
||||
'ansible/ansible-galaxy',
|
||||
'ansible/galaxy',
|
||||
],
|
||||
},
|
||||
when: {
|
||||
|
14
.drone.yml
14
.drone.yml
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: ansible-later
|
||||
image: xoxys/ansible-later
|
||||
image: thegeeklab/ansible-later
|
||||
commands:
|
||||
- ansible-later
|
||||
|
||||
@ -35,14 +35,12 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: ansible-molecule
|
||||
image: xoxys/molecule:3
|
||||
image: thegeeklab/molecule:3
|
||||
commands:
|
||||
- molecule test -scentos7
|
||||
- molecule test -s centos7
|
||||
environment:
|
||||
DO_API_KEY:
|
||||
from_secret: do_api_key
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
|
||||
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -62,7 +60,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: generate
|
||||
image: xoxys/ansible-doctor
|
||||
image: thegeeklab/ansible-doctor
|
||||
environment:
|
||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
||||
@ -91,7 +89,7 @@ steps:
|
||||
settings:
|
||||
fork: true
|
||||
repositories:
|
||||
- ansible/ansible-galaxy
|
||||
- ansible/galaxy
|
||||
server: https://drone.rknet.org
|
||||
token:
|
||||
from_secret: drone_token
|
||||
@ -146,6 +144,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 87d9a6739989be0f57f26d0cacfca8aa2ef6d80ad7b41c46f2b7d0f7f32a918a
|
||||
hmac: 7464cf62092e8144c8b07722fef5dfa876ad903a7149b85003556965cd4c970f
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user