Introduce Usage ping for artifacts:reports:junit
Count on pipeline/user scope, apply counter after commit, skip counter if no junit presented Generate metric definition for junit report artifacts Define event as option on metric definition Update sidekiq worker definitions for Ci::TrackFailedBuildWorker Use unified has_report? method on pipeline Move clean_gitlab_redis_shared_state to the root level of spec Test track_event calls Make sure if the worker is being called after pipeline completion Add rspec for multiple pipelines Test complex scenario, when pipeline retried from failed fo success
显示
- app/models/ci/pipeline.rb 6 个添加, 0 个删除app/models/ci/pipeline.rb
- app/services/ci/job_artifacts/track_artifact_report_service.rb 24 个添加, 0 个删除...ervices/ci/job_artifacts/track_artifact_report_service.rb
- app/workers/all_queues.yml 9 个添加, 0 个删除app/workers/all_queues.yml
- app/workers/ci/job_artifacts/track_artifact_report_worker.rb 23 个添加, 0 个删除app/workers/ci/job_artifacts/track_artifact_report_worker.rb
- config/feature_flags/development/usage_data_ci_i_testing_test_report_uploaded.yml 8 个添加, 0 个删除...elopment/usage_data_ci_i_testing_test_report_uploaded.yml
- config/metrics/counts_28d/20220825142533_i_testing_test_report_uploaded_monthly.yml 26 个添加, 0 个删除...20220825142533_i_testing_test_report_uploaded_monthly.yml
- config/metrics/counts_7d/20220825142528_i_testing_test_report_uploaded_weekly.yml 26 个添加, 0 个删除.../20220825142528_i_testing_test_report_uploaded_weekly.yml
- lib/gitlab/usage_data_counters/known_events/common.yml 5 个添加, 0 个删除lib/gitlab/usage_data_counters/known_events/common.yml
- spec/models/ci/pipeline_spec.rb 36 个添加, 0 个删除spec/models/ci/pipeline_spec.rb
- spec/services/ci/job_artifacts/track_artifact_report_service_spec.rb 84 个添加, 0 个删除...es/ci/job_artifacts/track_artifact_report_service_spec.rb
- spec/workers/ci/job_artifacts/track_artifact_report_worker_spec.rb 60 个添加, 0 个删除...ers/ci/job_artifacts/track_artifact_report_worker_spec.rb
加载中
想要评论请 注册 或 登录