Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove testing logic from ome-ansible-molecule-dependencies #11

Merged
merged 2 commits into from
Jun 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 3 additions & 77 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,87 +1,13 @@
---
sudo: required
sudo: false
language: python

services:
- docker

python: "2.7"

virtualenv:
system_site_packages: false

install:
- pip install --upgrade setuptools
- pip install .

script:
- ansible-galaxy install openmicroscopy.$ROLE --roles-path . --no-deps
# molecule test playbooks expect the directory to match the repository name
- mv openmicroscopy.$ROLE ansible-role-$ROLE
- cd ansible-role-$ROLE
# Some roles can't be properly tested in Docker
# These should provide an alternative configuration just for testing syntax
- if [ -f molecule-docker.yml ]; then mv molecule-docker.yml molecule.yml; fi
- ../test.sh

### GENERATED ###
env:
- ROLE=basedeps
- ROLE=cadvisor
- ROLE=celery-docker
- ROLE=docker
- ROLE=docker-tools
- ROLE=haproxy
# Syntax only
- ROLE=hosts-populate
- ROLE=ice
- ROLE=java
- ROLE=jekyll-build
- ROLE=local-accounts
- ROLE=logrotate
- ROLE=lvm-partition
- ROLE=munin
- ROLE=munin-node
- ROLE=mysql-backup
- ROLE=network-cloud-interfaces
- ROLE=nfs-mount
# Syntax only
- ROLE=nfs-share
- ROLE=nginx
- ROLE=nginx-proxy
- ROLE=nginx-ssl-selfsigned
- ROLE=omego
- ROLE=omero-logmonitor
- ROLE=omero-python-deps
- ROLE=omero-server
- ROLE=omero-user
- ROLE=omero-web
- ROLE=omero-web-apps
- ROLE=omero-web-runtime
- ROLE=openstack-volume-storage
- ROLE=postgresql
- ROLE=python-pydata
- ROLE=reboot-server
- ROLE=redis
- ROLE=rsync-server
- ROLE=samba-client
- ROLE=selinux-utils
- ROLE=storage-volume-initialise
- ROLE=sudoers
- ROLE=system-monitor-agent
- ROLE=upgrade-distpackages
- ROLE=versioncontrol-utils
### GENERATED ###
install: pip install --upgrade setuptools

### molecule syntax check only
script: pip install .

matrix:
allow_failures:
# Uses a non-standard test from upstream
- env: ROLE=haproxy
# No molecule.yml or test.yml (tested by munin role)
- env: ROLE=munin-node
# Molecule test doesn't work
- env: ROLE=omero-logmonitor
# Broken (deprecated?)
- env: ROLE=omero-web-apps
3 changes: 0 additions & 3 deletions repos.sh

This file was deleted.

12 changes: 0 additions & 12 deletions test.sh

This file was deleted.

28 changes: 0 additions & 28 deletions update.py

This file was deleted.