cleanup drone config

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

View File

@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
},
workspace: {
base: '/drone/src',
path: 'xoxys.cacerts',
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.cacerts',
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.cacerts
path: ${DRONE_REPO_NAME}
steps:
- name: ansible-molecule
@ -65,7 +65,7 @@ concurrency:
workspace:
base: /drone/src
path: xoxys.cacerts
path: ${DRONE_REPO_NAME}
steps:
- name: ansible-molecule
@ -112,7 +112,7 @@ steps:
pages_directory: _docs/
password:
from_secret: gitea_token
remote_url: https://gitea.rknet.org/ansible/xoxys.cacerts
remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}
target_branch: docs
username:
from_secret: gitea_username
@ -181,6 +181,6 @@ depends_on:
---
kind: signature
hmac: 6c8e9a1be000b95b2863962d78c018f95f8557dd9e9cd26d9083a514316e5797
hmac: 3dcae10b5d720f294d3af4d77d15072014c96dee6804ab1f03da3b407d8ab4eb
...