Module: Ci

Defined in:
app/helpers/ci/status_helper.rb,
app/models/ci/ref.rb,
app/models/ci/build.rb,
app/models/ci/group.rb,
app/models/ci/stage.rb,
app/models/ci/bridge.rb,
app/models/ci/runner.rb,
app/models/ci/trigger.rb,
app/models/ci/pipeline.rb,
app/models/ci/resource.rb,
app/models/ci/variable.rb,
app/models/ci/unit_test.rb,
app/models/ci/build_need.rb,
app/models/ci/build_trace.rb,
app/models/ci/processable.rb,
app/models/ci/secure_file.rb,
app/finders/ci/jobs_finder.rb,
app/helpers/ci/jobs_helper.rb,
app/models/ci/job_artifact.rb,
app/models/ci/job_variable.rb,
app/models/ci/legacy_stage.rb,
app/models/ci/artifact_blob.rb,
app/models/ci/freeze_period.rb,
app/models/ci/pending_build.rb,
app/models/ci/running_build.rb,
app/helpers/ci/builds_helper.rb,
app/models/ci/build_metadata.rb,
app/models/ci/deleted_object.rb,
app/models/ci/group_variable.rb,
app/models/ci/persistent_ref.rb,
app/models/ci/project_mirror.rb,
app/models/ci/resource_group.rb,
app/models/ci/runner_project.rb,
app/policies/ci/build_policy.rb,
app/policies/ci/stage_policy.rb,
app/finders/ci/runners_finder.rb,
app/helpers/ci/runners_helper.rb,
app/models/ci/job_token/scope.rb,
app/models/ci/pipeline_config.rb,
app/models/ci/trigger_request.rb,
app/policies/ci/bridge_policy.rb,
app/policies/ci/runner_policy.rb,
app/serializers/ci/job_entity.rb,
app/finders/ci/auth_job_finder.rb,
app/models/ci/namespace_mirror.rb,
app/models/ci/pipeline_message.rb,
app/models/ci/runner_namespace.rb,
app/models/ci/sources/pipeline.rb,
app/models/concerns/ci/has_ref.rb,
app/policies/ci/trigger_policy.rb,
app/finders/ci/pipelines_finder.rb,
app/finders/ci/variables_finder.rb,
app/helpers/ci/pipelines_helper.rb,
app/helpers/ci/variables_helper.rb,
app/models/ci/build_trace_chunk.rb,
app/models/ci/instance_variable.rb,
app/models/ci/pipeline_artifact.rb,
app/models/ci/pipeline_schedule.rb,
app/models/ci/pipeline_variable.rb,
app/models/ci/unit_test_failure.rb,
app/models/concerns/ci/maskable.rb,
app/policies/ci/pipeline_policy.rb,
app/models/ci/application_record.rb,
app/models/ci/build_dependencies.rb,
app/models/ci/pipeline_chat_data.rb,
app/finders/ci/runner_jobs_finder.rb,
app/models/ci/build_report_result.rb,
app/models/concerns/ci/has_status.rb,
app/presenters/ci/build_presenter.rb,
app/presenters/ci/stage_presenter.rb,
app/serializers/ci/dag_job_entity.rb,
app/serializers/ci/job_serializer.rb,
app/serializers/ci/trigger_entity.rb,
app/services/ci/retry_job_service.rb,
app/models/ci/build_runner_session.rb,
app/models/ci/build_trace_metadata.rb,
app/models/ci/freeze_period_status.rb,
app/models/concerns/ci/contextable.rb,
app/models/concerns/ci/metadatable.rb,
app/presenters/ci/bridge_presenter.rb,
app/presenters/ci/runner_presenter.rb,
app/serializers/ci/variable_entity.rb,
app/services/ci/play_build_service.rb,
app/finders/ci/job_artifacts_finder.rb,
app/models/concerns/ci/artifactable.rb,
app/models/concerns/ci/has_variable.rb,
app/presenters/ci/trigger_presenter.rb,
app/serializers/ci/dag_stage_entity.rb,
app/services/ci/play_bridge_service.rb,
app/workers/ci/archive_trace_worker.rb,
app/workers/ci/build_prepare_worker.rb,
app/workers/ci/drop_pipeline_worker.rb,
app/events/ci/pipeline_created_event.rb,
app/models/ci/build_trace_chunks/fog.rb,
app/policies/ci/freeze_period_policy.rb,
app/presenters/ci/pipeline_presenter.rb,
app/presenters/ci/variable_presenter.rb,
app/services/ci/build_cancel_service.rb,
app/services/ci/ensure_stage_service.rb,
app/services/ci/register_job_service.rb,
app/workers/ci/build_finished_worker.rb,
app/workers/ci/build_schedule_worker.rb,
app/workers/ci/delete_objects_worker.rb,
app/workers/ci/retry_pipeline_worker.rb,
app/finders/ci/commit_statuses_finder.rb,
app/helpers/ci/pipeline_editor_helper.rb,
app/policies/ci/resource_group_policy.rb,
app/serializers/ci/trigger_serializer.rb,
app/services/ci/archive_trace_service.rb,
app/services/ci/drop_pipeline_service.rb,
app/services/ci/prepare_build_service.rb,
app/services/ci/process_build_service.rb,
app/uploaders/ci/secure_file_uploader.rb,
app/models/ci/build_trace_chunks/redis.rb,
app/serializers/ci/dag_pipeline_entity.rb,
app/serializers/ci/variable_serializer.rb,
app/services/ci/delete_objects_service.rb,
app/services/ci/pipelines/hook_service.rb,
app/services/ci/retry_pipeline_service.rb,
app/models/concerns/ci/new_has_variable.rb,
app/presenters/ci/processable_presenter.rb,
app/serializers/ci/dag_job_group_entity.rb,
app/services/ci/abort_pipelines_service.rb,
app/services/ci/change_variable_service.rb,
app/services/ci/create_pipeline_service.rb,
app/workers/ci/delete_unit_tests_worker.rb,
app/finders/ci/pipeline_schedules_finder.rb,
app/models/ci/pipeline_schedule_variable.rb,
app/policies/ci/pipeline_schedule_policy.rb,
app/policies/ci/project_pipelines_policy.rb,
app/presenters/ci/build_runner_presenter.rb,
app/presenters/ci/legacy_stage_presenter.rb,
app/serializers/ci/basic_variable_entity.rb,
app/serializers/ci/group_variable_entity.rb,
app/services/ci/build_unschedule_service.rb,
app/services/ci/change_variables_service.rb,
app/services/ci/destroy_pipeline_service.rb,
app/services/ci/pipeline_trigger_service.rb,
app/services/ci/process_pipeline_service.rb,
app/services/ci/unlock_artifacts_service.rb,
app/events/ci/job_artifacts_deleted_event.rb,
app/models/ci/build_trace_chunks/database.rb,
app/services/ci/after_requeue_job_service.rb,
app/services/ci/delete_unit_tests_service.rb,
app/services/ci/pipeline_schedule_service.rb,
app/services/ci/pipelines/add_job_service.rb,
app/services/ci/play_manual_stage_service.rb,
app/services/ci/queue/build_queue_service.rb,
app/services/ci/stuck_builds/drop_helpers.rb,
app/workers/ci/archive_traces_cron_worker.rb,
app/models/ci/job_token/project_scope_link.rb,
app/models/concerns/ci/has_deployment_name.rb,
app/presenters/ci/build_metadata_presenter.rb,
app/presenters/ci/group_variable_presenter.rb,
app/serializers/ci/dag_pipeline_serializer.rb,
app/services/ci/append_build_trace_service.rb,
app/services/ci/update_build_queue_service.rb,
app/services/ci/update_build_state_service.rb,
app/workers/ci/test_failure_history_worker.rb,
app/models/ci/build_trace_chunks/redis_base.rb,
app/services/ci/build_report_result_service.rb,
app/services/ci/destroy_secure_file_service.rb,
app/services/ci/generate_kubeconfig_service.rb,
app/services/ci/process_sync_events_service.rb,
app/services/ci/queue/builds_table_strategy.rb,
app/services/ci/run_scheduled_build_service.rb,
app/uploaders/ci/pipeline_artifact_uploader.rb,
app/models/concerns/ci/namespaced_model_name.rb,
app/serializers/ci/group_variable_serializer.rb,
app/services/ci/compare_reports_base_service.rb,
app/services/ci/compare_test_reports_service.rb,
app/services/ci/job_artifacts/create_service.rb,
app/services/ci/test_failure_history_service.rb,
app/services/ci/update_pending_build_service.rb,
app/workers/ci/pipeline_bridge_status_worker.rb,
app/models/ci/daily_build_group_report_result.rb,
app/serializers/ci/codequality_mr_diff_entity.rb,
app/services/ci/expire_pipeline_cache_service.rb,
app/services/ci/list_config_variables_service.rb,
app/services/ci/parse_dotenv_artifact_service.rb,
app/services/ci/queue/pending_builds_strategy.rb,
app/services/ci/runners/assign_runner_service.rb,
app/services/ci/runners/update_runner_service.rb,
app/workers/ci/build_trace_chunk_flush_worker.rb,
app/services/ci/find_exposed_artifacts_service.rb,
app/services/ci/pipeline_bridge_status_service.rb,
app/workers/ci/initial_pipeline_process_worker.rb,
app/serializers/ci/downloadable_artifact_entity.rb,
app/serializers/ci/instance_variable_serializer.rb,
app/services/ci/create_web_ide_terminal_service.rb,
app/services/ci/runners/register_runner_service.rb,
app/services/ci/runners/unassign_runner_service.rb,
app/workers/ci/stuck_builds/drop_running_worker.rb,
app/services/ci/create_pipeline_schedule_service.rb,
app/workers/ci/create_downstream_pipeline_worker.rb,
app/finders/ci/pipelines_for_merge_request_finder.rb,
app/services/ci/generate_coverage_reports_service.rb,
app/services/ci/runners/unregister_runner_service.rb,
app/services/ci/stuck_builds/drop_pending_service.rb,
app/services/ci/stuck_builds/drop_running_service.rb,
app/services/ci/update_instance_variables_service.rb,
app/workers/ci/pending_builds/update_group_worker.rb,
app/workers/ci/ref_delete_unlock_artifacts_worker.rb,
app/workers/ci/stuck_builds/drop_scheduled_worker.rb,
app/services/ci/create_downstream_pipeline_service.rb,
app/services/ci/generate_terraform_reports_service.rb,
app/workers/ci/schedule_delete_objects_cron_worker.rb,
app/models/ci/build_trace_chunks/redis_trace_chunks.rb,
app/serializers/ci/downloadable_artifact_serializer.rb,
app/services/ci/compare_codequality_reports_service.rb,
app/services/ci/job_artifacts/destroy_batch_service.rb,
app/services/ci/job_token_scope/add_project_service.rb,
app/services/ci/stuck_builds/drop_scheduled_service.rb,
app/workers/ci/create_cross_project_pipeline_worker.rb,
app/workers/ci/pending_builds/update_project_worker.rb,
app/services/concerns/ci/downstream_pipeline_helpers.rb,
app/services/ci/compare_accessibility_reports_service.rb,
app/workers/ci/update_locked_unknown_artifacts_worker.rb,
app/finders/ci/daily_build_group_report_results_finder.rb,
app/services/ci/job_token_scope/remove_project_service.rb,
app/workers/ci/daily_build_group_report_results_worker.rb,
app/services/ci/daily_build_group_report_result_service.rb,
app/services/ci/disable_user_pipeline_schedules_service.rb,
app/workers/ci/pipeline_success_unlock_artifacts_worker.rb,
app/serializers/ci/codequality_mr_diff_report_serializer.rb,
app/services/ci/copy_cross_database_associations_service.rb,
app/services/ci/pipeline_creation/start_pipeline_service.rb,
app/services/ci/runners/reset_registration_token_service.rb,
app/workers/ci/pipeline_artifacts/coverage_report_worker.rb,
app/serializers/ci/daily_build_group_report_result_entity.rb,
app/services/ci/generate_exposed_artifacts_report_service.rb,
app/services/ci/job_artifacts/destroy_all_expired_service.rb,
app/workers/ci/pipeline_artifacts/expire_artifacts_worker.rb,
app/services/ci/job_artifacts/destroy_associations_service.rb,
app/services/ci/pipeline_artifacts/coverage_report_service.rb,
app/services/ci/generate_codequality_mr_diff_report_service.rb,
app/presenters/ci/pipeline_artifacts/code_coverage_presenter.rb,
app/workers/ci/external_pull_requests/create_pipeline_worker.rb,
app/serializers/ci/daily_build_group_report_result_serializer.rb,
app/services/ci/pipeline_processing/atomic_processing_service.rb,
app/services/ci/pipeline_schedules/calculate_next_run_service.rb,
app/services/ci/prometheus_metrics/observe_histograms_service.rb,
app/services/ci/external_pull_requests/create_pipeline_service.rb,
app/services/ci/job_artifacts/delete_project_artifacts_service.rb,
app/services/ci/pipeline_artifacts/destroy_all_expired_service.rb,
app/workers/ci/merge_requests/add_todo_when_build_fails_worker.rb,
app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb,
app/services/concerns/ci/job_token_scope/edit_scope_validations.rb,
app/services/ci/job_artifacts/update_unknown_locked_status_service.rb,
app/workers/ci/job_artifacts/expire_project_build_artifacts_worker.rb,
app/presenters/ci/pipeline_artifacts/code_quality_mr_diff_presenter.rb,
app/services/ci/job_artifacts/expire_project_build_artifacts_service.rb,
app/workers/ci/resource_groups/assign_resource_from_resource_group_worker.rb,
app/services/ci/resource_groups/assign_resource_from_resource_group_service.rb,
app/services/ci/pipeline_artifacts/create_code_quality_mr_diff_report_service.rb,
app/services/ci/pipeline_processing/atomic_processing_service/status_collection.rb

