cleanup drone config

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

View File

@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
}, },
workspace: { workspace: {
base: '/drone/src', base: '/drone/src',
path: 'xoxys.smb', path: '${DRONE_REPO_NAME}',
}, },
steps: [ steps: [
{ {
name: 'ansible-molecule', name: 'ansible-molecule',
image: 'xoxys/molecule:3', image: 'xoxys/molecule:3',
pull: 'always',
environment: { environment: {
DO_API_KEY: { from_secret: 'do_api_key' }, DO_API_KEY: { from_secret: 'do_api_key' },
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules', MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
@ -80,7 +79,7 @@ local PipelineDocumentation = {
name: 'publish', name: 'publish',
image: 'plugins/gh-pages', image: 'plugins/gh-pages',
settings: { settings: {
remote_url: 'https://gitea.rknet.org/ansible/xoxys.smb', remote_url: 'https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}',
netrc_machine: 'gitea.rknet.org', netrc_machine: 'gitea.rknet.org',
username: { from_secret: 'gitea_username' }, username: { from_secret: 'gitea_username' },
password: { from_secret: 'gitea_token' }, password: { from_secret: 'gitea_token' },

View File

@ -31,7 +31,7 @@ concurrency:
workspace: workspace:
base: /drone/src base: /drone/src
path: xoxys.smb path: ${DRONE_REPO_NAME}
steps: steps:
- name: ansible-molecule - name: ansible-molecule
@ -65,7 +65,7 @@ concurrency:
workspace: workspace:
base: /drone/src base: /drone/src
path: xoxys.smb path: ${DRONE_REPO_NAME}
steps: steps:
- name: ansible-molecule - name: ansible-molecule
@ -112,7 +112,7 @@ steps:
pages_directory: _docs/ pages_directory: _docs/
password: password:
from_secret: gitea_token from_secret: gitea_token
remote_url: https://gitea.rknet.org/ansible/xoxys.smb remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}
target_branch: docs target_branch: docs
username: username:
from_secret: gitea_username from_secret: gitea_username
@ -181,6 +181,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: a9306c5b104453f7395ac4116f54ae8c3280327eb09c098266f44df660539f51 hmac: c2c89f670672440c76c59aef1fc52e4a89d0e9ac19e449eaaaf058d99a035bb9
... ...