gitlab-org--gitlab-foss/app/models/ci
Steve Azzopardi 1b388c798b
Add trigger information for job API
Create new entity called TriggerVariablesEnitity for trigger variables,
to aid reuseablity in the future.

Update JSON schema to include trigger information in the response.

Refactor rspec tests a bit to reduce duplication and for the `context`
to make sense.

closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50989
2018-09-12 11:00:39 +02:00
..
build_trace_chunks Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
artifact_blob.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
build.rb Add trigger information for job API 2018-09-12 11:00:39 +02:00
build_metadata.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
build_runner_session.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
build_trace_chunk.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
build_trace_section.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
build_trace_section_name.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
group.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
group_variable.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
job_artifact.rb Explicit hashed path check for trace, prevents background migration from accessing file_location column that doesn't exist 2018-09-05 18:13:41 +02:00
legacy_stage.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
pipeline.rb Automatically disable Auto DevOps for project upon first pipeline failure 2018-09-06 19:20:42 +00:00
pipeline_schedule.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
pipeline_schedule_variable.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
pipeline_variable.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
runner.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
runner_namespace.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
runner_project.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
stage.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
trigger.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
trigger_request.rb Add trigger information for job API 2018-09-12 11:00:39 +02:00
variable.rb Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00