--- image: quay.io/ansible/toolset:0.4 services: - docker:19.03.0-dind variables: PY_COLORS: 1 GIT_STRATEGY: clone # DOCKER_HOST: tcp://localhost:2375 DOCKER_TLS_CERTDIR: "" stages: - tests before_script: - docker -v - python -V - ansible --version - molecule --version # Test timeservice on dedicated gitlab-runner server timeservice-chrony-test: stage: tests tags: - docker script: - cd roles/timeservice; molecule test; timeservice-ntp-test: stage: tests tags: - docker script: - cd roles/timeservice; molecule test -s ntp; # Test private_subnet_client on Kubernetes private_subnet_client-test: stage: tests tags: - k8s-runner variables: DOCKER_HOST: tcp://localhost:2375 script: - cd roles/private_subnet_client; molecule test; # Test console_configuration on Kubernetes console_configuration-test: stage: tests tags: - k8s-runner variables: DOCKER_HOST: tcp://localhost:2375 script: - cd roles/console_configuration; molecule test; # Test system_update_manager on Kubernetes system_update_manager-test: stage: tests tags: - k8s-runner variables: DOCKER_HOST: tcp://localhost:2375 script: - cd roles/system_update_manager; molecule test -s remove; molecule test; molecule test -s increase; molecule test -s decrease; # Test rsyslog_forwarder on dedicated runner (systemd) rsyslog_forwarder-test: stage: tests tags: - docker script: - cd roles/rsyslog_forwarder; molecule test;