Closed clemensutschig closed 4 years ago
one thought is on stage finalize
- here we are NOT doing any functional component calls - so we could run all repos in parallel, rather than the groups .. this would save us ~10 secs per repo
I gave this some more thought.. - what if we check all repos.. and in case all are resurrected we skip tests as well? And run fully parallel?
More thoughts..
Today the MRO still produces quite some overhead (even with
allowPartialRebuild
turned on).8 repos(3 parallel groups), one integration test - 11mins (with the pr below)
one part is opendevstack/ods-quickstarters#294 see also #339
High level trace below:
2020-05-19 15:46:53Z OpenShift project 'cd' exists
Main pod starttime: 699ms !---------------------------------------------------------------------------------------------- STARTING orchestration stage Init (71 secs)
[10] > [Pipeline] sh
2020-05-19 15:47:03Z Release Manager Build Parameters
[6] > ?
2020-05-19 15:47:09Z Run Project#load
[32] > ?
2020-05-19 15:47:41Z Checkout repositories into the workspace
[9] > repo clones
2020-05-19 15:47:56Z Load configs from each repo's release-manager.yml
[5] > Docs
2020-05-19 15:48:02Z Document CSD-5 uploaded
ENDED orchestration stage Init (time: 71399ms) !---------------------------------------------------------------------------------------------- STARTING orchestration stage Build (33 secs)
[30] > Docs
2020-05-19 15:50:01Z Document TCP uploaded
[205] ODS Pipeline Build pod 'pod-56fd3bdb-4fa1-425e-9784-f1b55594ba09' start time:55607ms
2020-05-19 15:53:49Z Collecting JUnit XML Reports for demo-app-test
[50] > JIRA updates (iv tests)
2020-05-19 15:54:40Z Repo 'demo-app-orders' is of type ODS Code Component. Nothing to do in phase 'Test' for target environment 'D'.
[30] > Docs - project docs
2020-05-19 15:55:11Z Creating document of type 'SSDS' for project
[14] > Docs - resurrect SCRR
2020-05-19 15:55:24Z Document SSDS-5 uploaded
[37] > Docs
2020-05-19 15:55:41Z Document TRC uploaded ENDED orchestration stage Test (time: 372493ms) !---------------------------------------------------------------------------------------------- STARTING orchestration stage Release (4 secs)
[] > Docs
ENDED orchestration stage Release (time: 3427ms) !---------------------------------------------------------------------------------------------- STARTING orchestration stage Finalize (227 secs) 2020-05-19 15:55:48Z OpenShift project 'pltfmdev-dev' exists
[60] stash/unstash
[113] Orchestration pipeline pod 'mro-jenkins-agent-13' starttime: 113112ms
2020-05-19 15:58:35Z Repo 'demo-app-test' is of type ODS Test Component. Nothing to do in phase 'Finalize' for target environment'D'.
[46] > OC export // git tag ...
2020-05-19 15:59:21Z Creating document of type 'OVERALL_TIR' for project 'pltfmdev' in phase 'Finalize' and stage 'PRE_END'
[7] > Docs
2020-05-19 15:59:28Z Document Overall-TIR-Cover
ENDED orchestration stage Finalize (time: 227576ms) !----------------------------------------------------------------------------------------------