upgrade to molecule v3
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-02-20 22:39:31 +01:00
parent 0476bb1c6b
commit 4d2f640c75
5 changed files with 13 additions and 21 deletions

View File

@ -8,7 +8,7 @@ local PipelineLinting = {
steps: [
{
name: 'ansible-later',
image: 'xoxys/ansible-later:latest',
image: 'xoxys/ansible-later',
commands: [
'ansible-later',
],
@ -36,7 +36,7 @@ local PipelineDeployment(scenario='centos7') = {
steps: [
{
name: 'ansible-molecule',
image: 'xoxys/molecule:latest',
image: 'xoxys/molecule:3',
environment: {
DO_API_KEY: { from_secret: 'do_api_key' },
USER: 'root',
@ -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.bitwardenrs_docker',
netrc_machine: 'gitea.rknet.org',

View File

@ -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:
@ -63,7 +63,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
@ -73,7 +73,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/
@ -147,6 +147,6 @@ depends_on:
---
kind: signature
hmac: 52f5d7f4eaba07c6528e2a60430859d57194cc650d05e9d77e05093dcc67ada1
hmac: ec7166da7e94fa113b88745a7e6253af1ce163fda1fb21ba6aa6eaccbd69e9f0
...

View File

@ -3,7 +3,7 @@
hosts: localhost
connection: local
gather_facts: false
no_log: "{{ molecule_no_log }}"
#no_log: "{{ molecule_no_log }}"
vars:
ssh_user: root
ssh_port: 22

View File

@ -2,23 +2,15 @@
dependency:
name: galaxy
driver:
name: digitalocean
name: delegated
platforms:
- name: centos7-bitwardenrs
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:
name: flake8
options:
max-line-length: 120
lint: |
flake8 --max-line-length=120