Add query to fetch a file in GraphQL

Issue: #216578
139 jobs for !32669 with 216578_graphql_file_api in 50 minutes and 17 seconds (queued for 11 seconds)
latest detached
Status Job ID Name Coverage
  Sync
manual #560931480
gitlab-org allowed to fail manual
dont-interrupt-me
 
  Prepare
passed #560931487
gitlab-org
compile-assets pull-cache

00:08:45

passed #560931485
gitlab-org
gitlab:assets:compile pull-cache

00:30:43

passed #560931494
gitlab-org
retrieve-tests-metadata

00:01:34

manual #560931491
gitlab-org allowed to fail manual
review-cleanup
passed #560931492
gitlab-org
review-stop-failed-deployment

00:02:41

passed #560931489
gitlab-org
setup-test-env

00:07:18

 
  Build Images
passed #560931496
gitlab-org
build-assets-image

00:04:05

passed #560931498
gitlab-org
build-qa-image

00:02:24

 
  Fixtures
passed #560931499
gitlab-org
frontend-fixtures

00:19:14

 
  Test
passed #560931546
gitlab-org
brakeman-sast

00:04:32

passed #560931543
gitlab-org-docker
code_quality

00:14:00

passed #560931782
gitlab-org
danger-review

00:03:25

passed #560931704
gitlab-org
db:check-schema

00:03:43

passed #560931707
gitlab-org
db:migrate-from-v12.10.0

00:07:07

passed #560931703
gitlab-org
db:migrate:reset

00:04:02

passed #560931708
gitlab-org
db:rollback

00:04:28

passed #560931781
gitlab-org
db:rollback geo

00:03:52

passed #560931552
gitlab-org-docker
dependency_scanning

00:12:35

passed #560931557
gitlab-org
downtime_check

00:03:35

passed #560931550
gitlab-org
eslint-sast

00:02:26

passed #560931710
gitlab-org
gitlab:setup

00:05:17

passed #560931783
gitlab-org
gitlab_git_test

00:01:19

failed #560931503
gitlab-org
graphql-reference-verify

00:04:16

passed #560931517
gitlab-org
jest 1/2

00:16:51

passed #560931519
gitlab-org
jest 2/2

00:12:40

passed #560931523
gitlab-org
jest-integration

00:05:00

passed #560931506
gitlab-org
karma

00:08:09

40.92%
passed #560931805
gitlab-org
lint-ci-gitlab

00:01:29

passed #560931536
gitlab-org
memory-on-boot

00:07:32

passed #560931529
gitlab-org
memory-static

00:05:33

passed #560931538
gitlab-org
qa:internal

00:02:30

passed #560931540
gitlab-org
qa:selectors

00:02:36

passed #560931699
gitlab-org
rspec fast_spec_helper

00:05:07

passed #560931631
gitlab-org
rspec integration pg11 1/8

00:18:31

passed #560931635
gitlab-org
rspec integration pg11 2/8

00:20:01

passed #560931636
gitlab-org
rspec integration pg11 3/8

00:21:50

passed #560931637
gitlab-org
rspec integration pg11 4/8

00:19:53

passed #560931639
gitlab-org
rspec integration pg11 5/8

00:18:32

passed #560931642
gitlab-org
rspec integration pg11 6/8

00:19:42

passed #560931644
gitlab-org
rspec integration pg11 7/8

00:19:31

passed #560931645
gitlab-org
rspec integration pg11 8/8

00:21:55

passed #560931559
gitlab-org
rspec migration pg11 1/5

00:12:27

passed #560931563
gitlab-org
rspec migration pg11 2/5

00:17:39

passed #560931569
gitlab-org
rspec migration pg11 3/5

00:23:15

passed #560931573
gitlab-org
rspec migration pg11 4/5

00:19:13

passed #560931577
gitlab-org
rspec migration pg11 5/5

00:20:04

passed #560931647
gitlab-org
rspec system pg11 1/24

00:18:09

passed #560931665
gitlab-org
rspec system pg11 10/24

