upgrade to molecule v3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-02-21 00:46:35 +01:00
parent c66bc093ac
commit 2102efe92d
6 changed files with 13 additions and 27 deletions

View File

@ -8,7 +8,7 @@ local PipelineLinting = {
steps: [ steps: [
{ {
name: 'ansible-later', name: 'ansible-later',
image: 'xoxys/ansible-later:latest', image: 'xoxys/ansible-later',
commands: [ commands: [
'ansible-later', 'ansible-later',
], ],
@ -36,10 +36,10 @@ local PipelineDeployment(scenario='centos7') = {
steps: [ steps: [
{ {
name: 'ansible-molecule', name: 'ansible-molecule',
image: 'xoxys/molecule:latest', image: 'xoxys/molecule:3',
pull: 'always',
environment: { environment: {
DO_API_KEY: { from_secret: 'do_api_key' }, DO_API_KEY: { from_secret: 'do_api_key' },
USER: 'root',
MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules', MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules',
MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters', MOLECULE_CUSTOM_FILTERS_REPO: 'https://gitea.rknet.org/ansible/custom_filters',
}, },
@ -66,7 +66,7 @@ local PipelineDocumentation = {
steps: [ steps: [
{ {
name: 'generate', name: 'generate',
image: 'xoxys/ansible-doctor:latest', image: 'xoxys/ansible-doctor',
environment: { environment: {
ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO', ANSIBLE_DOCTOR_LOG_LEVEL: 'INFO',
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true, ANSIBLE_DOCTOR_FORCE_OVERWRITE: true,
@ -78,7 +78,7 @@ local PipelineDocumentation = {
}, },
{ {
name: 'publish', name: 'publish',
image: 'plugins/gh-pages:latest', image: 'plugins/gh-pages',
settings: { settings: {
remote_url: 'https://gitea.rknet.org/ansible/xoxys.smb', remote_url: 'https://gitea.rknet.org/ansible/xoxys.smb',
netrc_machine: 'gitea.rknet.org', netrc_machine: 'gitea.rknet.org',

View File

@ -8,7 +8,7 @@ platform:
steps: steps:
- name: ansible-later - name: ansible-later
image: xoxys/ansible-later:latest image: xoxys/ansible-later
commands: commands:
- ansible-later - ansible-later
@ -35,7 +35,7 @@ workspace:
steps: steps:
- name: ansible-molecule - name: ansible-molecule
image: xoxys/molecule:latest image: xoxys/molecule:3
commands: commands:
- molecule test -scentos7 - molecule test -scentos7
environment: environment:
@ -43,7 +43,6 @@ steps:
from_secret: do_api_key from_secret: do_api_key
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
USER: root
trigger: trigger:
ref: ref:
@ -70,7 +69,7 @@ workspace:
steps: steps:
- name: ansible-molecule - name: ansible-molecule
image: xoxys/molecule:latest image: xoxys/molecule:3
commands: commands:
- molecule test -scentos8 - molecule test -scentos8
environment: environment:
@ -78,7 +77,6 @@ steps:
from_secret: do_api_key from_secret: do_api_key
MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
USER: root
trigger: trigger:
ref: ref:
@ -98,7 +96,7 @@ platform:
steps: steps:
- name: generate - name: generate
image: xoxys/ansible-doctor:latest image: xoxys/ansible-doctor
environment: environment:
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/ ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
ANSIBLE_DOCTOR_FORCE_OVERWRITE: true ANSIBLE_DOCTOR_FORCE_OVERWRITE: true
@ -108,7 +106,7 @@ steps:
ANSIBLE_DOCTOR_TEMPLATE: hugo-book ANSIBLE_DOCTOR_TEMPLATE: hugo-book
- name: publish - name: publish
image: plugins/gh-pages:latest image: plugins/gh-pages
settings: settings:
netrc_machine: gitea.rknet.org netrc_machine: gitea.rknet.org
pages_directory: _docs/ pages_directory: _docs/
@ -183,6 +181,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 495de75cf8c3b79ba047862b37180a9d6364e3c36cd2f0bb2b699e52a657d5c7 hmac: a9306c5b104453f7395ac4116f54ae8c3280327eb09c098266f44df660539f51
... ...

View File

@ -2,20 +2,14 @@
dependency: dependency:
name: galaxy name: galaxy
driver: driver:
name: digitalocean name: delegated
platforms: platforms:
- name: centos7-smb - name: centos7-smb
region_id: fra1 region_id: fra1
image_id: centos-7-x64 image_id: centos-7-x64
size_id: s-1vcpu-1gb size_id: s-1vcpu-1gb
lint:
name: yamllint
enabled: False
provisioner: provisioner:
name: ansible name: ansible
lint:
name: ansible-lint
enabled: False
verifier: verifier:
name: testinfra name: testinfra
lint: lint:

View File

@ -2,20 +2,14 @@
dependency: dependency:
name: galaxy name: galaxy
driver: driver:
name: digitalocean name: delegated
platforms: platforms:
- name: centos8-smb - name: centos8-smb
region_id: fra1 region_id: fra1
image_id: centos-8-x64 image_id: centos-8-x64
size_id: s-1vcpu-1gb size_id: s-1vcpu-1gb
lint:
name: yamllint
enabled: False
provisioner: provisioner:
name: ansible name: ansible
lint:
name: ansible-lint
enabled: False
verifier: verifier:
name: testinfra name: testinfra
lint: lint: