cleanup drone config
This commit is contained in:
parent
b3d425118b
commit
b726106f57
@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
|
||||
},
|
||||
workspace: {
|
||||
base: '/drone/src',
|
||||
path: 'xoxys.iptables',
|
||||
path: '${DRONE_REPO_NAME}',
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'ansible-molecule',
|
||||
image: 'xoxys/molecule:3',
|
||||
pull: 'always',
|
||||
environment: {
|
||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
|
||||
@ -79,7 +78,7 @@ local PipelineDocumentation = {
|
||||
name: 'publish',
|
||||
image: 'plugins/gh-pages',
|
||||
settings: {
|
||||
remote_url: 'https://gitea.rknet.org/ansible/xoxys.iptables',
|
||||
remote_url: 'https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}',
|
||||
netrc_machine: 'gitea.rknet.org',
|
||||
username: { from_secret: 'gitea_username' },
|
||||
password: { from_secret: 'gitea_token' },
|
||||
|
@ -31,7 +31,7 @@ concurrency:
|
||||
|
||||
workspace:
|
||||
base: /drone/src
|
||||
path: xoxys.iptables
|
||||
path: ${DRONE_REPO_NAME}
|
||||
|
||||
steps:
|
||||
- name: ansible-molecule
|
||||
@ -77,7 +77,7 @@ steps:
|
||||
pages_directory: _docs/
|
||||
password:
|
||||
from_secret: gitea_token
|
||||
remote_url: https://gitea.rknet.org/ansible/xoxys.iptables
|
||||
remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}
|
||||
target_branch: docs
|
||||
username:
|
||||
from_secret: gitea_username
|
||||
@ -145,6 +145,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 57e3f2d5f9f9becd8974d8e447e483da60545af942b411ba18014d444acdac20
|
||||
hmac: 40b0d580726f1e7750f00a87569d6f016a7dd72202ce31e32755dcca819ad1ed
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user