mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-11 05:10:27 -07:00
Ansible role tests were failing due to ansible-lint reporting multiple errors. Fixing those errors resolves the failing tests. Switching gcsfuse to use gcloud's bootstrap to follow the current docker install instructions. Removing centos as it's a discontinued distribution. Adding a check to ensure integration tests are skipped unless they are run by a branch (a public fork does not pass required integration test credentials).
26 lines
537 B
YAML
26 lines
537 B
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
driver:
|
|
name: docker
|
|
lint: |
|
|
set -e
|
|
yamllint .
|
|
ansible-lint
|
|
platforms:
|
|
- name: instance
|
|
image: ubuntu:18.04
|
|
privileged: true
|
|
ansible.builtin.command: "/lib/systemd/systemd"
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
- name: instance
|
|
image: debian:9
|
|
privileged: true
|
|
ansible.builtin.command: "/lib/systemd/systemd"
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
provisioner:
|
|
name: ansible
|
|
playbooks:
|
|
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
|