Overview

This service is responsible for creating a pipeline for a given ExternalPullRequest coming from other providers such as GitHub.

Defined Under Namespace

Modules: Artifactable, BuildTraceChunks, BuildsHelper, Contextable, DownstreamPipelineHelpers, ExternalPullRequests, HasDeploymentName, HasRef, HasStatus, HasVariable, JobArtifacts, JobToken, JobTokenScope, JobsHelper, Maskable, MergeRequests, Metadatable, NamespacedModelName, NewHasVariable, PendingBuilds, PipelineArtifacts, PipelineCreation, PipelineEditorHelper, PipelineProcessing, PipelineSchedules, Pipelines, PipelinesHelper, PrometheusMetrics, Queue, ResourceGroups, Runners, RunnersHelper, Sources, StatusHelper, StuckBuilds, TriggersHelper, VariablesHelper Classes: AbortPipelinesService, AfterRequeueJobService, AppendBuildTraceService, ApplicationRecord, ArchiveTraceService, ArchiveTraceWorker, ArchiveTracesCronWorker, ArtifactBlob, AuthJobFinder, BasicVariableEntity, Bridge, BridgePolicy, BridgePresenter, Build, BuildCancelService, BuildDependencies, BuildFinishedWorker, BuildMetadata, BuildMetadataPresenter, BuildNeed, BuildPendingState, BuildPolicy, BuildPrepareWorker, BuildPresenter, BuildReportResult, BuildReportResultService, BuildRunnerPresenter, BuildRunnerSession, BuildScheduleWorker, BuildTrace, BuildTraceChunk, BuildTraceChunkFlushWorker, BuildTraceMetadata, BuildUnscheduleService, ChangeVariableService, ChangeVariablesService, CodequalityMrDiffEntity, CodequalityMrDiffReportSerializer, CommitStatusesFinder, CommitWithPipeline, CompareAccessibilityReportsService, CompareCodequalityReportsService, CompareReportsBaseService, CompareTestReportsService, CopyCrossDatabaseAssociationsService, CreateCrossProjectPipelineWorker, CreateDownstreamPipelineService, CreateDownstreamPipelineWorker, CreatePipelineScheduleService, CreatePipelineService, CreateWebIdeTerminalService, DagJobEntity, DagJobGroupEntity, DagPipelineEntity, DagPipelineSerializer, DagStageEntity, DailyBuildGroupReportResult, DailyBuildGroupReportResultEntity, DailyBuildGroupReportResultSerializer, DailyBuildGroupReportResultService, DailyBuildGroupReportResultsFinder, DailyBuildGroupReportResultsWorker, DeleteObjectsService, DeleteObjectsWorker, DeleteUnitTestsService, DeleteUnitTestsWorker, DeletedObject, DestroyPipelineService, DestroySecureFileService, DisableUserPipelineSchedulesService, DownloadableArtifactEntity, DownloadableArtifactSerializer, DropPipelineService, DropPipelineWorker, EnsureStageService, ExpirePipelineCacheService, FindExposedArtifactsService, FreezePeriod, FreezePeriodPolicy, FreezePeriodStatus, GenerateCodequalityMrDiffReportService, GenerateCoverageReportsService, GenerateExposedArtifactsReportService, GenerateKubeconfigService, GenerateTerraformReportsService, Group, GroupVariable, GroupVariableEntity, GroupVariablePresenter, GroupVariableSerializer, InitialPipelineProcessWorker, InstanceVariable, InstanceVariableSerializer, JobArtifact, JobArtifactsDeletedEvent, JobArtifactsFinder, JobEntity, JobSerializer, JobVariable, JobsFinder, LegacyStage, LegacyStagePresenter, ListConfigVariablesService, NamespaceMirror, ParseDotenvArtifactService, PendingBuild, PersistentRef, Pipeline, PipelineArtifact, PipelineArtifactUploader, PipelineBridgeStatusService, PipelineBridgeStatusWorker, PipelineChatData, PipelineConfig, PipelineCreatedEvent, PipelineEntity, PipelineMessage, PipelinePolicy, PipelinePresenter, PipelineSchedule, PipelineSchedulePolicy, PipelineScheduleService, PipelineScheduleVariable, PipelineSchedulesFinder, PipelineSuccessUnlockArtifactsWorker, PipelineTriggerService, PipelineVariable, PipelinesFinder, PipelinesForMergeRequestFinder, PlayBridgeService, PlayBuildService, PlayManualStageService, PrepareBuildService, ProcessBuildService, ProcessPipelineService, ProcessSyncEventsService, Processable, ProcessablePresenter, ProjectMirror, ProjectPipelinesPolicy, Ref, RefDeleteUnlockArtifactsWorker, RegisterJobService, Resource, ResourceGroup, ResourceGroupPolicy, RetryJobService, RetryPipelineService, RetryPipelineWorker, RunScheduledBuildService, Runner, RunnerJobsFinder, RunnerNamespace, RunnerPolicy, RunnerPresenter, RunnerProject, RunnersFinder, RunningBuild, ScheduleDeleteObjectsCronWorker, SecureFile, SecureFileUploader, Stage, StagePolicy, StagePresenter, TestFailureHistoryService, TestFailureHistoryWorker, Trigger, TriggerEntity, TriggerPolicy, TriggerPresenter, TriggerRequest, TriggerSerializer, UnitTest, UnitTestFailure, UnlockArtifactsService, UpdateBuildQueueService, UpdateBuildStateService, UpdateInstanceVariablesService, UpdateLockedUnknownArtifactsWorker, UpdatePendingBuildService, Variable, VariableEntity, VariablePresenter, VariableSerializer, VariablesFinder