mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-18 10:40:33 +02:00
Solved integration tests
This commit is contained in:
parent
77e32cc5a6
commit
c492c824b7
@ -1,4 +1,4 @@
|
||||
# This file is also used by docker-matrix-compose
|
||||
# This file is also used by docker-matrix
|
||||
|
||||
- name: "Display all database variables"
|
||||
debug:
|
||||
|
1
roles/docker-elk/vars/main.yml
Normal file
1
roles/docker-elk/vars/main.yml
Normal file
@ -0,0 +1 @@
|
||||
application_id: elk
|
1
roles/docker-jenkins/vars/main.yml
Normal file
1
roles/docker-jenkins/vars/main.yml
Normal file
@ -0,0 +1 @@
|
||||
application_id: jenkins
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
local_repository_directory: "{{role_path}}/matrix-docker-ansible-deploy"
|
@ -1,4 +1,4 @@
|
||||
# Matrix (Ansible - Deprecated)
|
||||
# Matrix (Deprecated)
|
||||
|
||||
## Warning
|
||||
This role is experimental and may not be actively maintained. Use it with caution in production environments. For a more stable deployment, please consider using the Matrix Compose role or another alternative solution.
|
3
roles/docker-matrix-deprecated/vars/main.yml
Normal file
3
roles/docker-matrix-deprecated/vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
local_repository_directory: "{{role_path}}/matrix-docker-ansible-deploy"
|
||||
application_id: "matrix-deprecated" # Just added to catch integration test exceptions. This role is anyhow deprecated.
|
1
roles/docker-xmpp/vars/main.yml
Normal file
1
roles/docker-xmpp/vars/main.yml
Normal file
@ -0,0 +1 @@
|
||||
application_id: xmpp
|
@ -148,7 +148,7 @@
|
||||
|
||||
- name: setup matrix with flavor 'compose'
|
||||
include_role:
|
||||
name: docker-matrix-compose
|
||||
name: docker-matrix
|
||||
when: applications.matrix.role == 'compose' and ("matrix" in group_names)
|
||||
|
||||
- name: setup open project instances
|
||||
|
@ -11,6 +11,9 @@ class TestApplicationIdConsistency(unittest.TestCase):
|
||||
failed_roles = []
|
||||
|
||||
for role_path in ROLES_DIR.iterdir():
|
||||
if role_path.name in ["docker-compose", "docker-central-database", "docker-repository-setup"]:
|
||||
continue
|
||||
|
||||
if role_path.is_dir() and role_path.name.startswith("docker-"):
|
||||
expected_id = role_path.name.replace("docker-", "", 1)
|
||||
vars_file = role_path / "vars" / "main.yml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user