Skip to content

Commit

Permalink
Set PostgreSQL as optional
Browse files Browse the repository at this point in the history
It was needed by Cachet which passed as optional.

Signed-off-by: Cédric Ollivier <[email protected]>
  • Loading branch information
collivier committed Jul 3, 2023
1 parent 2633ecf commit 95535a2
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ testapi_base_url: http://{{ external_ipaddress }}:{{ testapi_port }}
testapi_wait: 30

# postgres
postgres_deploy: true
postgres_deploy: false
postgres_port: 5432
postgres_host: '{{ ipaddress }}'
postgres_username: postgres
Expand Down
1 change: 1 addition & 0 deletions tests/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- hosts: 127.0.0.1
roles:
- role: collivier.xtesting
postgres_deploy: true
cachet_deploy: true
gitlab_deploy: true
influxdb_deploy: true
Expand Down
3 changes: 0 additions & 3 deletions tests/gitlab_kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
radosgw_deploy: false
mongo_deploy: false
testapi_deploy: false
registry_deploy: false
postgres_deploy: false
cachet_deploy: false
project: functest-kubernetes
- hosts: 127.0.0.1
tasks:
Expand Down
2 changes: 2 additions & 0 deletions tests/k8s_gitlab_kind2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
use_node: true
gitlab_privaterunner_deploy: true
gitlab_privaterunner_network_mode: host
postgres_deploy: true
cachet_deploy: true
use_artifacts: true
project: functest-kubernetes
db_project: functest
Expand Down
4 changes: 0 additions & 4 deletions tests/k8s_gitlab_kind3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
gitlab_deploy: true
gitlab_create_jobs: false
minio_deploy: false
radosgw_deploy: false
mongo_deploy: false
testapi_deploy: false
registry_deploy: false
postgres_deploy: false
cachet_deploy: false
project: functest-kubernetes
- hosts: 127.0.0.1
tasks:
Expand Down
1 change: 1 addition & 0 deletions tests/kubernetes0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
roles:
- role: collivier.xtesting
kubernetes_deploy: true
postgres_deploy: true
cachet_deploy: true
jenkins_agent_deploy: true
influxdb_deploy: true
Expand Down
1 change: 1 addition & 0 deletions tests/kubernetes1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- role: collivier.xtesting
use_kubernetes: true
use_node: true
postgres_deploy: true
cachet_deploy: true
jenkins_agent_deploy: true
influxdb_deploy: true
Expand Down
3 changes: 0 additions & 3 deletions tests/pi0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
minio_deploy: false
mongo_deploy: false
testapi_deploy: false
postgres_deploy: false
cachet_deploy: false
registry_deploy: false
jenkins_agent_deploy: true
jenkins_agent_name: pi
jenkins_url: "http://{{ hostvars[inventory_hostname][
Expand Down
3 changes: 0 additions & 3 deletions tests/pi1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
minio_deploy: false
mongo_deploy: false
testapi_deploy: false
postgres_deploy: false
cachet_deploy: false
registry_deploy: false
jenkins_agent_deploy: true
jenkins_agent_name: pi
jenkins_url: "http://{{ hostvars[inventory_hostname][
Expand Down
2 changes: 0 additions & 2 deletions tests/pi2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
minio_deploy: false
mongo_deploy: false
testapi_deploy: false
postgres_deploy: false
cachet_deploy: false
registry_deploy: false
jenkins_agent_deploy: true
jenkins_agent_name: pi
Expand Down
1 change: 1 addition & 0 deletions tests/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
roles:
- role: collivier.xtesting
use_podman: true
postgres_deploy: true
cachet_deploy: true
# gitlab_deploy: true
influxdb_deploy: true
Expand Down
1 change: 1 addition & 0 deletions tests/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
roles:
- role: collivier.xtesting
cachet_deploy: true
postgres_deploy: true
gitlab_deploy: true
influxdb_deploy: true
grafana_deploy: true
Expand Down
1 change: 1 addition & 0 deletions tests/proxy_kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
roles:
- role: collivier.xtesting
kubernetes_deploy: true
postgres_deploy: true
cachet_deploy: true
jenkins_agent_deploy: true
influxdb_deploy: true
Expand Down
6 changes: 5 additions & 1 deletion tests/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
minio_configure: false
testapi_configure: false
cachet_configure: false
cachet_deploy: true
postgres_deploy: true
cachet_configure: false
postgres_configure: false
docker_tags: []
suites: []
- role: collivier.xtesting
Expand Down Expand Up @@ -35,5 +39,5 @@
testapi_deploy: false
testapi_configure: true
cachet_url: "http://{{ ansible_default_ipv4.address }}:{{ cachet_port }}/api/v1"
cachet_deploy: false
cachet_configure: true
postgres_configure: true
2 changes: 2 additions & 0 deletions tests/twice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- hosts: 127.0.0.1
roles:
- role: collivier.xtesting
postgres_deploy: true
cachet_deploy: true
- role: collivier.xtesting
jenkins_deploy: false
Expand All @@ -13,5 +14,6 @@
testapi_configure: true
registry_deploy: false
postgres_deploy: false
postgres_configure: true
cachet_deploy: false
cachet_configure: true

0 comments on commit 95535a2

Please sign in to comment.