Merge branch 'master' into feature/private-key-creation-idempotence

This commit is contained in:
Emmanouil Kampitakis 2019-02-21 01:43:50 +01:00
commit 06f4d465bc
2 changed files with 26 additions and 1 deletions

24
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,24 @@
---
# -*- coding: utf-8 -*-
before_script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- git submodule update --init
- pip install --upgrade ansible ansible-lint
- ansible --version
- ansible-lint --version
stages:
- ansible-lint
- ansible-syntax-check
ansible-lint-pip:
stage: ansible-lint
script:
- ansible-lint tests/test-pip.yml
ansible-lint-docker:
stage: ansible-lint
script:
- ansible-lint tests/test-docker.yml

View file

@ -2,7 +2,8 @@
- name: check that sypervision and deployment are compatible
fail:
msg: "Either both or neither of deployment and supervision method should be docker."
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or (matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or
(matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
- name: configure synapse
import_tasks: configure.yml