Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
OP#73491
Added a workflow to trigger an integration-qa-helmfile repo to build a pullpreview and run test on the pullpreview environment.
Current logic
Trigger: Manually run openproject-e2e workflow .github/workflows/e2e-pullpreview.yml via workflow_dispatch.
Inputs let you choose suite (all|smoke|regression|integration|custom), setupMethod, whether to keep env on failure, plus optional version/branch overrides.
integration_ref selects which branch in integration-qa-helmfile to run the deploy workflow from (default main).
Deploy: The workflow uses the secret INTEGRATION_REPO_PAT as GH_TOKEN to call GitHub API and dispatch integration-qa-helmfile workflow pullpreview-dispatch.yml with:
action=up
preview_name (auto-generated if not provided)
integrationSetupMethod + version/branch overrides.
Wait + resolve endpoints:
Polls runs of that workflow (on the chosen integration_ref) until it finds the run whose title contains the preview_name and completes successfully.
Downloads the pullpreview-info artifact from that run (with retry because artifacts can appear late).
Reads preview-info.json and exports:
OPENPROJECT_HOST=
NEXTCLOUD_HOST=nextcloud.
KEYCLOAK_HOST=keycloak.
Writes the endpoints into the GitHub job summary for easy clicking.
Run tests:
Runs npx playwright test (full suite) or adds --grep based on suite mapping:
smoke → @smoke
regression → @regression
integration → @integration
custom → custom_grep