Drop molecule support

This was an experiment to see if using molecule was something we wanted
to do. However, a lot of tihs logic is duplicated by zuul.

Change-Id: Ie59edff5825496bb1f34825ae2f916afdf198593
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-09-09 17:43:42 -04:00
parent 93157d2f9e
commit 97ee6c828b
4 changed files with 0 additions and 52 deletions

View File

@ -66,7 +66,6 @@
- ansible-role-nodepool-src-fedora-latest - ansible-role-nodepool-src-fedora-latest
- ansible-role-nodepool-src-ubuntu-bionic - ansible-role-nodepool-src-ubuntu-bionic
- tox-linters - tox-linters
- windmill-tox-molecule
gate: gate:
jobs: jobs:
- ansible-role-nodepool-docker - ansible-role-nodepool-docker
@ -75,4 +74,3 @@
- ansible-role-nodepool-src-fedora-latest - ansible-role-nodepool-src-fedora-latest
- ansible-role-nodepool-src-ubuntu-bionic - ansible-role-nodepool-src-ubuntu-bionic
- tox-linters - tox-linters
- windmill-tox-molecule

View File

@ -1,9 +0,0 @@
# Molecule managed
{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}
RUN apt-get update && apt-get install -y python sudo bash ca-certificates python-pip python3-pip && apt-get clean;

View File

@ -1,34 +0,0 @@
---
dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
platforms:
- name: ubuntu-bionic
image: ubuntu:bionic
provisioner:
name: ansible
config_options:
ssh_connection:
pipelining: true
inventory:
group_vars:
all:
nodepool_service_nodepool_builder_manage: false
nodepool_service_nodepool_launcher_manage: false
lint:
name: ansible-lint
log: true
playbooks:
converge: ../../tests/playbooks/run.yaml
scenario:
name: default
verifier:
name: testinfra
directory: ../tests
options:
verbose: true
lint:
name: flake8

View File

@ -34,10 +34,3 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[testenv:linters] [testenv:linters]
commands = commands =
yamllint -s . yamllint -s .
[testenv:molecule]
sitepackages = True
setenv =
ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks
commands =
molecule test