refactor ci pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-10-16 00:20:29 +02:00
parent 937d3d81e5
commit 2e871aa930
4 changed files with 8 additions and 10 deletions

View File

@ -13,9 +13,8 @@ local PipelineLinting = {
PY_COLORS: 1 PY_COLORS: 1
}, },
commands: [ commands: [
"wget -O .later-standards.py https://gitea.rknet.org/ansible/ansible-later-policy/raw/branch/master/standards.py", "git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy",
"wget -O .later-defaults.yml https://gitea.rknet.org/ansible/ansible-later-policy/raw/branch/master/config.yml", "ansible-later -c ~/policy/config.yml"
"ansible-later -r .later-standards.py -c .later-defaults.yml"
], ],
}, },
], ],

View File

@ -10,9 +10,8 @@ steps:
- name: ansible-later - name: ansible-later
image: xoxys/ansible-later:latest image: xoxys/ansible-later:latest
commands: commands:
- wget -O .later-standards.py https://gitea.rknet.org/ansible/ansible-later-policy/raw/branch/master/standards.py - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- wget -O .later-defaults.yml https://gitea.rknet.org/ansible/ansible-later-policy/raw/branch/master/config.yml - ansible-later -c ~/policy/config.yml
- ansible-later -r .later-standards.py -c .later-defaults.yml
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
@ -144,6 +143,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 7fb49660978cc626c642f3dcd19ee7018a6082153bccf5dafadb06e51f29f06a hmac: 767a52e730e52730b52344e40de7536f2c51f37983c0697ac90d9ed3b8aef588
... ...

View File

@ -1,4 +1,4 @@
# xoxys.MYTPL # xoxys.certbot
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.MYTPL/status.svg)](https://drone.rknet.org/ansible/xoxys.MYTPL) [![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.certbot/status.svg)](https://drone.rknet.org/ansible/xoxys.certbot)

View File

@ -2,7 +2,7 @@
- name: Initialise certbot - name: Initialise certbot
block: block:
- name: Initial run of certbot - name: Initial run of certbot
shell: > command: >
certbot certbot
--config-dir {{ certbot_config_dir }} --config-dir {{ certbot_config_dir }}
--work-dir {{ certbot_work_dir }} --work-dir {{ certbot_work_dir }}