upgrade to molecule v3
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fbe1df0148
commit
284e60a070
@ -8,7 +8,7 @@ local PipelineLinting = {
|
||||
steps: [
|
||||
{
|
||||
name: 'ansible-later',
|
||||
image: 'xoxys/ansible-later:latest',
|
||||
image: 'xoxys/ansible-later',
|
||||
commands: [
|
||||
'ansible-later',
|
||||
],
|
||||
@ -36,10 +36,10 @@ local PipelineDeployment(scenario='centos7') = {
|
||||
steps: [
|
||||
{
|
||||
name: 'ansible-molecule',
|
||||
image: 'xoxys/molecule:latest',
|
||||
image: 'xoxys/molecule:3',
|
||||
pull: 'always',
|
||||
environment: {
|
||||
DO_API_KEY: { from_secret: 'do_api_key' },
|
||||
USER: 'root',
|
||||
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
|
||||
},
|
||||
@ -66,7 +66,7 @@ local PipelineDocumentation = {
|
||||
steps: [
|
||||
{
|
||||
name: 'generate',
|
||||
image: 'xoxys/ansible-doctor:latest',
|
||||
image: 'xoxys/ansible-doctor',
|
||||
environment: {
|
||||
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
|
||||
@ -78,7 +78,7 @@ local PipelineDocumentation = {
|
||||
},
|
||||
{
|
||||
name: 'publish',
|
||||
image: 'plugins/gh-pages:latest',
|
||||
image: 'plugins/gh-pages',
|
||||
settings: {
|
||||
remote_url: 'https://gitea.rknet.org/ansible/xoxys.lvm',
|
||||
netrc_machine: 'gitea.rknet.org',
|
||||
|
14
.drone.yml
14
.drone.yml
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: ansible-later
|
||||
image: xoxys/ansible-later:latest
|
||||
image: xoxys/ansible-later
|
||||
commands:
|
||||
- ansible-later
|
||||
|
||||
@ -35,7 +35,7 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: ansible-molecule
|
||||
image: xoxys/molecule:latest
|
||||
image: xoxys/molecule:3
|
||||
commands:
|
||||
- molecule test -scentos7
|
||||
environment:
|
||||
@ -43,7 +43,6 @@ steps:
|
||||
from_secret: do_api_key
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
|
||||
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
|
||||
USER: root
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -70,7 +69,7 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: ansible-molecule
|
||||
image: xoxys/molecule:latest
|
||||
image: xoxys/molecule:3
|
||||
commands:
|
||||
- molecule test -scentos8
|
||||
environment:
|
||||
@ -78,7 +77,6 @@ steps:
|
||||
from_secret: do_api_key
|
||||
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
|
||||
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
|
||||
USER: root
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
@ -98,7 +96,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: generate
|
||||
image: xoxys/ansible-doctor:latest
|
||||
image: xoxys/ansible-doctor
|
||||
environment:
|
||||
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
||||
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
|
||||
@ -108,7 +106,7 @@ steps:
|
||||
ANSIBLE_DOCTOR_TEMPLATE: hugo-book
|
||||
|
||||
- name: publish
|
||||
image: plugins/gh-pages:latest
|
||||
image: plugins/gh-pages
|
||||
settings:
|
||||
netrc_machine: gitea.rknet.org
|
||||
pages_directory: _docs/
|
||||
@ -183,6 +181,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: a7b145bd760afa7c69c180fdf11ce4d595e8692fe7f5346da66ef966a571faad
|
||||
hmac: dae646b5c218d3a8ef3b7940f23f38f54e121fb3b96feff5e331c91563e324a4
|
||||
|
||||
...
|
||||
|
@ -2,20 +2,14 @@
|
||||
dependency:
|
||||
name: galaxy
|
||||
driver:
|
||||
name: digitalocean
|
||||
name: delegated
|
||||
platforms:
|
||||
- name: centos7-lvm
|
||||
region_id: fra1
|
||||
image_id: centos-7-x64
|
||||
size_id: s-1vcpu-1gb
|
||||
lint:
|
||||
name: yamllint
|
||||
enabled: False
|
||||
provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
name: ansible-lint
|
||||
enabled: False
|
||||
verifier:
|
||||
name: testinfra
|
||||
lint:
|
||||
|
@ -2,20 +2,14 @@
|
||||
dependency:
|
||||
name: galaxy
|
||||
driver:
|
||||
name: digitalocean
|
||||
name: delegated
|
||||
platforms:
|
||||
- name: centos8-lvm
|
||||
region_id: fra1
|
||||
image_id: centos-8-x64
|
||||
size_id: s-1vcpu-1gb
|
||||
lint:
|
||||
name: yamllint
|
||||
enabled: False
|
||||
provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
name: ansible-lint
|
||||
enabled: False
|
||||
verifier:
|
||||
name: testinfra
|
||||
lint:
|
||||
|
Loading…
Reference in New Issue
Block a user