gitlab-org--gitlab-foss/spec/workers
Fabio Pitino ca6a1f33f9 CE port for pipelines for external pull requests
Detect if pipeline runs for a GitHub pull request

When using a mirror for CI/CD only we register a pull_request
webhook. When a pull_request webhook is received, if the
source branch SHA matches the actual head of the branch in the
repository we create immediately a new pipeline for the
external pull request. Otherwise we store the
pull request info for when the push webhook is received.

When using "only/except: external_pull_requests" we can detect
if the pipeline has a open pull request on GitHub and create or
not the job based on that.
2019-09-05 15:53:48 +01:00
..
auto_devops
ci
clusters/applications
concerns
deployments
gitlab/github_import
hashed_storage
mail_scheduler
namespaces
object_pool
repository_check
todos_destroyer
admin_email_worker_spec.rb
archive_trace_worker_spec.rb
authorized_projects_worker_spec.rb
auto_merge_process_worker_spec.rb
background_migration_worker_spec.rb
build_coverage_worker_spec.rb
build_finished_worker_spec.rb
build_hooks_worker_spec.rb
build_success_worker_spec.rb
build_trace_sections_worker_spec.rb
chat_notification_worker_spec.rb
cleanup_container_repository_worker_spec.rb
cluster_provision_worker_spec.rb
cluster_wait_for_ingress_ip_address_worker_spec.rb
create_gpg_signature_worker_spec.rb
create_note_diff_file_worker_spec.rb
create_pipeline_worker_spec.rb
delete_container_repository_worker_spec.rb
delete_diff_files_worker_spec.rb
delete_merged_branches_worker_spec.rb
delete_user_worker_spec.rb
detect_repository_languages_worker_spec.rb
email_receiver_worker_spec.rb
emails_on_push_worker_spec.rb
every_sidekiq_worker_spec.rb
expire_build_artifacts_worker_spec.rb
expire_build_instance_artifacts_worker_spec.rb
expire_job_cache_worker_spec.rb
expire_pipeline_cache_worker_spec.rb
git_garbage_collect_worker_spec.rb
gitlab_shell_worker_spec.rb
gitlab_usage_ping_worker_spec.rb
group_destroy_worker_spec.rb
import_issues_csv_worker_spec.rb
invalid_gpg_signature_update_worker_spec.rb
issue_due_scheduler_worker_spec.rb
merge_worker_spec.rb
migrate_external_diffs_worker_spec.rb
namespaceless_project_destroy_worker_spec.rb
new_issue_worker_spec.rb
new_merge_request_worker_spec.rb
new_note_worker_spec.rb
pages_domain_removal_cron_worker_spec.rb
pages_domain_ssl_renewal_cron_worker_spec.rb
pages_domain_ssl_renewal_worker_spec.rb
pages_domain_verification_cron_worker_spec.rb
pages_domain_verification_worker_spec.rb
pipeline_hooks_worker_spec.rb
pipeline_metrics_worker_spec.rb
pipeline_notification_worker_spec.rb
pipeline_process_worker_spec.rb
pipeline_schedule_worker_spec.rb
pipeline_update_worker_spec.rb
plugin_worker_spec.rb
post_receive_spec.rb
process_commit_worker_spec.rb
project_cache_worker_spec.rb
project_daily_statistics_worker_spec.rb
project_destroy_worker_spec.rb
project_export_worker_spec.rb
project_service_worker_spec.rb
propagate_service_template_worker_spec.rb
prune_old_events_worker_spec.rb
prune_web_hook_logs_worker_spec.rb
reactive_caching_worker_spec.rb
rebase_worker_spec.rb
remote_mirror_notification_worker_spec.rb
remove_expired_group_links_worker_spec.rb
remove_expired_members_worker_spec.rb
remove_unreferenced_lfs_objects_worker_spec.rb
repository_cleanup_worker_spec.rb
repository_fork_worker_spec.rb
repository_import_worker_spec.rb
repository_remove_remote_worker_spec.rb
repository_update_remote_mirror_worker_spec.rb
run_pipeline_schedule_worker_spec.rb
schedule_migrate_external_diffs_worker_spec.rb
stage_update_worker_spec.rb
stuck_ci_jobs_worker_spec.rb
stuck_import_jobs_worker_spec.rb
stuck_merge_jobs_worker_spec.rb
system_hook_push_worker_spec.rb
trending_projects_worker_spec.rb
update_external_pull_requests_worker_spec.rb
update_head_pipeline_for_merge_request_worker_spec.rb
update_merge_requests_worker_spec.rb
update_project_statistics_worker_spec.rb
upload_checksum_worker_spec.rb
wait_for_cluster_creation_worker_spec.rb