Commit Graph

15 Commits

Author SHA1 Message Date
Steve Azzopardi 464655edb2 Add stage name in job.json response 2018-10-12 17:13:41 +00:00
Grzegorz Bizon c350f3ccd8 Merge branch '50904-remove-icon-env' into 'master'
Removes icon key from job endpoint

See merge request gitlab-org/gitlab-ce!22085
2018-10-05 09:10:10 +00:00
Steve Azzopardi 7e3e895d74
Remove addtionalProperties in runners schema
This resulted into failure on EE pipeline, for more information follow
from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7600#note_105310648
onwards.
2018-10-04 10:59:20 +02:00
Filipa Lacerda 295b0466b3
Removes icon key from job endpoint
This was added because we thought we'd need
to render the environment status but we
already have this information in the
build status
2018-10-04 10:22:31 +02:00
Steve Azzopardi c6139a03eb
Fix job_details.json schema
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51927
2018-09-28 13:51:22 +02:00
Steve Azzopardi 0599a25f95
Add has_trace to Projects::JobController#show.json
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51925
2018-09-27 11:40:50 +02:00
Steve Azzopardi 673764319a Expose runners status information in job api 2018-09-18 07:42:59 +00:00
Steve Azzopardi 5328f7d15d
Add runner JSON schema
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51093
2018-09-17 11:04:33 +02:00
Kamil Trzciński cdc4cd09e7 Merge branch '50461-add-retried-builds-in-pipeline-stage-endpoint' into 'master'
Add retried jobs to pipeline stages

Closes #50461

See merge request gitlab-org/gitlab-ce!21558
2018-09-17 09:01:12 +00:00
Steve Azzopardi c80abb40fc
Add retried jobs to pipeline stages
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50461
2018-09-13 17:31:52 +02:00
Steve Azzopardi 3bc5f71133
Add deployment information in job API
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50460
2018-09-13 17:30:20 +02:00
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
Steve Azzopardi e254da811f Add empty state illustration information in job API 2018-09-11 17:13:24 +00:00
Steve Azzopardi 26f577df80
Add terminal path to job API response
closes #51117
2018-09-06 13:35:56 +02:00
Steve Azzopardi 71433c5525
Add JSON schema validation for job API
Start validating against the exciting JSON schema for the job controller JSON
response.

The JSON schema is not complete since there is quite a lot missing, this will
be done in a separate issue.
2018-09-03 18:49:52 +02:00