This commit is contained in:
parent
a72da168f0
commit
f9b58c7a5e
@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
|
||||
},
|
||||
workspace: {
|
||||
base: '/drone/src',
|
||||
path: 'xoxys.cups',
|
||||
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.cups',
|
||||
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.cups
|
||||
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.cups
|
||||
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: 2f5b95a5b0ba35f22e0e53326697f28c26f1049796f6df5ee0657e28d14415fd
|
||||
hmac: f2787164500dc925e9b914a30c6b8ba24ae1b06c938c6b2239eb3d321b218091
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user