cleanup pipeline
continuous-integration/drone/push Build is passing 详情

这个提交包含在:
Robert Kaussow 2019-11-22 23:59:05 +01:00
父节点 aeca2d9236
当前提交 1cec1e0d84
共有 3 个文件被更改,包括 28 次插入21 次删除

查看文件

@ -9,12 +9,8 @@ local PipelineLinting = {
{
name: "ansible-later",
image: "xoxys/ansible-later:latest",
environment: {
PY_COLORS: 1
},
commands: [
"git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy",
"ansible-later -c ~/policy/config.yml"
"ansible-later",
],
},
],
@ -40,16 +36,14 @@ local PipelineDeployment = {
steps: [
{
name: "ansible-molecule",
image: "xoxys/molecule:do-linux-amd64",
image: "xoxys/molecule:latest",
environment: {
DO_API_KEY: { "from_secret": "do_api_key" },
USER: "root",
MOLECULE_CUSTOM_MODULES_REPO: "https://gitea.rknet.org/ansible/custom_modules",
MOLECULE_CUSTOM_FILTERS_REPO: "https://gitea.rknet.org/ansible/custom_filters",
PY_COLORS: 1
},
commands: [
"/bin/bash /docker-entrypoint.sh",
"molecule test -s default",
],
},
@ -78,7 +72,6 @@ local PipelineDocumentation = {
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
ANSIBLE_DOCTOR_EXCLUDE_FILES: "molecule/",
ANSIBLE_DOCTOR_CUSTOM_HEADER: "HEADER.md",
PY_COLORS: 1
},
},
{

查看文件

@ -10,16 +10,13 @@ steps:
- name: ansible-later
image: xoxys/ansible-later:latest
commands:
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- ansible-later -c ~/policy/config.yml
environment:
PY_COLORS: 1
- ansible-later
trigger:
ref:
- refs/heads/master
- "refs/tags/**"
- "refs/pull/**"
- refs/tags/**
- refs/pull/**
---
kind: pipeline
@ -37,7 +34,6 @@ steps:
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
ANSIBLE_DOCTOR_LOG_LEVEL: INFO
PY_COLORS: 1
- name: push-to-repo
image: plugins/git-action:latest
@ -45,7 +41,7 @@ steps:
actions:
- commit
- push
author_email: "shipper@rknet.org"
author_email: shipper@rknet.org
author_name: DroneShipper
branch: master
message: "[SKIP CI] update readme"
@ -62,8 +58,8 @@ steps:
trigger:
ref:
- refs/heads/master
- "refs/tags/**"
- "refs/pull/**"
- refs/tags/**
- refs/pull/**
---
kind: pipeline
@ -93,7 +89,7 @@ steps:
trigger:
ref:
- refs/heads/master
- "refs/tags/**"
- refs/tags/**
status:
- success
- failure
@ -103,6 +99,6 @@ depends_on:
---
kind: signature
hmac: 3b950620850b892491ff66fbc71ae1e6c7eef65ae5e3780ec3d51d6d76eb1dd2
hmac: d5adee42edbe725a89a25e490964ebaf21eb04ad122a00acf0b6e69211d3a2f7
...

18
.later.yml 普通文件
查看文件

@ -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