cleanup drone config
This commit is contained in:
parent
d2f4e68c18
commit
49284f7943
@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = {
|
|||||||
},
|
},
|
||||||
workspace: {
|
workspace: {
|
||||||
base: '/drone/src',
|
base: '/drone/src',
|
||||||
path: 'xoxys.selinux',
|
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.selinux',
|
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' },
|
||||||
|
@ -31,7 +31,7 @@ concurrency:
|
|||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
base: /drone/src
|
base: /drone/src
|
||||||
path: xoxys.selinux
|
path: ${DRONE_REPO_NAME}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ansible-molecule
|
- name: ansible-molecule
|
||||||
@ -78,7 +78,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.selinux
|
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
|
||||||
@ -146,6 +146,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 8a6df624c1c4be8003ab2abc779eea4506abe1c5b8c5f17391b9b88105654b1f
|
hmac: 6d72adb2b57142a5fb43c1f73ef6b25915d09b235f409c4daebc8ed76675ec05
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user