00:21:27

passed #560931667
gitlab-org
rspec system pg11 11/24

00:17:05

passed #560931669
gitlab-org
rspec system pg11 12/24

00:18:17

passed #560931670
gitlab-org
rspec system pg11 13/24

00:17:21

passed #560931671
gitlab-org
rspec system pg11 14/24

00:14:59

passed #560931672
gitlab-org
rspec system pg11 15/24

00:14:31

passed #560931673
gitlab-org
rspec system pg11 16/24

00:18:08

passed #560931674
gitlab-org
rspec system pg11 17/24

00:18:27

passed #560931678
gitlab-org
rspec system pg11 18/24

00:19:13

passed #560931680
gitlab-org
rspec system pg11 19/24

00:19:42

passed #560931649
gitlab-org
rspec system pg11 2/24

00:19:23

passed #560931681
gitlab-org
rspec system pg11 20/24

00:19:35

passed #560931682
gitlab-org
rspec system pg11 21/24

00:18:41

passed #560931685
gitlab-org
rspec system pg11 22/24

00:17:58

passed #560931686
gitlab-org
rspec system pg11 23/24

00:17:27

passed #560949583
gitlab-org
rspec system pg11 24/24

00:16:14

passed #560931650
gitlab-org
rspec system pg11 3/24

00:18:36

passed #560931654
gitlab-org
rspec system pg11 4/24

00:18:24

passed #560931655
gitlab-org
rspec system pg11 5/24

00:18:56

passed #560931656
gitlab-org
rspec system pg11 6/24

00:18:30

passed #560931657
gitlab-org
rspec system pg11 7/24

00:19:36

passed #560931659
gitlab-org
rspec system pg11 8/24

00:17:51

passed #560931663
gitlab-org
rspec system pg11 9/24

00:17:31

passed #560931584
gitlab-org
rspec unit pg11 1/20

00:24:58

passed #560931613
gitlab-org
rspec unit pg11 10/20

00:26:33

passed #560931615
gitlab-org
rspec unit pg11 11/20

00:22:03

passed #560931617
gitlab-org
rspec unit pg11 12/20

00:22:58

passed #560931618
gitlab-org
rspec unit pg11 13/20

00:21:13

passed #560931620
gitlab-org
rspec unit pg11 14/20

00:22:24

passed #560931621
gitlab-org
rspec unit pg11 15/20

00:21:43

passed #560931623
gitlab-org
rspec unit pg11 16/20

00:22:02

passed #560931625
gitlab-org
rspec unit pg11 17/20

00:27:28

passed #560931626
gitlab-org
rspec unit pg11 18/20

00:22:56

passed #560931628
gitlab-org
rspec unit pg11 19/20

00:22:54

passed #560931590
gitlab-org
rspec unit pg11 2/20

00:18:37

passed #560931629
gitlab-org
rspec unit pg11 20/20

00:24:52

passed #560931597
gitlab-org
rspec unit pg11 3/20

00:19:44

passed #560931601
gitlab-org
rspec unit pg11 4/20

00:20:53

passed #560931606
gitlab-org
rspec unit pg11 5/20

00:19:23

passed #560931608
gitlab-org
rspec unit pg11 6/20

00:19:04

passed #560931610
gitlab-org
rspec unit pg11 7/20

00:20:26

passed #560931611
gitlab-org
rspec unit pg11 8/20

00:23:24

passed #560931612
gitlab-org
rspec unit pg11 9/20

00:23:40

passed #560931746
gitlab-org
rspec-ee integration pg11 1/4

00:19:56

passed #560931749
gitlab-org
rspec-ee integration pg11 2/4

00:22:58

passed #560931754
gitlab-org
rspec-ee integration pg11 3/4

00:16:58

passed #560931755
gitlab-org
rspec-ee integration pg11 4/4

00:18:29

passed #560931775
gitlab-org
rspec-ee integration pg11 geo

00:08:54

passed #560931711
gitlab-org
rspec-ee migration pg11 1/2

00:10:05

