Skip to content

PMM-14185-gssapi-matrix #808

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

Draft
wants to merge 11 commits into
base: v3
Choose a base branch
from
Draft

PMM-14185-gssapi-matrix #808

wants to merge 11 commits into from

Conversation

yurkovychv
Copy link
Contributor

No description provided.

@yurkovychv yurkovychv requested a review from Copilot July 17, 2025 17:06
Copilot

This comment was marked as outdated.

@yurkovychv yurkovychv requested a review from Copilot July 17, 2025 17:10
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a comprehensive GitHub Actions workflow for running PSMDB (Percona Server for MongoDB) GSSAPI E2E tests in a matrix configuration. The workflow is designed to test various PSMDB scenarios across different Oracle Linux versions with support for both manual and scheduled execution.

Key changes:

  • New matrix-based testing workflow supporting multiple Oracle Linux versions (8, 9)
  • Comprehensive test coverage including SSL, backup management, exporter, replica, arbiter, instances, and Nomad tests
  • CLI testing matrix for different PSMDB versions (6.0, 7.0, 8.0) with various setup types
Comments suppressed due to low confidence (1)

.github/workflows/psmdb-gssapi-tests-matrix.yml:1

  • The workflow name mentions 'GSSAPI' but the actual test configurations don't appear to include GSSAPI-specific setup or tests. Consider renaming to 'PSMDB E2E Tests Matrix' or ensure GSSAPI tests are included.
name: "PSMDB GSSAPI E2E Tests Matrix"

Comment on lines 69 to 93
- test_name: 'PSMDB SSL tests'
setup_services: '--database ssl_psmdb'
tags_for_tests: '@ssl-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Backup Management tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@bm-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Exporter tests'
setup_services: '--database psmdb'
tags_for_tests: '@PSMDB-exporter'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Replica tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@pmm-psmdb-replica-integration'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Arbiter tests'
setup_services: '--database psmdb,SETUP_TYPE=psa'
tags_for_tests: '@pmm-psmdb-arbiter-integration'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Instances tests'
setup_services: '--database psmdb'
tags_for_tests: '@fb-instances'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Nomad tests'
Copy link
Preview

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The matrix include section defines test configurations that are applied to all ol_version values, but some configurations like SSL tests might not be relevant for all OS versions. Consider if certain test combinations should be excluded or if the matrix structure needs refinement.

Suggested change
- test_name: 'PSMDB SSL tests'
setup_services: '--database ssl_psmdb'
tags_for_tests: '@ssl-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Backup Management tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@bm-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Exporter tests'
setup_services: '--database psmdb'
tags_for_tests: '@PSMDB-exporter'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Replica tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@pmm-psmdb-replica-integration'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Arbiter tests'
setup_services: '--database psmdb,SETUP_TYPE=psa'
tags_for_tests: '@pmm-psmdb-arbiter-integration'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Instances tests'
setup_services: '--database psmdb'
tags_for_tests: '@fb-instances'
pmm_server_compose_file: 'docker-compose.yml'
- test_name: 'PSMDB Nomad tests'
- ol_version: 9
test_name: 'PSMDB SSL tests'
setup_services: '--database ssl_psmdb'
tags_for_tests: '@ssl-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Backup Management tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@bm-mongo'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Exporter tests'
setup_services: '--database psmdb'
tags_for_tests: '@PSMDB-exporter'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Replica tests'
setup_services: '--database psmdb,SETUP_TYPE=pss'
tags_for_tests: '@pmm-psmdb-replica-integration'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Arbiter tests'
setup_services: '--database psmdb,SETUP_TYPE=psa'
tags_for_tests: '@pmm-psmdb-arbiter-integration'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Instances tests'
setup_services: '--database psmdb'
tags_for_tests: '@fb-instances'
pmm_server_compose_file: 'docker-compose.yml'
- ol_version: [8, 9]
test_name: 'PSMDB Nomad tests'

Copilot uses AI. Check for mistakes.

pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:3-dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
Copy link
Preview

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space before 'null' in the expression. Should be: github.event.pull_request.head.sha || 'null'

Copilot uses AI. Check for mistakes.

setup_services: '--database psmdb=8.0,SETUP_TYPE=pss'
cli_test: 'pmm-ui-tests/cli/tests/PSMDB-psmdb.spec.ts'
with:
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
Copy link
Preview

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space before 'null' in the expression. Should be: github.event.pull_request.head.sha || 'null'

Copilot uses AI. Check for mistakes.

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