Skip to content

Passing job:rules downstream and E2E specs for job:rules configuration

drew stachon requested to merge drew/gitlab-ce:job-rules-e2e into master

What does this MR do?

This MR adds several end-to-end tests for CI job configuration using rules:. It wasn't working correctly as merged and deployed, so I wrote a bunch of specs as diagnostic tools and used that to fix the problem. It now works, and we have several examples where we assert the behavior of pipeline creation given configuration as literal YAML. It serves as both a thorough test and reference material.

Related to: https://gitlab.com/gitlab-org/gitlab-ce/issues/60085 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32452

Conformity

Performance and Testing

Several new end-to-end tests have been added to create_pipeline_service_spec.rb

Edited by drew stachon

Merge request reports