passed #560931712
gitlab-org
rspec-ee migration pg11 2/2

00:10:43

passed #560931758
gitlab-org
rspec-ee system pg11 1/6

00:19:42

passed #560931760
gitlab-org
rspec-ee system pg11 2/6

00:22:25

passed #560931761
gitlab-org
rspec-ee system pg11 3/6

00:18:37

passed #560931764
gitlab-org
rspec-ee system pg11 4/6

00:22:30

passed #560931765
gitlab-org
rspec-ee system pg11 5/6

00:18:25

passed #560931767
gitlab-org
rspec-ee system pg11 6/6

00:22:48

passed #560931778
gitlab-org
rspec-ee system pg11 geo

00:09:53

passed #560931714
gitlab-org
rspec-ee unit pg11 1/10

00:21:25

passed #560931744
gitlab-org
rspec-ee unit pg11 10/10

00:18:50

passed #560931715
gitlab-org
rspec-ee unit pg11 2/10

00:22:42

passed #560931720
gitlab-org
rspec-ee unit pg11 3/10

00:16:54

passed #560931723
gitlab-org
rspec-ee unit pg11 4/10

00:18:00

passed #560931726
gitlab-org
rspec-ee unit pg11 5/10

00:23:29

passed #560931729
gitlab-org
rspec-ee unit pg11 6/10

00:16:54

passed #560931731
gitlab-org
rspec-ee unit pg11 7/10

00:22:15

passed #560931735
gitlab-org
rspec-ee unit pg11 8/10

00:18:23

passed #560931740
gitlab-org
rspec-ee unit pg11 9/10

00:20:08

passed #560931769
gitlab-org
rspec-ee unit pg11 geo 1/2

00:19:45

passed #560931771
gitlab-org
rspec-ee unit pg11 geo 2/2

00:20:53

passed #560931790
gitlab-org
run-dev-fixtures

00:04:51

passed #560931798
gitlab-org
run-dev-fixtures-ee

00:06:15

passed #560931551
gitlab-org
secrets-sast

00:04:54

passed #560931553
gitlab-org
static-analysis 1/2

00:16:18

failed #560931555
gitlab-org
static-analysis 2/2

00:41:29

passed #560931526
gitlab-org
webpack-dev-server

00:06:24

failed #560931695
gitlab-org
rspec system pg11 24/24

00:00:10

 
  Post Test
passed #560931807
gitlab-org
coverage-frontend

00:03:39

skipped #560931809
gitlab-org
rspec:coverage
 
  Review Prepare
manual #560931812
gitlab-org allowed to fail manual
review-build-cng
 
  Review
skipped #560931822
gitlab-org allowed to fail manual
review-deploy
skipped #560931825
gitlab-org allowed to fail manual
review-stop
 
  Qa
skipped #560931830
gitlab-org allowed to fail manual
dast
manual #560931828
gitlab-org allowed to fail manual
package-and-qa
skipped #560931842
gitlab-org allowed to fail manual
review-performance
skipped #560931835
gitlab-org-docker allowed to fail manual
review-qa-all 1/5
skipped #560931836
gitlab-org-docker allowed to fail manual
review-qa-all 2/5
skipped #560931837
gitlab-org-docker allowed to fail manual
review-qa-all 3/5
skipped #560931840
gitlab-org-docker allowed to fail manual
review-qa-all 4/5
skipped #560931841
gitlab-org-docker allowed to fail manual
review-qa-all 5/5
skipped #560931832
gitlab-org-docker allowed to fail manual
review-qa-smoke
 
  Post Qa
skipped #560931843
gitlab-org allowed to fail manual
parallel-spec-reports
 
Name Stage Failure
failed
static-analysis 2/2 Test
  class FileType < BaseObject ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^

16585 files inspected, 1 offense detected


Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
graphql-reference-verify Test
$ bundle exec rake gitlab:graphql:check_docs
##########
#
# GraphQL documentation is outdated! Please update it by running `bundle exec rake gitlab:graphql:compile_docs`.
#
##########
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1