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

Adding test_db and web_server_tests services to excluded_containers #27

Merged
merged 1 commit into from
Jun 24, 2024
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
5 changes: 4 additions & 1 deletion inventories/one_vm/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ beholder_enabled: false
nvm_version: "v0.39.3"
node_version: "16"

excluded_containers: ""
excluded_containers:
- "test_db"
- "web_server_tests"

...
5 changes: 4 additions & 1 deletion inventories/separate_build_node/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ rabbitmq_vhost: "{{ rabbitmq_vhost }}"

pulp_password: "{{ pulp_password }}"

excluded_containers: ""
excluded_containers:
- "test_db"
- "web_server_tests"
- "build_node"

...
5 changes: 4 additions & 1 deletion inventories/separate_sign_node/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ beholder_enabled: false
nvm_version: "v0.39.3"
node_version: "16"

excluded_containers: ""
excluded_containers:
- "test_db"
- "web_server_tests"
- "sign_node"

...
3 changes: 0 additions & 3 deletions playbooks/albs_with_separate_build_node.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
- name: Deploy the ALBS
hosts: albs_vm
vars:
- excluded_containers:
- "build_node"
roles:
- dev_deploy
tags:
Expand Down
3 changes: 0 additions & 3 deletions playbooks/albs_with_separate_sign_node.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
- name: Deploy the ALBS
hosts: albs_vm
vars:
- excluded_containers:
- "sign_node"
roles:
- dev_deploy
tags:
Expand Down
2 changes: 1 addition & 1 deletion roles/dev_deploy/tasks/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
register: output
when:
- docker_compose != "not found"
- not excluded_containers or excluded_containers == ""
- not excluded_containers

- debug:
var: output
Expand Down
Loading