cleanup drone config

This commit is contained in:
Robert Kaussow 2020-03-21 14:35:14 +01:00
parent fd949e922a
commit 5818974007
2 changed files with 5 additions and 6 deletions

View File

@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
},
workspace: {
base: '/drone/src',
path: 'xoxys.ldap_proxy',
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_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
@ -80,7 +79,7 @@ local PipelineDocumentation = {
name: 'publish',
image: 'plugins/gh-pages',
settings: {
remote_url: 'https://gitea.rknet.org/ansible/xoxys.ldap_proxy',
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' },

View File

@ -31,7 +31,7 @@ concurrency:
workspace:
base: /drone/src
path: xoxys.ldap_proxy
path: ${DRONE_REPO_NAME}
steps:
- name: ansible-molecule
@ -78,7 +78,7 @@ steps:
pages_directory: _docs/
password:
from_secret: gitea_token
remote_url: https://gitea.rknet.org/ansible/xoxys.ldap_proxy
remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}
target_branch: docs
username:
from_secret: gitea_username
@ -146,6 +146,6 @@ depends_on:
---
kind: signature
hmac: e186b14a560ad416eee3ef388bdf5fc24a4cad06bb02478a1c99eb74afab14f2
hmac: d79fd766da6feede34c4882babc58402a6c3497b710b6d6f06cdbdfa3fd8e707
...