This commit is contained in:
parent
9f460408e2
commit
b142454276
@ -9,12 +9,8 @@ local PipelineLinting = {
|
|||||||
{
|
{
|
||||||
name: "ansible-later",
|
name: "ansible-later",
|
||||||
image: "xoxys/ansible-later:latest",
|
image: "xoxys/ansible-later:latest",
|
||||||
environment: {
|
|
||||||
PY_COLORS: 1
|
|
||||||
},
|
|
||||||
commands: [
|
commands: [
|
||||||
"git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy",
|
"ansible-later",
|
||||||
"ansible-later -c ~/policy/config.yml"
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -39,7 +35,6 @@ local PipelineDocumentation = {
|
|||||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
||||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: "molecule/",
|
ANSIBLE_DOCTOR_EXCLUDE_FILES: "molecule/",
|
||||||
ANSIBLE_DOCTOR_CUSTOM_HEADER: "HEADER.md",
|
ANSIBLE_DOCTOR_CUSTOM_HEADER: "HEADER.md",
|
||||||
PY_COLORS: 1
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
20
.drone.yml
20
.drone.yml
@ -10,16 +10,13 @@ steps:
|
|||||||
- name: ansible-later
|
- name: ansible-later
|
||||||
image: xoxys/ansible-later:latest
|
image: xoxys/ansible-later:latest
|
||||||
commands:
|
commands:
|
||||||
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
- ansible-later
|
||||||
- ansible-later -c ~/policy/config.yml
|
|
||||||
environment:
|
|
||||||
PY_COLORS: 1
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- refs/tags/**
|
||||||
- "refs/pull/**"
|
- refs/pull/**
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -37,7 +34,6 @@ steps:
|
|||||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
||||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
||||||
ANSIBLE_DOCTOR_LOG_LEVEL: INFO
|
ANSIBLE_DOCTOR_LOG_LEVEL: INFO
|
||||||
PY_COLORS: 1
|
|
||||||
|
|
||||||
- name: push-to-repo
|
- name: push-to-repo
|
||||||
image: plugins/git-action:latest
|
image: plugins/git-action:latest
|
||||||
@ -45,7 +41,7 @@ steps:
|
|||||||
actions:
|
actions:
|
||||||
- commit
|
- commit
|
||||||
- push
|
- push
|
||||||
author_email: "shipper@rknet.org"
|
author_email: shipper@rknet.org
|
||||||
author_name: DroneShipper
|
author_name: DroneShipper
|
||||||
branch: master
|
branch: master
|
||||||
message: "[SKIP CI] update readme"
|
message: "[SKIP CI] update readme"
|
||||||
@ -62,8 +58,8 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- refs/tags/**
|
||||||
- "refs/pull/**"
|
- refs/pull/**
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- linting
|
- linting
|
||||||
@ -96,7 +92,7 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- refs/tags/**
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
@ -106,6 +102,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 3e4db884e4a8ef99c86f4101f989c011cc0e5c6ab64eb35fa92378a67e1e5673
|
hmac: ae81db28bddece3000713dd54f54db99a89b9685d9aee8bd8f46786d1cc59abc
|
||||||
|
|
||||||
...
|
...
|
||||||
|
18
.later.yml
Normal file
18
.later.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
ansible:
|
||||||
|
custom_modules:
|
||||||
|
- iptables_raw
|
||||||
|
- openssl_pkcs12
|
||||||
|
- proxmox_kvm2
|
||||||
|
- ucr
|
||||||
|
- yum_versionlock
|
||||||
|
|
||||||
|
rules:
|
||||||
|
exclude_files:
|
||||||
|
- molecule/
|
||||||
|
- "LICENSE*"
|
||||||
|
- "**/*.md"
|
||||||
|
- "**/*.ini"
|
||||||
|
|
||||||
|
exclude_filter:
|
||||||
|
- LINT0009
|
Loading…
Reference in New Issue
Block a user