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

Molecule: Add config_pgcluster.yml and update_pgcluster.yml playbooks to tests #478

Merged
merged 5 commits into from
Sep 28, 2023

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Sep 28, 2023

Perform testing of config_pgcluster.yml and update_pgcluster.yml playbooks for all commits/MRs.

Fix (update_pgcluster.yml): Import a variable file vars/main.yml for Play "(1/4) PRE-UPDATE: Perform Pre-Checks"

Fixed:

 TASK [Running Pre-Checks] ******************************************************
  fatal: [10.172.0.20]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'postgresql_port' is undefined. 'postgresql_port' is undefined\n\nThe error appears to be in '/home/runner/work/postgresql_cluster/postgresql_cluster/roles/update/tasks/pre_checks.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: '[Pre-Check] (ALL) Test PostgreSQL DB Access'\n  ^ here\n"}

Issue: #477

@vitabaks vitabaks self-assigned this Sep 28, 2023
@vitabaks vitabaks merged commit ee46387 into master Sep 28, 2023
18 checks passed
@vitabaks vitabaks deleted the config-and-update-tests branch September 28, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant