test: performance workflow improvements DHIS2-20175#22123
Merged
Conversation
which must be passed as multiple args not a single one thus no double quoting
enricocolasante
approved these changes
Oct 2, 2025
muilpp
approved these changes
Oct 2, 2025
|
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.



Set-Cookieheaders automatically in the response to login.perf_tests_git_refprof_argsdocker compose --waitimage: localhost/...for the DB image. The DB image is purely a local imageDockerfile.postgreswhich for now is just caching the DB dumpdhis2/core-dev:master,dhis2/core-dev:latest,dhis2/core-pr:<pr number>so they are up to date. This is necessary as our self-hosted runner is not ephemeral so images are cachedDHIS2_BUILD_REVISIONto the job summary. This is especially important for all the mutable imagesSample run
Tested these changes with
gh workflow run run-performance-tests.yml \ --field perf_tests_git_ref="DHIS2-20175" \ --field simulation_class="org.hisp.dhis.test.tracker.TrackerTest" \ --field prof_args="-e cpu" \ --field dhis2_image_baseline="dhis2/core:2.42.2" \ --field dhis2_image_candidate="dhis2/core-dev:master" \ --field dhis2_db_dump_url="https://databases.dhis2.org/sierra-leone/2.42.2/dhis2-db-sierra-leone.sql.gz" \ --field dhis2_db_image_suffix="sierra-leone-2.42.2" \ --ref DHIS2-20175results are in https://github.com/dhis2/dhis2-core/actions/runs/18185378283
Gatling references on auth