gitlab-org--gitlab-foss/spec/models/merge_request_spec.rb

2641 lines
84 KiB
Ruby
Raw Normal View History

2011-11-28 07:39:43 +00:00
require 'spec_helper'
describe MergeRequest do
2016-07-01 21:53:46 +00:00
include RepoHelpers
include ProjectForksHelper
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
include ReactiveCachingHelpers
2016-07-01 21:53:46 +00:00
subject { create(:merge_request) }
describe 'associations' do
it { is_expected.to belong_to(:target_project).class_name('Project') }
it { is_expected.to belong_to(:source_project).class_name('Project') }
2015-11-18 10:17:41 +00:00
it { is_expected.to belong_to(:merge_user).class_name("User") }
it { is_expected.to belong_to(:assignee) }
it { is_expected.to have_many(:merge_request_diffs) }
end
2018-05-29 09:51:43 +00:00
describe '#squash_in_progress?' do
shared_examples 'checking whether a squash is in progress' do
let(:repo_path) do
Gitlab::GitalyClient::StorageSettings.allow_disk_access do
subject.source_project.repository.path
end
end
2018-05-29 09:51:43 +00:00
let(:squash_path) { File.join(repo_path, "gitlab-worktree", "squash-#{subject.id}") }
before do
system(*%W(#{Gitlab.config.git.bin_path} -C #{repo_path} worktree add --detach #{squash_path} master))
end
it 'returns true when there is a current squash directory' do
expect(subject.squash_in_progress?).to be_truthy
end
it 'returns false when there is no squash directory' do
FileUtils.rm_rf(squash_path)
expect(subject.squash_in_progress?).to be_falsey
end
it 'returns false when the squash directory has expired' do
time = 20.minutes.ago.to_time
File.utime(time, time, squash_path)
expect(subject.squash_in_progress?).to be_falsey
end
it 'returns false when the source project has been removed' do
allow(subject).to receive(:source_project).and_return(nil)
expect(subject.squash_in_progress?).to be_falsey
end
end
context 'when Gitaly squash_in_progress is enabled' do
it_behaves_like 'checking whether a squash is in progress'
end
context 'when Gitaly squash_in_progress is disabled', :disable_gitaly do
it_behaves_like 'checking whether a squash is in progress'
end
end
describe '#squash?' do
let(:merge_request) { build(:merge_request, squash: squash) }
subject { merge_request.squash? }
context 'disabled in database' do
let(:squash) { false }
it { is_expected.to be_falsy }
end
context 'enabled in database' do
let(:squash) { true }
it { is_expected.to be_truthy }
end
end
describe 'modules' do
subject { described_class }
it { is_expected.to include_module(Issuable) }
it { is_expected.to include_module(Referable) }
it { is_expected.to include_module(Sortable) }
it { is_expected.to include_module(Taskable) }
2018-04-20 14:00:15 +00:00
it_behaves_like 'AtomicInternalId' do
let(:internal_id_attribute) { :iid }
let(:instance) { build(:merge_request) }
let(:scope) { :target_project }
2018-04-20 14:00:15 +00:00
let(:scope_attrs) { { project: instance.target_project } }
let(:usage) { :merge_requests }
end
end
describe 'validation' do
it { is_expected.to validate_presence_of(:target_branch) }
it { is_expected.to validate_presence_of(:source_branch) }
2015-12-03 09:27:34 +00:00
context "Validation of merge user with Merge When Pipeline Succeeds" do
2015-12-03 09:27:34 +00:00
it "allows user to be nil when the feature is disabled" do
expect(subject).to be_valid
end
it "is invalid without merge user" do
subject.merge_when_pipeline_succeeds = true
2015-12-03 09:27:34 +00:00
expect(subject).not_to be_valid
end
it "is valid with merge user" do
subject.merge_when_pipeline_succeeds = true
2015-12-03 09:27:34 +00:00
subject.merge_user = build(:user)
expect(subject).to be_valid
end
end
context 'for forks' do
let(:project) { create(:project) }
let(:fork1) { fork_project(project) }
let(:fork2) { fork_project(project) }
it 'allows merge requests for sibling-forks' do
subject.source_project = fork1
subject.target_project = fork2
expect(subject).to be_valid
end
end
2011-11-28 21:24:08 +00:00
end
describe 'callbacks' do
describe '#ensure_merge_request_metrics' do
it 'creates metrics after saving' do
merge_request = create(:merge_request)
expect(merge_request.metrics).to be_persisted
expect(MergeRequest::Metrics.count).to eq(1)
end
it 'does not duplicate metrics for a merge request' do
merge_request = create(:merge_request)
merge_request.mark_as_merged!
expect(MergeRequest::Metrics.count).to eq(1)
end
end
end
describe 'respond to' do
it { is_expected.to respond_to(:unchecked?) }
it { is_expected.to respond_to(:can_be_merged?) }
it { is_expected.to respond_to(:cannot_be_merged?) }
2015-11-18 10:17:41 +00:00
it { is_expected.to respond_to(:merge_params) }
it { is_expected.to respond_to(:merge_when_pipeline_succeeds) }
end
2013-03-20 21:46:30 +00:00
describe '.by_commit_sha' do
subject(:by_commit_sha) { described_class.by_commit_sha(sha) }
let!(:merge_request) { create(:merge_request, :with_diffs) }
context 'with sha contained in latest merge request diff' do
let(:sha) { 'b83d6e391c22777fca1ed3012fce84f633d7fed0' }
it 'returns merge requests' do
expect(by_commit_sha).to eq([merge_request])
end
end
context 'with sha contained not in latest merge request diff' do
let(:sha) { 'b83d6e391c22777fca1ed3012fce84f633d7fed0' }
it 'returns empty requests' do
latest_merge_request_diff = merge_request.merge_request_diffs.create
latest_merge_request_diff.merge_request_diff_commits.where(sha: 'b83d6e391c22777fca1ed3012fce84f633d7fed0').delete_all
expect(by_commit_sha).to be_empty
end
end
context 'with sha not contained in' do
let(:sha) { 'b83d6e3' }
it 'returns empty result' do
expect(by_commit_sha).to be_empty
end
end
end
describe '.in_projects' do
it 'returns the merge requests for a set of projects' do
expect(described_class.in_projects(Project.all)).to eq([subject])
end
end
Use latest_merge_request_diff association Compared to the merge_request_diff association: 1. It's simpler to query. The query uses a foreign key to the merge_request_diffs table, so no ordering is necessary. 2. It's faster for preloading. The merge_request_diff association has to load every diff for the MRs in the set, then discard all but the most recent for each. This association means that Rails can just query for N diffs from N MRs. 3. It's more complicated to update. This is a bidirectional foreign key, so we need to update two tables when adding a diff record. This also means we need to handle this as a special case when importing a GitLab project. There is some juggling with this association in the merge request model: * `MergeRequest#latest_merge_request_diff` is _always_ the latest diff. * `MergeRequest#merge_request_diff` reuses `MergeRequest#latest_merge_request_diff` unless: * Arguments are passed. These are typically to force-reload the association. * It doesn't exist. That means we might be trying to implicitly create a diff. This only seems to happen in specs. * The association is already loaded. This is important for the reasons explained in the comment, which I'll reiterate here: if we a) load a non-latest diff, then b) get its `merge_request`, then c) get that MR's `merge_request_diff`, we should get the diff we loaded in c), even though that's not the latest diff. Basically, `MergeRequest#merge_request_diff` is the latest diff in most cases, but not quite all.
2017-11-15 17:22:18 +00:00
describe '.set_latest_merge_request_diff_ids!' do
def create_merge_request_with_diffs(source_branch, diffs: 2)
params = {
target_project: project,
target_branch: 'master',
source_project: project,
source_branch: source_branch
}
create(:merge_request, params).tap do |mr|
diffs.times { mr.merge_request_diffs.create }
end
end
let(:project) { create(:project) }
it 'sets IDs for merge requests, whether they are already set or not' do
merge_requests = [
create_merge_request_with_diffs('feature'),
create_merge_request_with_diffs('feature-conflict'),
create_merge_request_with_diffs('wip', diffs: 0),
create_merge_request_with_diffs('csv')
]
merge_requests.take(2).each do |merge_request|
merge_request.update_column(:latest_merge_request_diff_id, nil)
end
expected = merge_requests.map do |merge_request|
merge_request.merge_request_diffs.maximum(:id)
end
expect { project.merge_requests.set_latest_merge_request_diff_ids! }
.to change { merge_requests.map { |mr| mr.reload.latest_merge_request_diff_id } }.to(expected)
end
end
describe '#target_branch_sha' do
let(:project) { create(:project, :repository) }
subject { create(:merge_request, source_project: project, target_project: project) }
context 'when the target branch does not exist' do
before do
project.repository.rm_branch(subject.author, subject.target_branch)
subject.clear_memoized_shas
end
it 'returns nil' do
expect(subject.target_branch_sha).to be_nil
end
end
it 'returns memoized value' do
subject.target_branch_sha = '8ffb3c15a5475e59ae909384297fede4badcb4c7'
expect(subject.target_branch_sha).to eq '8ffb3c15a5475e59ae909384297fede4badcb4c7'
end
end
describe '#card_attributes' do
it 'includes the author name' do
allow(subject).to receive(:author).and_return(double(name: 'Robert'))
allow(subject).to receive(:assignee).and_return(nil)
2017-06-21 13:48:12 +00:00
expect(subject.card_attributes)
.to eq({ 'Author' => 'Robert', 'Assignee' => nil })
end
it 'includes the assignee name' do
allow(subject).to receive(:author).and_return(double(name: 'Robert'))
allow(subject).to receive(:assignee).and_return(double(name: 'Douwe'))
2017-06-21 13:48:12 +00:00
expect(subject.card_attributes)
.to eq({ 'Author' => 'Robert', 'Assignee' => 'Douwe' })
end
end
describe '#assignee_ids' do
it 'returns an array of the assigned user id' do
subject.assignee_id = 123
expect(subject.assignee_ids).to eq([123])
end
end
describe '#assignee_ids=' do
it 'sets assignee_id to the last id in the array' do
subject.assignee_ids = [123, 456]
expect(subject.assignee_id).to eq(456)
end
end
describe '#assignee_or_author?' do
let(:user) { create(:user) }
it 'returns true for a user that is assigned to a merge request' do
subject.assignee = user
expect(subject.assignee_or_author?(user)).to eq(true)
end
it 'returns true for a user that is the author of a merge request' do
subject.author = user
expect(subject.assignee_or_author?(user)).to eq(true)
end
it 'returns false for a user that is not the assignee or author' do
expect(subject.assignee_or_author?(user)).to eq(false)
end
end
describe '#visible_closing_issues_for' do
let(:guest) { create(:user) }
let(:developer) { create(:user) }
let(:issue_1) { create(:issue, project: subject.source_project) }
let(:issue_2) { create(:issue, project: subject.source_project) }
let(:confidential_issue) { create(:issue, :confidential, project: subject.source_project) }
before do
subject.project.add_developer(subject.author)
subject.target_branch = subject.project.default_branch
commit = double('commit1', safe_message: "Fixes #{issue_1.to_reference} #{issue_2.to_reference} #{confidential_issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
end
it 'shows only allowed issues to guest' do
subject.project.add_guest(guest)
subject.cache_merge_request_closes_issues!
expect(subject.visible_closing_issues_for(guest)).to match_array([issue_1, issue_2])
end
it 'shows only allowed issues to developer' do
subject.project.add_developer(developer)
subject.cache_merge_request_closes_issues!
expect(subject.visible_closing_issues_for(developer)).to match_array([issue_1, confidential_issue, issue_2])
end
context 'when external issue tracker is enabled' do
before do
subject.project.has_external_issue_tracker = true
subject.project.save!
end
it 'calls non #closes_issues to retrieve data' do
expect(subject).to receive(:closes_issues)
expect(subject).not_to receive(:cached_closes_issues)
subject.visible_closing_issues_for
end
end
end
describe '#cache_merge_request_closes_issues!' do
before do
subject.project.add_developer(subject.author)
subject.target_branch = subject.project.default_branch
end
it 'caches closed issues' do
issue = create :issue, project: subject.project
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }.to change(subject.merge_requests_closing_issues, :count).by(1)
end
it 'does not cache closed issues when merge request is closed' do
issue = create :issue, project: subject.project
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
allow(subject).to receive(:state).and_return("closed")
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to change(subject.merge_requests_closing_issues, :count)
end
it 'does not cache closed issues when merge request is merged' do
issue = create :issue, project: subject.project
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
allow(subject).to receive(:state).and_return("merged")
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to change(subject.merge_requests_closing_issues, :count)
end
context 'when both internal and external issue trackers are enabled' do
before do
subject.project.has_external_issue_tracker = true
subject.project.save!
create(:jira_service, project: subject.project)
end
it 'does not cache issues from external trackers' do
issue = ExternalIssue.new('JIRA-123', subject.project)
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to raise_error
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to change(subject.merge_requests_closing_issues, :count)
end
it 'caches an internal issue' do
issue = create(:issue, project: subject.project)
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }
.to change(subject.merge_requests_closing_issues, :count).by(1)
end
end
context 'when only external issue tracker enabled' do
before do
subject.project.has_external_issue_tracker = true
subject.project.issues_enabled = false
subject.project.save!
end
it 'does not cache issues from external trackers' do
issue = ExternalIssue.new('JIRA-123', subject.project)
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }.not_to change(subject.merge_requests_closing_issues, :count)
end
it 'does not cache an internal issue' do
issue = create(:issue, project: subject.project)
commit = double('commit1', safe_message: "Fixes #{issue.to_reference}")
allow(subject).to receive(:commits).and_return([commit])
expect { subject.cache_merge_request_closes_issues!(subject.author) }
.not_to change(subject.merge_requests_closing_issues, :count)
end
end
end
describe '#source_branch_sha' do
let(:last_branch_commit) { subject.source_project.repository.commit(Gitlab::Git::BRANCH_REF_PREFIX + subject.source_branch) }
2016-03-09 06:51:52 +00:00
context 'with diffs' do
subject { create(:merge_request, :with_diffs) }
it 'returns the sha of the source branch last commit' do
expect(subject.source_branch_sha).to eq(last_branch_commit.sha)
2016-03-09 06:51:52 +00:00
end
end
context 'without diffs' do
subject { create(:merge_request, :without_diffs) }
it 'returns the sha of the source branch last commit' do
expect(subject.source_branch_sha).to eq(last_branch_commit.sha)
end
context 'when there is a tag name matching the branch name' do
let(:tag_name) { subject.source_branch }
it 'returns the sha of the source branch last commit' do
subject.source_project.repository.add_tag(subject.author,
tag_name,
subject.target_branch_sha,
'Add a tag')
expect(subject.source_branch_sha).to eq(last_branch_commit.sha)
subject.source_project.repository.rm_tag(subject.author, tag_name)
end
end
end
2016-03-09 06:51:52 +00:00
context 'when the merge request is being created' do
subject { build(:merge_request, source_branch: nil, compare_commits: []) }
it 'returns nil' do
expect(subject.source_branch_sha).to be_nil
2016-03-09 06:51:52 +00:00
end
end
it 'returns memoized value' do
subject.source_branch_sha = '2e5d3239642f9161dcbbc4b70a211a68e5e45e2b'
expect(subject.source_branch_sha).to eq '2e5d3239642f9161dcbbc4b70a211a68e5e45e2b'
end
2016-03-09 06:51:52 +00:00
end
describe '#to_reference' do
let(:project) { build(:project, name: 'sample-project') }
let(:merge_request) { build(:merge_request, target_project: project, iid: 1) }
it 'returns a String reference to the object' do
expect(merge_request.to_reference).to eq "!1"
end
it 'supports a cross-project reference' do
another_project = build(:project, name: 'another-project', namespace: project.namespace)
expect(merge_request.to_reference(another_project)).to eq "sample-project!1"
end
it 'returns a String reference with the full path' do
expect(merge_request.to_reference(full: true)).to eq(project.full_path + '!1')
end
end
describe '#raw_diffs' do
let(:merge_request) { build(:merge_request) }
let(:options) { { paths: ['a/b', 'b/a', 'c/*'] } }
context 'when there are MR diffs' do
it 'delegates to the MR diffs' do
merge_request.merge_request_diff = MergeRequestDiff.new
expect(merge_request.merge_request_diff).to receive(:raw_diffs).with(options)
merge_request.raw_diffs(options)
end
end
context 'when there are no MR diffs' do
it 'delegates to the compare object' do
merge_request.compare = double(:compare)
expect(merge_request.compare).to receive(:raw_diffs).with(options)
merge_request.raw_diffs(options)
end
end
end
describe '#diffs' do
let(:merge_request) { build(:merge_request) }
let(:options) { { paths: ['a/b', 'b/a', 'c/*'] } }
context 'when there are MR diffs' do
it 'delegates to the MR diffs' do
merge_request.save
expect(merge_request.merge_request_diff).to receive(:raw_diffs).with(hash_including(options))
merge_request.diffs(options)
end
end
context 'when there are no MR diffs' do
it 'delegates to the compare object, setting expanded: true' do
merge_request.compare = double(:compare)
expect(merge_request.compare).to receive(:diffs).with(options.merge(expanded: true))
merge_request.diffs(options)
end
end
end
describe '#diff_size' do
let(:merge_request) do
build(:merge_request, source_branch: 'expand-collapse-files', target_branch: 'master')
end
context 'when there are MR diffs' do
it 'returns the correct count' do
merge_request.save
expect(merge_request.diff_size).to eq('105')
end
it 'returns the correct overflow count' do
allow(Commit).to receive(:max_diff_options).and_return(max_files: 2)
merge_request.save
expect(merge_request.diff_size).to eq('2+')
end
it 'does not perform highlighting' do
merge_request.save
expect(Gitlab::Diff::Highlight).not_to receive(:new)
merge_request.diff_size
end
end
context 'when there are no MR diffs' do
def set_compare(merge_request)
merge_request.compare = CompareService.new(
merge_request.source_project,
merge_request.source_branch
).execute(
merge_request.target_project,
merge_request.target_branch
)
end
it 'returns the correct count' do
set_compare(merge_request)
expect(merge_request.diff_size).to eq('105')
end
it 'returns the correct overflow count' do
allow(Commit).to receive(:max_diff_options).and_return(max_files: 2)
set_compare(merge_request)
expect(merge_request.diff_size).to eq('2+')
end
it 'does not perform highlighting' do
set_compare(merge_request)
expect(Gitlab::Diff::Highlight).not_to receive(:new)
merge_request.diff_size
end
end
end
Merge branch 'jej-note-search-uses-finder' into 'security' Fix missing Note access checks in by moving Note#search to updated NoteFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 ## Which fixes are in this MR? :warning: - Potentially untested :bomb: - No test coverage :traffic_light: - Test coverage of some sort exists (a test failed when error raised) :vertical_traffic_light: - Test coverage of return value (a test failed when nil used) :white_check_mark: - Permissions check tested ### Note lookup without access check - [x] :white_check_mark: app/finders/notes_finder.rb:13 :download_code check - [x] :white_check_mark: app/finders/notes_finder.rb:19 `SnippetsFinder` - [x] :white_check_mark: app/models/note.rb:121 [`Issue#visible_to_user`] - [x] :white_check_mark: lib/gitlab/project_search_results.rb:113 - This is the only use of `app/models/note.rb:121` above, but importantly has no access checks at all. This means it leaks MR comments and snippets when those features are `team-only` in addition to the issue comments which would be fixed by `app/models/note.rb:121`. - It is only called from SearchController where `can?(current_user, :download_code, @project)` is checked, so commit comments are not leaked. ### Previous discussions - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_13_13 `: download_code` check on commit - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_19_19 `SnippetsFinder` should be used - `SnippetsFinder` should check if the snippets feature is enabled -> https://gitlab.com/gitlab-org/gitlab-ce/issues/25223 ### Acceptance criteria met? - [x] Tests added for new code - [x] TODO comments removed - [x] Squashed and removed skipped tests - [x] Changelog entry - [ ] State Gitlab versions affected and issue severity in description - [ ] Create technical debt issue for NotesFinder. - Either split into `NotesFinder::ForTarget` and `NotesFinder::Search` or consider object per notable type such as `NotesFinder::OnIssue`. For the first option could create `NotesFinder::Base` which is either inherited from or which can be included in the other two. - Avoid case statement anti-pattern in this finder with use of `NotesFinder::OnCommit` etc. Consider something on the finder for this? `Model.finder(user, project)` - Move `inc_author` to the controller, and implement `related_notes` to replace `non_diff_notes`/`mr_and_commit_notes` See merge request !2035
2016-12-09 01:56:31 +00:00
describe "#related_notes" do
let!(:merge_request) { create(:merge_request) }
before do
allow(merge_request).to receive(:commits) { [merge_request.source_project.repository.commit] }
create(:note_on_commit, commit_id: merge_request.commits.first.id,
project: merge_request.project)
2013-10-07 16:42:59 +00:00
create(:note, noteable: merge_request, project: merge_request.project)
end
it "includes notes for commits" do
expect(merge_request.commits).not_to be_empty
Merge branch 'jej-note-search-uses-finder' into 'security' Fix missing Note access checks in by moving Note#search to updated NoteFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 ## Which fixes are in this MR? :warning: - Potentially untested :bomb: - No test coverage :traffic_light: - Test coverage of some sort exists (a test failed when error raised) :vertical_traffic_light: - Test coverage of return value (a test failed when nil used) :white_check_mark: - Permissions check tested ### Note lookup without access check - [x] :white_check_mark: app/finders/notes_finder.rb:13 :download_code check - [x] :white_check_mark: app/finders/notes_finder.rb:19 `SnippetsFinder` - [x] :white_check_mark: app/models/note.rb:121 [`Issue#visible_to_user`] - [x] :white_check_mark: lib/gitlab/project_search_results.rb:113 - This is the only use of `app/models/note.rb:121` above, but importantly has no access checks at all. This means it leaks MR comments and snippets when those features are `team-only` in addition to the issue comments which would be fixed by `app/models/note.rb:121`. - It is only called from SearchController where `can?(current_user, :download_code, @project)` is checked, so commit comments are not leaked. ### Previous discussions - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_13_13 `: download_code` check on commit - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_19_19 `SnippetsFinder` should be used - `SnippetsFinder` should check if the snippets feature is enabled -> https://gitlab.com/gitlab-org/gitlab-ce/issues/25223 ### Acceptance criteria met? - [x] Tests added for new code - [x] TODO comments removed - [x] Squashed and removed skipped tests - [x] Changelog entry - [ ] State Gitlab versions affected and issue severity in description - [ ] Create technical debt issue for NotesFinder. - Either split into `NotesFinder::ForTarget` and `NotesFinder::Search` or consider object per notable type such as `NotesFinder::OnIssue`. For the first option could create `NotesFinder::Base` which is either inherited from or which can be included in the other two. - Avoid case statement anti-pattern in this finder with use of `NotesFinder::OnCommit` etc. Consider something on the finder for this? `Model.finder(user, project)` - Move `inc_author` to the controller, and implement `related_notes` to replace `non_diff_notes`/`mr_and_commit_notes` See merge request !2035
2016-12-09 01:56:31 +00:00
expect(merge_request.related_notes.count).to eq(2)
end
it "includes notes for commits from target project as well" do
create(:note_on_commit, commit_id: merge_request.commits.first.id,
project: merge_request.target_project)
expect(merge_request.commits).not_to be_empty
Merge branch 'jej-note-search-uses-finder' into 'security' Fix missing Note access checks in by moving Note#search to updated NoteFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 ## Which fixes are in this MR? :warning: - Potentially untested :bomb: - No test coverage :traffic_light: - Test coverage of some sort exists (a test failed when error raised) :vertical_traffic_light: - Test coverage of return value (a test failed when nil used) :white_check_mark: - Permissions check tested ### Note lookup without access check - [x] :white_check_mark: app/finders/notes_finder.rb:13 :download_code check - [x] :white_check_mark: app/finders/notes_finder.rb:19 `SnippetsFinder` - [x] :white_check_mark: app/models/note.rb:121 [`Issue#visible_to_user`] - [x] :white_check_mark: lib/gitlab/project_search_results.rb:113 - This is the only use of `app/models/note.rb:121` above, but importantly has no access checks at all. This means it leaks MR comments and snippets when those features are `team-only` in addition to the issue comments which would be fixed by `app/models/note.rb:121`. - It is only called from SearchController where `can?(current_user, :download_code, @project)` is checked, so commit comments are not leaked. ### Previous discussions - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_13_13 `: download_code` check on commit - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#b915c5267a63628b0bafd23d37792ae73ceae272_19_19 `SnippetsFinder` should be used - `SnippetsFinder` should check if the snippets feature is enabled -> https://gitlab.com/gitlab-org/gitlab-ce/issues/25223 ### Acceptance criteria met? - [x] Tests added for new code - [x] TODO comments removed - [x] Squashed and removed skipped tests - [x] Changelog entry - [ ] State Gitlab versions affected and issue severity in description - [ ] Create technical debt issue for NotesFinder. - Either split into `NotesFinder::ForTarget` and `NotesFinder::Search` or consider object per notable type such as `NotesFinder::OnIssue`. For the first option could create `NotesFinder::Base` which is either inherited from or which can be included in the other two. - Avoid case statement anti-pattern in this finder with use of `NotesFinder::OnCommit` etc. Consider something on the finder for this? `Model.finder(user, project)` - Move `inc_author` to the controller, and implement `related_notes` to replace `non_diff_notes`/`mr_and_commit_notes` See merge request !2035
2016-12-09 01:56:31 +00:00
expect(merge_request.related_notes.count).to eq(3)
end
end
Merge Request on forked projects The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-25 14:15:33 +00:00
describe '#for_fork?' do
it 'returns true if the merge request is for a fork' do
subject.source_project = build_stubbed(:project, namespace: create(:group))
subject.target_project = build_stubbed(:project, namespace: create(:group))
Merge Request on forked projects The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-25 14:15:33 +00:00
expect(subject.for_fork?).to be_truthy
Merge Request on forked projects The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-25 14:15:33 +00:00
end
Merge Request on forked projects The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-25 14:15:33 +00:00
it 'returns false if is not for a fork' do
expect(subject.for_fork?).to be_falsey
Merge Request on forked projects The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-04-25 14:15:33 +00:00
end
end
describe '#closes_issues' do
let(:issue0) { create :issue, project: subject.project }
let(:issue1) { create :issue, project: subject.project }
let(:commit0) { double('commit0', safe_message: "Fixes #{issue0.to_reference}") }
let(:commit1) { double('commit1', safe_message: "Fixes #{issue0.to_reference}") }
let(:commit2) { double('commit2', safe_message: "Fixes #{issue1.to_reference}") }
before do
subject.project.add_developer(subject.author)
2015-05-21 21:49:06 +00:00
allow(subject).to receive(:commits).and_return([commit0, commit1, commit2])
end
it 'accesses the set of issues that will be closed on acceptance' do
2017-06-21 13:48:12 +00:00
allow(subject.project).to receive(:default_branch)
.and_return(subject.target_branch)
closed = subject.closes_issues
expect(closed).to include(issue0, issue1)
end
it 'only lists issues as to be closed if it targets the default branch' do
allow(subject.project).to receive(:default_branch).and_return('master')
subject.target_branch = 'something-else'
expect(subject.closes_issues).to be_empty
end
end
describe '#issues_mentioned_but_not_closing' do
let(:closing_issue) { create :issue, project: subject.project }
let(:mentioned_issue) { create :issue, project: subject.project }
let(:commit) { double('commit', safe_message: "Fixes #{closing_issue.to_reference}") }
it 'detects issues mentioned in description but not closed' do
subject.project.add_developer(subject.author)
subject.description = "Is related to #{mentioned_issue.to_reference} and #{closing_issue.to_reference}"
allow(subject).to receive(:commits).and_return([commit])
2017-06-21 13:48:12 +00:00
allow(subject.project).to receive(:default_branch)
.and_return(subject.target_branch)
subject.cache_merge_request_closes_issues!
expect(subject.issues_mentioned_but_not_closing(subject.author)).to match_array([mentioned_issue])
end
context 'when the project has an external issue tracker' do
before do
subject.project.add_developer(subject.author)
commit = double(:commit, safe_message: 'Fixes TEST-3')
create(:jira_service, project: subject.project)
allow(subject).to receive(:commits).and_return([commit])
allow(subject).to receive(:description).and_return('Is related to TEST-2 and TEST-3')
allow(subject.project).to receive(:default_branch).and_return(subject.target_branch)
end
it 'detects issues mentioned in description but not closed' do
subject.cache_merge_request_closes_issues!
expect(subject.issues_mentioned_but_not_closing(subject.author).map(&:to_s)).to match_array(['TEST-2'])
end
end
end
describe "#work_in_progress?" do
['WIP ', 'WIP:', 'WIP: ', '[WIP]', '[WIP] ', ' [WIP] WIP [WIP] WIP: WIP '].each do |wip_prefix|
it "detects the '#{wip_prefix}' prefix" do
subject.title = "#{wip_prefix}#{subject.title}"
expect(subject.work_in_progress?).to eq true
end
end
it "doesn't detect WIP for words starting with WIP" do
subject.title = "Wipwap #{subject.title}"
expect(subject.work_in_progress?).to eq false
end
it "doesn't detect WIP for words containing with WIP" do
subject.title = "WupWipwap #{subject.title}"
expect(subject.work_in_progress?).to eq false
end
it "doesn't detect WIP by default" do
expect(subject.work_in_progress?).to eq false
end
end
describe "#wipless_title" do
['WIP ', 'WIP:', 'WIP: ', '[WIP]', '[WIP] ', '[WIP] WIP [WIP] WIP: WIP '].each do |wip_prefix|
it "removes the '#{wip_prefix}' prefix" do
wipless_title = subject.title
subject.title = "#{wip_prefix}#{subject.title}"
expect(subject.wipless_title).to eq wipless_title
end
it "is satisfies the #work_in_progress? method" do
subject.title = "#{wip_prefix}#{subject.title}"
subject.title = subject.wipless_title
expect(subject.work_in_progress?).to eq false
end
end
end
describe "#wip_title" do
it "adds the WIP: prefix to the title" do
wip_title = "WIP: #{subject.title}"
expect(subject.wip_title).to eq wip_title
end
it "does not add the WIP: prefix multiple times" do
wip_title = "WIP: #{subject.title}"
subject.title = subject.wip_title
subject.title = subject.wip_title
expect(subject.wip_title).to eq wip_title
end
it "is satisfies the #work_in_progress? method" do
subject.title = subject.wip_title
expect(subject.work_in_progress?).to eq true
end
end
2015-12-07 08:59:04 +00:00
describe '#can_remove_source_branch?' do
set(:user) { create(:user) }
set(:merge_request) { create(:merge_request, :simple) }
2015-11-24 13:59:02 +00:00
subject { merge_request }
2015-11-24 13:59:02 +00:00
before do
subject.source_project.add_maintainer(user)
2015-12-03 09:27:34 +00:00
end
2015-11-24 13:59:02 +00:00
2015-12-03 09:27:34 +00:00
it "can't be removed when its a protected branch" do
allow(ProtectedBranch).to receive(:protected?).and_return(true)
2015-11-24 13:59:02 +00:00
expect(subject.can_remove_source_branch?(user)).to be_falsey
end
it "can't remove a root ref" do
subject.update(source_branch: 'master', target_branch: 'feature')
2015-11-24 13:59:02 +00:00
expect(subject.can_remove_source_branch?(user)).to be_falsey
end
2015-12-03 09:27:34 +00:00
it "is unable to remove the source branch for a project the user cannot push to" do
user2 = create(:user)
2015-12-03 09:27:34 +00:00
expect(subject.can_remove_source_branch?(user2)).to be_falsey
end
it "can be removed if the last commit is the head of the source branch" do
allow(subject).to receive(:source_branch_head).and_return(subject.diff_head_commit)
2015-12-03 09:27:34 +00:00
expect(subject.can_remove_source_branch?(user)).to be_truthy
2015-11-24 13:59:02 +00:00
end
it "cannot be removed if the last commit is not also the head of the source branch" do
subject.clear_memoized_shas
subject.source_branch = "lfs"
expect(subject.can_remove_source_branch?(user)).to be_falsey
end
2015-11-24 13:59:02 +00:00
end
describe '#merge_commit_message' do
it 'includes merge information as the title' do
request = build(:merge_request, source_branch: 'source', target_branch: 'target')
expect(request.merge_commit_message)
.to match("Merge branch 'source' into 'target'\n\n")
end
it 'includes its title in the body' do
request = build(:merge_request, title: 'Remove all technical debt')
expect(request.merge_commit_message)
.to match("Remove all technical debt\n\n")
end
it 'includes its closed issues in the body' do
issue = create(:issue, project: subject.project)
subject.project.add_developer(subject.author)
subject.description = "This issue Closes #{issue.to_reference}"
allow(subject.project).to receive(:default_branch).and_return(subject.target_branch)
subject.cache_merge_request_closes_issues!
expect(subject.merge_commit_message)
.to match("Closes #{issue.to_reference}")
end
it 'includes its reference in the body' do
request = build_stubbed(:merge_request)
expect(request.merge_commit_message)
.to match("See merge request #{request.to_reference(full: true)}")
end
it 'excludes multiple linebreak runs when description is blank' do
request = build(:merge_request, title: 'Title', description: nil)
expect(request.merge_commit_message).not_to match("Title\n\n\n\n")
end
it 'includes its description in the body' do
request = build(:merge_request, description: 'By removing all code')
expect(request.merge_commit_message(include_description: true))
.to match("By removing all code\n\n")
end
it 'does not includes its description in the body' do
request = build(:merge_request, description: 'By removing all code')
expect(request.merge_commit_message)
.not_to match("By removing all code\n\n")
end
end
describe "#reset_merge_when_pipeline_succeeds" do
let(:merge_if_green) do
create :merge_request, merge_when_pipeline_succeeds: true, merge_user: create(:user),
merge_params: { "should_remove_source_branch" => "1", "commit_message" => "msg" }
end
2015-12-03 09:27:34 +00:00
2015-11-18 10:17:41 +00:00
it "sets the item to false" do
merge_if_green.reset_merge_when_pipeline_succeeds
2015-11-18 10:17:41 +00:00
merge_if_green.reload
expect(merge_if_green.merge_when_pipeline_succeeds).to be_falsey
expect(merge_if_green.merge_params["should_remove_source_branch"]).to be_nil
expect(merge_if_green.merge_params["commit_message"]).to be_nil
2015-11-18 10:17:41 +00:00
end
end
describe '#hook_attrs' do
it 'delegates to Gitlab::HookData::MergeRequestBuilder#build' do
builder = double
expect(Gitlab::HookData::MergeRequestBuilder)
.to receive(:new).with(subject).and_return(builder)
expect(builder).to receive(:build)
subject.hook_attrs
end
end
describe '#diverged_commits_count' do
let(:project) { create(:project, :repository) }
let(:forked_project) { fork_project(project, nil, repository: true) }
context 'when the target branch does not exist anymore' do
subject { create(:merge_request, source_project: project, target_project: project) }
before do
project.repository.raw_repository.delete_branch(subject.target_branch)
subject.clear_memoized_shas
end
it 'does not crash' do
expect { subject.diverged_commits_count }.not_to raise_error
end
it 'returns 0' do
expect(subject.diverged_commits_count).to eq(0)
end
end
context 'diverged on same repository' do
subject(:merge_request_with_divergence) { create(:merge_request, :diverged, source_project: project, target_project: project) }
it 'counts commits that are on target branch but not on source branch' do
expect(subject.diverged_commits_count).to eq(29)
end
end
context 'diverged on fork' do
subject(:merge_request_fork_with_divergence) { create(:merge_request, :diverged, source_project: forked_project, target_project: project) }
it 'counts commits that are on target branch but not on source branch' do
expect(subject.diverged_commits_count).to eq(29)
end
end
context 'rebased on fork' do
subject(:merge_request_rebased) { create(:merge_request, :rebased, source_project: forked_project, target_project: project) }
it 'counts commits that are on target branch but not on source branch' do
expect(subject.diverged_commits_count).to eq(0)
end
end
describe 'caching' do
before do
allow(Rails).to receive(:cache).and_return(ActiveSupport::Cache::MemoryStore.new)
end
it 'caches the output' do
2017-06-21 13:48:12 +00:00
expect(subject).to receive(:compute_diverged_commits_count)
.once
.and_return(2)
subject.diverged_commits_count
subject.diverged_commits_count
end
it 'invalidates the cache when the source sha changes' do
2017-06-21 13:48:12 +00:00
expect(subject).to receive(:compute_diverged_commits_count)
.twice
.and_return(2)
subject.diverged_commits_count
allow(subject).to receive(:source_branch_sha).and_return('123abc')
subject.diverged_commits_count
end
it 'invalidates the cache when the target sha changes' do
2017-06-21 13:48:12 +00:00
expect(subject).to receive(:compute_diverged_commits_count)
.twice
.and_return(2)
subject.diverged_commits_count
allow(subject).to receive(:target_branch_sha).and_return('123abc')
subject.diverged_commits_count
end
end
end
it_behaves_like 'an editable mentionable' do
subject { create(:merge_request, :simple) }
2015-04-16 20:25:25 +00:00
let(:backref_text) { "merge request #{subject.to_reference}" }
let(:set_mentionable_text) { ->(txt) { subject.description = txt } }
end
it_behaves_like 'a Taskable' do
2015-04-16 20:25:25 +00:00
subject { create :merge_request, :simple }
end
describe '#commit_shas' do
before do
allow(subject.merge_request_diff).to receive(:commit_shas)
2017-06-21 13:48:12 +00:00
.and_return(['sha1'])
end
it 'delegates to merge request diff' do
expect(subject.commit_shas).to eq ['sha1']
end
end
context 'head pipeline' do
before do
allow(subject).to receive(:diff_head_sha).and_return('lastsha')
end
describe '#head_pipeline' do
it 'returns nil for MR without head_pipeline_id' do
subject.update_attribute(:head_pipeline_id, nil)
expect(subject.head_pipeline).to be_nil
end
context 'when the source project does not exist' do
it 'returns nil' do
allow(subject).to receive(:source_project).and_return(nil)
expect(subject.head_pipeline).to be_nil
end
end
end
describe '#actual_head_pipeline' do
it 'returns nil for MR with old pipeline' do
pipeline = create(:ci_empty_pipeline, sha: 'notlatestsha')
subject.update_attribute(:head_pipeline_id, pipeline.id)
expect(subject.actual_head_pipeline).to be_nil
end
it 'returns the pipeline for MR with recent pipeline' do
pipeline = create(:ci_empty_pipeline, sha: 'lastsha')
subject.update_attribute(:head_pipeline_id, pipeline.id)
expect(subject.actual_head_pipeline).to eq(subject.head_pipeline)
expect(subject.actual_head_pipeline).to eq(pipeline)
end
it 'returns nil when source project does not exist' do
allow(subject).to receive(:source_project).and_return(nil)
expect(subject.actual_head_pipeline).to be_nil
end
end
end
describe '#has_ci?' do
let(:merge_request) { build_stubbed(:merge_request) }
context 'has ci' do
it 'returns true if MR has head_pipeline_id and commits' do
allow(merge_request).to receive_message_chain(:source_project, :ci_service) { nil }
allow(merge_request).to receive(:head_pipeline_id) { double }
allow(merge_request).to receive(:has_no_commits?) { false }
expect(merge_request.has_ci?).to be(true)
end
it 'returns true if MR has any pipeline and commits' do
allow(merge_request).to receive_message_chain(:source_project, :ci_service) { nil }
allow(merge_request).to receive(:head_pipeline_id) { nil }
allow(merge_request).to receive(:has_no_commits?) { false }
allow(merge_request).to receive(:all_pipelines) { [double] }
expect(merge_request.has_ci?).to be(true)
end
it 'returns true if MR has CI service and commits' do
allow(merge_request).to receive_message_chain(:source_project, :ci_service) { double }
allow(merge_request).to receive(:head_pipeline_id) { nil }
allow(merge_request).to receive(:has_no_commits?) { false }
allow(merge_request).to receive(:all_pipelines) { [] }
expect(merge_request.has_ci?).to be(true)
end
end
context 'has no ci' do
it 'returns false if MR has no CI service nor pipeline, and no commits' do
allow(merge_request).to receive_message_chain(:source_project, :ci_service) { nil }
allow(merge_request).to receive(:head_pipeline_id) { nil }
allow(merge_request).to receive(:all_pipelines) { [] }
allow(merge_request).to receive(:has_no_commits?) { true }
expect(merge_request.has_ci?).to be(false)
end
end
end
describe '#all_pipelines' do
shared_examples 'returning pipelines with proper ordering' do
let!(:all_pipelines) do
subject.all_commit_shas.map do |sha|
create(:ci_empty_pipeline,
project: subject.source_project,
sha: sha,
ref: subject.source_branch)
end
end
it 'returns all pipelines' do
expect(subject.all_pipelines).not_to be_empty
expect(subject.all_pipelines).to eq(all_pipelines.reverse)
end
end
context 'with single merge_request_diffs' do
it_behaves_like 'returning pipelines with proper ordering'
end
context 'with multiple irrelevant merge_request_diffs' do
before do
subject.update(target_branch: 'v1.0.0')
end
it_behaves_like 'returning pipelines with proper ordering'
end
context 'with unsaved merge request' do
subject { build(:merge_request) }
let!(:pipeline) do
create(:ci_empty_pipeline,
project: subject.project,
sha: subject.diff_head_sha,
ref: subject.source_branch)
end
it 'returns pipelines from diff_head_sha' do
expect(subject.all_pipelines).to contain_exactly(pipeline)
end
end
end
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
describe '#has_test_reports?' do
subject { merge_request.has_test_reports? }
let(:project) { create(:project, :repository) }
context 'when head pipeline has test reports' do
let(:merge_request) { create(:merge_request, :with_test_reports, source_project: project) }
it { is_expected.to be_truthy }
end
context 'when head pipeline does not have test reports' do
let(:merge_request) { create(:merge_request, source_project: project) }
it { is_expected.to be_falsey }
end
end
describe '#compare_test_reports' do
subject { merge_request.compare_test_reports }
let(:project) { create(:project, :repository) }
let(:merge_request) { create(:merge_request, source_project: project) }
let!(:base_pipeline) do
2018-08-03 13:14:55 +00:00
create(:ci_pipeline,
:with_test_reports,
project: project,
ref: merge_request.target_branch,
sha: merge_request.diff_base_sha)
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
end
before do
merge_request.update!(head_pipeline_id: head_pipeline.id)
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
end
context 'when head pipeline has test reports' do
let!(:head_pipeline) do
create(:ci_pipeline,
:with_test_reports,
project: project,
ref: merge_request.source_branch,
sha: merge_request.diff_head_sha)
end
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
context 'when reactive cache worker is parsing asynchronously' do
it 'returns status' do
expect(subject[:status]).to eq(:parsing)
end
end
context 'when reactive cache worker is inline' do
before do
synchronous_reactive_cache(merge_request)
end
it 'returns status and data' do
expect_any_instance_of(Ci::CompareTestReportsService)
Squashed commit of the following: commit 610c02c305d9fb3c7d271883450a5fee8b0cf16f Merge: f2088edb260 84f24dcef0d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 23:01:38 2018 +0900 Merge branch 'master-ce' into improve-junit-support-be commit f2088edb26008e5791b7be86fc02fc470c881143 Merge: c67e1d32cac 339f47abec1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 21:52:10 2018 +0900 Merge branch 'improve-junit-support-be' of gitlab.com:gitlab-org/gitlab-ce into improve-junit-support-be commit c67e1d32cac731b895e2f49a24ce0e1726b8196c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 21:51:39 2018 +0900 Remove debuggable fixtures commit 339f47abec1d0ce815e6103a087902d71d8ff5be Merge: 7a33a9be724 96b748fbcc0 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Aug 7 11:10:18 2018 +0100 Merge branch 'improve-junit-support-be' of https://gitlab.com/gitlab-org/gitlab-ce into improve-junit-support-be * 'improve-junit-support-be' of https://gitlab.com/gitlab-org/gitlab-ce: Add spec for latest Add spec for merge request Add spec for cache invalidation Add spec for pipeline Add spec Fix specs Support corrupted fixtures Add cache key to error message commit 7a33a9be724dbde79a24cec77658952ff2d2fa6c Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Aug 7 11:09:56 2018 +0100 Show resolved failures commit 96b748fbcc00a98a13aeb78f5d97de9cf25035b6 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:50:05 2018 +0900 Add spec for latest commit 0e8b024169b4b0ac272331117ac2fa821c4052f7 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:24:38 2018 +0900 Add spec for merge request commit 8690a699bc98394ad4deebdc91e6690758c5965e Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:18:55 2018 +0900 Add spec for cache invalidation commit 97678e1612826af409ca8a04b6c0dc830f7b66c6 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:01:03 2018 +0900 Add spec for pipeline commit 96c2a698af049e4026c68e74b1f41a265464b2b2 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 17:52:21 2018 +0900 Add spec commit 67bcbd25a3c13abb78ea43c0411f5aed417b87d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 17:39:02 2018 +0900 Fix specs commit d7d49def2023f85c07d2718b83f35c8849f65f05 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 13:11:07 2018 +0900 Support corrupted fixtures commit d58dbbc17a7d954db22082615f5331c148c1061b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 13:10:47 2018 +0900 Add cache key to error message commit f6f976216dc36333b5e05e3f0acdfca689350483 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 19:07:46 2018 +0900 bring back debaggable fixtures commit 48a7800e67a718145c0e88c324c0c1f9619e26a4 Merge: 2822b9e8a36 dd627072b3f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 09:22:22 2018 +0900 Merge branch 'master-ce' into improve-junit-support-be commit 2822b9e8a369162d098a72a58803c8494b2343cd Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 22:54:47 2018 +0900 Move cache invalidation policy to outside of reactive cache commit b35efb1764ae61bb31dacbf79dbc022dcee3a203 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 22:34:10 2018 +0900 ADd reactive cache an ability to invalite cache commit feafee6f8a50f4a32866d8ae768e99766b0b7c73 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 19:25:22 2018 +0900 Pipeline has test reports if latest builds have any commit f302dbb73abe03c6c431e7d52d526e28a1586fee Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 19:18:56 2018 +0900 Invalidate test reports cache if it's outdated commit 83adaca01a1ee1cd64cac86b6fa3d10e2e4e2b98 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 18:08:06 2018 +0900 Revert cache invalidation in expire pipeline cache worker commit ec3af5de4ca34e2e92ad6b97f29733d6c65062bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 15:13:47 2018 +0900 Fix feature spec commit 0db48805a1ba68763be0504eb57218bde2380e4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:07:46 2018 +0900 Change lifetime of test reports cache to 10 minutes commit 17f7e78bfe2188c349cda1ff90a3ea94d337461e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:07:19 2018 +0900 Add changelog commit 89c87585ab7f5333a8139c02b330dd2caf0be31a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:01:20 2018 +0900 Add feature spec commit 1120cfd7a9ab06105f2e763c375fab00922b7e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 12:55:47 2018 +0900 Invalidate cache when pipeline status transits. Correct test reports from the latest builds
2018-08-07 14:02:57 +00:00
.to receive(:execute).with(base_pipeline, head_pipeline).and_call_original
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
subject
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
end
Squashed commit of the following: commit 610c02c305d9fb3c7d271883450a5fee8b0cf16f Merge: f2088edb260 84f24dcef0d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 23:01:38 2018 +0900 Merge branch 'master-ce' into improve-junit-support-be commit f2088edb26008e5791b7be86fc02fc470c881143 Merge: c67e1d32cac 339f47abec1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 21:52:10 2018 +0900 Merge branch 'improve-junit-support-be' of gitlab.com:gitlab-org/gitlab-ce into improve-junit-support-be commit c67e1d32cac731b895e2f49a24ce0e1726b8196c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 21:51:39 2018 +0900 Remove debuggable fixtures commit 339f47abec1d0ce815e6103a087902d71d8ff5be Merge: 7a33a9be724 96b748fbcc0 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Aug 7 11:10:18 2018 +0100 Merge branch 'improve-junit-support-be' of https://gitlab.com/gitlab-org/gitlab-ce into improve-junit-support-be * 'improve-junit-support-be' of https://gitlab.com/gitlab-org/gitlab-ce: Add spec for latest Add spec for merge request Add spec for cache invalidation Add spec for pipeline Add spec Fix specs Support corrupted fixtures Add cache key to error message commit 7a33a9be724dbde79a24cec77658952ff2d2fa6c Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Aug 7 11:09:56 2018 +0100 Show resolved failures commit 96b748fbcc00a98a13aeb78f5d97de9cf25035b6 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:50:05 2018 +0900 Add spec for latest commit 0e8b024169b4b0ac272331117ac2fa821c4052f7 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:24:38 2018 +0900 Add spec for merge request commit 8690a699bc98394ad4deebdc91e6690758c5965e Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:18:55 2018 +0900 Add spec for cache invalidation commit 97678e1612826af409ca8a04b6c0dc830f7b66c6 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 18:01:03 2018 +0900 Add spec for pipeline commit 96c2a698af049e4026c68e74b1f41a265464b2b2 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 17:52:21 2018 +0900 Add spec commit 67bcbd25a3c13abb78ea43c0411f5aed417b87d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 17:39:02 2018 +0900 Fix specs commit d7d49def2023f85c07d2718b83f35c8849f65f05 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 13:11:07 2018 +0900 Support corrupted fixtures commit d58dbbc17a7d954db22082615f5331c148c1061b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 13:10:47 2018 +0900 Add cache key to error message commit f6f976216dc36333b5e05e3f0acdfca689350483 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 19:07:46 2018 +0900 bring back debaggable fixtures commit 48a7800e67a718145c0e88c324c0c1f9619e26a4 Merge: 2822b9e8a36 dd627072b3f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 09:22:22 2018 +0900 Merge branch 'master-ce' into improve-junit-support-be commit 2822b9e8a369162d098a72a58803c8494b2343cd Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 22:54:47 2018 +0900 Move cache invalidation policy to outside of reactive cache commit b35efb1764ae61bb31dacbf79dbc022dcee3a203 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 22:34:10 2018 +0900 ADd reactive cache an ability to invalite cache commit feafee6f8a50f4a32866d8ae768e99766b0b7c73 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 19:25:22 2018 +0900 Pipeline has test reports if latest builds have any commit f302dbb73abe03c6c431e7d52d526e28a1586fee Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 19:18:56 2018 +0900 Invalidate test reports cache if it's outdated commit 83adaca01a1ee1cd64cac86b6fa3d10e2e4e2b98 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 18:08:06 2018 +0900 Revert cache invalidation in expire pipeline cache worker commit ec3af5de4ca34e2e92ad6b97f29733d6c65062bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 15:13:47 2018 +0900 Fix feature spec commit 0db48805a1ba68763be0504eb57218bde2380e4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:07:46 2018 +0900 Change lifetime of test reports cache to 10 minutes commit 17f7e78bfe2188c349cda1ff90a3ea94d337461e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:07:19 2018 +0900 Add changelog commit 89c87585ab7f5333a8139c02b330dd2caf0be31a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 14:01:20 2018 +0900 Add feature spec commit 1120cfd7a9ab06105f2e763c375fab00922b7e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Aug 6 12:55:47 2018 +0900 Invalidate cache when pipeline status transits. Correct test reports from the latest builds
2018-08-07 14:02:57 +00:00
context 'when cached results is not latest' do
before do
allow_any_instance_of(Ci::CompareTestReportsService)
.to receive(:latest?).and_return(false)
end
it 'raises and InvalidateReactiveCache error' do
expect { subject }.to raise_error(ReactiveCaching::InvalidateReactiveCache)
end
end
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
end
end
context 'when head pipeline does not have test reports' do
let!(:head_pipeline) do
create(:ci_pipeline,
project: project,
ref: merge_request.source_branch,
sha: merge_request.diff_head_sha)
end
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
it 'returns status and error message' do
expect(subject[:status]).to eq(:error)
expect(subject[:status_reason]).to eq('This merge request does not have test reports')
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
end
end
end
describe '#all_commit_shas' do
context 'when merge request is persisted' do
let(:all_commit_shas) do
subject.merge_request_diffs.flat_map(&:commits).map(&:sha).uniq
end
shared_examples 'returning all SHA' do
it 'returns all SHAs from all merge_request_diffs' do
expect(subject.merge_request_diffs.size).to eq(2)
expect(subject.all_commit_shas).to match_array(all_commit_shas)
end
end
context 'with a completely different branch' do
before do
subject.update(target_branch: 'csv')
end
it_behaves_like 'returning all SHA'
end
context 'with a branch having no difference' do
before do
subject.update(target_branch: 'branch-merged')
subject.reload # make sure commits were not cached
end
it_behaves_like 'returning all SHA'
end
end
context 'when merge request is not persisted' do
context 'when compare commits are set in the service' do
let(:commit) { spy('commit') }
subject do
build(:merge_request, compare_commits: [commit, commit])
end
it 'returns commits from compare commits temporary data' do
expect(subject.all_commit_shas).to eq [commit, commit]
end
end
context 'when compare commits are not set in the service' do
subject { build(:merge_request) }
it 'returns array with diff head sha element only' do
expect(subject.all_commit_shas).to eq [subject.diff_head_sha]
end
end
end
end
describe '#short_merge_commit_sha' do
let(:merge_request) { build_stubbed(:merge_request) }
it 'returns short id when there is a merge_commit_sha' do
merge_request.merge_commit_sha = 'f7ce827c314c9340b075657fd61c789fb01cf74d'
expect(merge_request.short_merge_commit_sha).to eq('f7ce827c')
end
it 'returns nil when there is no merge_commit_sha' do
merge_request.merge_commit_sha = nil
expect(merge_request.short_merge_commit_sha).to be_nil
end
end
describe '#can_be_reverted?' do
context 'when there is no merge_commit for the MR' do
before do
subject.metrics.update!(merged_at: Time.now.utc)
end
it 'returns false' do
expect(subject.can_be_reverted?(nil)).to be_falsey
end
end
context 'when the MR has been merged' do
before do
MergeRequests::MergeService
.new(subject.target_project, subject.author)
.execute(subject)
end
context 'when there is no revert commit' do
it 'returns true' do
expect(subject.can_be_reverted?(nil)).to be_truthy
end
end
context 'when there is no merged_at for the MR' do
before do
subject.metrics.update!(merged_at: nil)
end
it 'returns true' do
expect(subject.can_be_reverted?(nil)).to be_truthy
end
end
context 'when there is a revert commit' do
let(:current_user) { subject.author }
let(:branch) { subject.target_branch }
let(:project) { subject.target_project }
let(:revert_commit_id) do
params = {
commit: subject.merge_commit,
branch_name: branch,
start_branch: branch
}
Commits::RevertService.new(project, current_user, params).execute[:result]
end
before do
project.add_maintainer(current_user)
ProcessCommitWorker.new.perform(project.id,
current_user.id,
project.commit(revert_commit_id).to_hash,
project.default_branch == branch)
end
context 'but merged at timestamp cannot be found' do
before do
allow(subject).to receive(:merged_at) { nil }
end
it 'returns false' do
expect(subject.can_be_reverted?(current_user)).to be_falsey
end
end
context 'when the revert commit is mentioned in a note after the MR was merged' do
it 'returns false' do
expect(subject.can_be_reverted?(current_user)).to be_falsey
end
end
context 'when there is no merged_at for the MR' do
before do
subject.metrics.update!(merged_at: nil)
end
it 'returns false' do
expect(subject.can_be_reverted?(current_user)).to be_falsey
end
end
context 'when the revert commit is mentioned in a note just before the MR was merged' do
before do
subject.notes.last.update!(created_at: subject.metrics.merged_at - 30.seconds)
end
it 'returns false' do
expect(subject.can_be_reverted?(current_user)).to be_falsey
end
end
context 'when the revert commit is mentioned in a note long before the MR was merged' do
before do
subject.notes.last.update!(created_at: subject.metrics.merged_at - 2.minutes)
end
it 'returns true' do
expect(subject.can_be_reverted?(current_user)).to be_truthy
end
end
end
end
end
describe '#merged_at' do
context 'when MR is not merged' do
let(:merge_request) { create(:merge_request, :closed) }
it 'returns nil' do
expect(merge_request.merged_at).to be_nil
end
end
context 'when metrics has merged_at data' do
let(:merge_request) { create(:merge_request, :merged) }
before do
merge_request.metrics.update!(merged_at: 1.day.ago)
end
it 'returns metrics merged_at' do
expect(merge_request.merged_at).to eq(merge_request.metrics.merged_at)
end
end
context 'when merged event is persisted, but no metrics merged_at is persisted' do
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request, :merged) }
before do
EventCreateService.new.merge_mr(merge_request, user)
end
it 'returns merged event creation date' do
expect(merge_request.merge_event).to be_persisted
expect(merge_request.merged_at).to eq(merge_request.merge_event.created_at)
end
end
context 'when merging note is persisted, but no metrics or merge event exists' do
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request, :merged) }
before do
merge_request.metrics.destroy!
SystemNoteService.change_status(merge_request,
merge_request.target_project,
user,
merge_request.state, nil)
end
it 'returns merging note creation date' do
expect(merge_request.reload.metrics).to be_nil
expect(merge_request.merge_event).to be_nil
expect(merge_request.notes.count).to eq(1)
expect(merge_request.merged_at).to eq(merge_request.notes.first.created_at)
end
end
end
describe '#participants' do
let(:project) { create(:project, :public) }
let(:mr) do
create(:merge_request, source_project: project, target_project: project)
end
let!(:note1) do
create(:note_on_merge_request, noteable: mr, project: project, note: 'a')
end
let!(:note2) do
create(:note_on_merge_request, noteable: mr, project: project, note: 'b')
end
it 'includes the merge request author' do
expect(mr.participants).to include(mr.author)
end
it 'includes the authors of the notes' do
expect(mr.participants).to include(note1.author, note2.author)
end
end
2016-06-02 13:25:40 +00:00
describe 'cached counts' do
it 'updates when assignees change' do
user1 = create(:user)
user2 = create(:user)
mr = create(:merge_request, assignee: user1)
mr.project.add_developer(user1)
mr.project.add_developer(user2)
2016-06-02 13:25:40 +00:00
expect(user1.assigned_open_merge_requests_count).to eq(1)
expect(user2.assigned_open_merge_requests_count).to eq(0)
2016-06-02 13:25:40 +00:00
mr.assignee = user2
mr.save
expect(user1.assigned_open_merge_requests_count).to eq(0)
expect(user2.assigned_open_merge_requests_count).to eq(1)
2016-06-02 13:25:40 +00:00
end
end
describe '#merge_async' do
2017-08-10 21:01:01 +00:00
it 'enqueues MergeWorker job and updates merge_jid' do
merge_request = create(:merge_request)
user_id = double(:user_id)
params = {}
2017-08-10 21:01:01 +00:00
merge_jid = 'hash-123'
expect(MergeWorker).to receive(:perform_async).with(merge_request.id, user_id, params) do
merge_jid
end
merge_request.merge_async(user_id, params)
2017-08-10 21:01:01 +00:00
expect(merge_request.reload.merge_jid).to eq(merge_jid)
end
end
describe '#check_if_can_be_merged' do
let(:project) { create(:project, only_allow_merge_if_pipeline_succeeds: true) }
2018-05-24 01:51:25 +00:00
shared_examples 'checking if can be merged' do
context 'when it is not broken and has no conflicts' do
before do
allow(subject).to receive(:broken?) { false }
allow(project.repository).to receive(:can_be_merged?).and_return(true)
end
2018-05-24 01:51:25 +00:00
it 'is marked as mergeable' do
expect { subject.check_if_can_be_merged }.to change { subject.merge_status }.to('can_be_merged')
end
end
2018-05-24 01:51:25 +00:00
context 'when broken' do
before do
allow(subject).to receive(:broken?) { true }
allow(project.repository).to receive(:can_be_merged?).and_return(false)
2018-05-24 01:51:25 +00:00
end
2018-05-24 01:51:25 +00:00
it 'becomes unmergeable' do
expect { subject.check_if_can_be_merged }.to change { subject.merge_status }.to('cannot_be_merged')
end
end
2018-05-24 01:51:25 +00:00
context 'when it has conflicts' do
before do
allow(subject).to receive(:broken?) { false }
allow(project.repository).to receive(:can_be_merged?).and_return(false)
end
it 'becomes unmergeable' do
expect { subject.check_if_can_be_merged }.to change { subject.merge_status }.to('cannot_be_merged')
end
end
end
2018-05-24 01:51:25 +00:00
context 'when merge_status is unchecked' do
subject { create(:merge_request, source_project: project, merge_status: :unchecked) }
2018-05-24 01:51:25 +00:00
it_behaves_like 'checking if can be merged'
end
context 'when merge_status is unchecked' do
subject { create(:merge_request, source_project: project, merge_status: :cannot_be_merged_recheck) }
it_behaves_like 'checking if can be merged'
end
end
describe '#mergeable?' do
let(:project) { create(:project) }
subject { create(:merge_request, source_project: project) }
it 'returns false if #mergeable_state? is false' do
expect(subject).to receive(:mergeable_state?) { false }
expect(subject.mergeable?).to be_falsey
end
it 'return true if #mergeable_state? is true and the MR #can_be_merged? is true' do
allow(subject).to receive(:mergeable_state?) { true }
expect(subject).to receive(:check_if_can_be_merged)
expect(subject).to receive(:can_be_merged?) { true }
expect(subject.mergeable?).to be_truthy
end
end
describe '#mergeable_state?' do
let(:project) { create(:project, :repository) }
subject { create(:merge_request, source_project: project) }
it 'checks if merge request can be merged' do
allow(subject).to receive(:mergeable_ci_state?) { true }
expect(subject).to receive(:check_if_can_be_merged)
subject.mergeable?
end
context 'when not open' do
before do
subject.close
end
it 'returns false' do
expect(subject.mergeable_state?).to be_falsey
end
end
context 'when working in progress' do
before do
subject.title = 'WIP MR'
end
it 'returns false' do
expect(subject.mergeable_state?).to be_falsey
end
end
context 'when broken' do
before do
allow(subject).to receive(:broken?) { true }
end
it 'returns false' do
expect(subject.mergeable_state?).to be_falsey
end
end
context 'when failed' do
context 'when #mergeable_ci_state? is false' do
before do
allow(subject).to receive(:mergeable_ci_state?) { false }
end
it 'returns false' do
expect(subject.mergeable_state?).to be_falsey
end
end
context 'when #mergeable_discussions_state? is false' do
before do
allow(subject).to receive(:mergeable_discussions_state?) { false }
end
it 'returns false' do
expect(subject.mergeable_state?).to be_falsey
end
it 'returns true when skipping discussions check' do
expect(subject.mergeable_state?(skip_discussions_check: true)).to be(true)
end
end
end
end
describe '#mergeable_ci_state?' do
let(:project) { create(:project, only_allow_merge_if_pipeline_succeeds: true) }
let(:pipeline) { create(:ci_empty_pipeline) }
subject { build(:merge_request, target_project: project) }
context 'when it is only allowed to merge when build is green' do
context 'and a failed pipeline is associated' do
before do
pipeline.update(status: 'failed', sha: subject.diff_head_sha)
allow(subject).to receive(:head_pipeline) { pipeline }
end
it { expect(subject.mergeable_ci_state?).to be_falsey }
end
context 'and a successful pipeline is associated' do
before do
pipeline.update(status: 'success', sha: subject.diff_head_sha)
allow(subject).to receive(:head_pipeline) { pipeline }
end
it { expect(subject.mergeable_ci_state?).to be_truthy }
end
context 'and a skipped pipeline is associated' do
before do
pipeline.update(status: 'skipped', sha: subject.diff_head_sha)
allow(subject).to receive(:head_pipeline) { pipeline }
end
it { expect(subject.mergeable_ci_state?).to be_truthy }
end
context 'when no pipeline is associated' do
before do
allow(subject).to receive(:head_pipeline) { nil }
end
it { expect(subject.mergeable_ci_state?).to be_truthy }
end
end
context 'when merges are not restricted to green builds' do
subject { build(:merge_request, target_project: build(:project, only_allow_merge_if_pipeline_succeeds: false)) }
context 'and a failed pipeline is associated' do
before do
pipeline.statuses << create(:commit_status, status: 'failed', project: project)
allow(subject).to receive(:head_pipeline) { pipeline }
end
it { expect(subject.mergeable_ci_state?).to be_truthy }
end
context 'when no pipeline is associated' do
before do
allow(subject).to receive(:head_pipeline) { nil }
end
it { expect(subject.mergeable_ci_state?).to be_truthy }
end
end
end
2016-07-01 21:53:46 +00:00
describe '#mergeable_discussions_state?' do
let(:merge_request) { create(:merge_request_with_diff_notes, source_project: project) }
context 'when project.only_allow_merge_if_all_discussions_are_resolved == true' do
let(:project) { create(:project, :repository, only_allow_merge_if_all_discussions_are_resolved: true) }
context 'with all discussions resolved' do
before do
merge_request.discussions.each { |d| d.resolve!(merge_request.author) }
end
it 'returns true' do
expect(merge_request.mergeable_discussions_state?).to be_truthy
end
end
context 'with unresolved discussions' do
before do
merge_request.discussions.each(&:unresolve!)
end
it 'returns false' do
expect(merge_request.mergeable_discussions_state?).to be_falsey
end
end
context 'with no discussions' do
before do
merge_request.notes.destroy_all # rubocop: disable DestroyAll
end
it 'returns true' do
expect(merge_request.mergeable_discussions_state?).to be_truthy
end
end
end
context 'when project.only_allow_merge_if_all_discussions_are_resolved == false' do
let(:project) { create(:project, :repository, only_allow_merge_if_all_discussions_are_resolved: false) }
context 'with unresolved discussions' do
before do
merge_request.discussions.each(&:unresolve!)
end
it 'returns true' do
expect(merge_request.mergeable_discussions_state?).to be_truthy
end
end
end
end
2017-02-07 00:06:46 +00:00
describe "#environments_for" do
let(:project) { create(:project, :repository) }
2017-02-07 00:06:46 +00:00
let(:user) { project.creator }
2016-08-03 11:37:39 +00:00
let(:merge_request) { create(:merge_request, source_project: project) }
2017-02-07 00:06:46 +00:00
before do
merge_request.source_project.add_maintainer(user)
merge_request.target_project.add_maintainer(user)
2017-02-07 00:06:46 +00:00
end
context 'with multiple environments' do
let(:environments) { create_list(:environment, 3, project: project) }
before do
create(:deployment, environment: environments.first, ref: 'master', sha: project.commit('master').id)
create(:deployment, environment: environments.second, ref: 'feature', sha: project.commit('feature').id)
end
it 'selects deployed environments' do
2017-02-07 00:06:46 +00:00
expect(merge_request.environments_for(user)).to contain_exactly(environments.first)
end
end
context 'with environments on source project' do
let(:source_project) { fork_project(project, nil, repository: true) }
2016-09-21 10:32:15 +00:00
let(:merge_request) do
create(:merge_request,
source_project: source_project, source_branch: 'feature',
target_project: project)
end
let(:source_environment) { create(:environment, project: source_project) }
before do
create(:deployment, environment: source_environment, ref: 'feature', sha: merge_request.diff_head_sha)
end
it 'selects deployed environments' do
2017-02-07 00:06:46 +00:00
expect(merge_request.environments_for(user)).to contain_exactly(source_environment)
end
context 'with environments on target project' do
let(:target_environment) { create(:environment, project: project) }
before do
create(:deployment, environment: target_environment, tag: true, sha: merge_request.diff_head_sha)
end
it 'selects deployed environments' do
2017-02-07 00:06:46 +00:00
expect(merge_request.environments_for(user)).to contain_exactly(source_environment, target_environment)
end
end
end
context 'without a diff_head_commit' do
before do
expect(merge_request).to receive(:diff_head_commit).and_return(nil)
end
it 'returns an empty array' do
2017-02-07 00:06:46 +00:00
expect(merge_request.environments_for(user)).to be_empty
end
2016-08-03 11:37:39 +00:00
end
end
2016-07-01 21:53:46 +00:00
describe "#reload_diff" do
it 'calls MergeRequests::ReloadDiffsService#execute with correct params' do
user = create(:user)
service = instance_double(MergeRequests::ReloadDiffsService, execute: nil)
2016-07-01 21:53:46 +00:00
expect(MergeRequests::ReloadDiffsService)
.to receive(:new).with(subject, user)
.and_return(service)
subject.reload_diff(user)
expect(service).to have_received(:execute)
end
context 'when using the after_update hook to update' do
context 'when the branches are updated' do
it 'uses the new heads to generate the diff' do
expect { subject.update!(source_branch: subject.target_branch, target_branch: subject.source_branch) }
.to change { subject.merge_request_diff.start_commit_sha }
.and change { subject.merge_request_diff.head_commit_sha }
end
end
end
end
2016-07-01 21:53:46 +00:00
describe '#update_diff_discussion_positions' do
let(:discussion) { create(:diff_note_on_merge_request, project: subject.project, noteable: subject).to_discussion }
let(:commit) { subject.project.commit(sample_commit.id) }
let(:old_diff_refs) { subject.diff_refs }
before do
2016-07-01 21:53:46 +00:00
# Update merge_request_diff so that #diff_refs will return commit.diff_refs
allow(subject).to receive(:create_merge_request_diff) do
subject.merge_request_diffs.create(
base_commit_sha: commit.parent_id,
start_commit_sha: commit.parent_id,
head_commit_sha: commit.sha
)
subject.merge_request_diff(true)
2016-07-01 21:53:46 +00:00
end
end
2016-07-01 21:53:46 +00:00
it "updates diff discussion positions" do
expect(Discussions::UpdateDiffPositionService).to receive(:new).with(
2016-07-01 21:53:46 +00:00
subject.project,
subject.author,
2016-07-01 21:53:46 +00:00
old_diff_refs: old_diff_refs,
new_diff_refs: commit.diff_refs,
paths: discussion.position.paths
2016-07-01 21:53:46 +00:00
).and_call_original
expect_any_instance_of(Discussions::UpdateDiffPositionService).to receive(:execute).with(discussion).and_call_original
2016-07-01 21:53:46 +00:00
expect_any_instance_of(DiffNote).to receive(:save).once
subject.update_diff_discussion_positions(old_diff_refs: old_diff_refs,
new_diff_refs: commit.diff_refs,
current_user: subject.author)
end
context 'when resolve_outdated_diff_discussions is set' do
before do
discussion
subject.project.update!(resolve_outdated_diff_discussions: true)
end
it 'calls MergeRequests::ResolvedDiscussionNotificationService' do
expect_any_instance_of(MergeRequests::ResolvedDiscussionNotificationService)
.to receive(:execute).with(subject)
subject.update_diff_discussion_positions(old_diff_refs: old_diff_refs,
new_diff_refs: commit.diff_refs,
current_user: subject.author)
end
2016-07-01 21:53:46 +00:00
end
end
describe '#branch_merge_base_commit' do
context 'source and target branch exist' do
it { expect(subject.branch_merge_base_commit.sha).to eq('ae73cb07c9eeaf35924a10f713b364d32b2dd34f') }
it { expect(subject.branch_merge_base_commit).to be_a(Commit) }
end
context 'when the target branch does not exist' do
before do
subject.project.repository.rm_branch(subject.author, subject.target_branch)
subject.clear_memoized_shas
end
it 'returns nil' do
expect(subject.branch_merge_base_commit).to be_nil
end
end
end
describe "#diff_refs" do
context "with diffs" do
subject { create(:merge_request, :with_diffs) }
it "does not touch the repository" do
subject # Instantiate the object
expect_any_instance_of(Repository).not_to receive(:commit)
subject.diff_refs
end
it "returns expected diff_refs" do
expected_diff_refs = Gitlab::Diff::DiffRefs.new(
base_sha: subject.merge_request_diff.base_commit_sha,
start_sha: subject.merge_request_diff.start_commit_sha,
head_sha: subject.merge_request_diff.head_commit_sha
)
expect(subject.diff_refs).to eq(expected_diff_refs)
end
end
end
describe "#source_project_missing?" do
let(:project) { create(:project) }
let(:forked_project) { fork_project(project) }
let(:user) { create(:user) }
let(:unlink_project) { Projects::UnlinkForkService.new(forked_project, user) }
2016-08-10 13:36:30 +00:00
context "when the fork exists" do
let(:merge_request) do
create(:merge_request,
source_project: forked_project,
target_project: project)
end
it { expect(merge_request.source_project_missing?).to be_falsey }
end
2016-08-10 13:36:30 +00:00
context "when the source project is the same as the target project" do
let(:merge_request) { create(:merge_request, source_project: project) }
it { expect(merge_request.source_project_missing?).to be_falsey }
end
2016-08-10 13:36:30 +00:00
context "when the fork does not exist" do
let!(:merge_request) do
create(:merge_request,
source_project: forked_project,
target_project: project)
end
2016-08-09 13:43:15 +00:00
it "returns true" do
unlink_project.execute
merge_request.reload
expect(merge_request.source_project_missing?).to be_truthy
end
end
end
describe '#merge_ongoing?' do
it 'returns true when the merge request is locked' do
merge_request = build_stubbed(:merge_request, state: :locked)
expect(merge_request.merge_ongoing?).to be(true)
end
it 'returns true when merge_id, MR is not merged and it has no running job' do
2017-08-10 21:01:01 +00:00
merge_request = build_stubbed(:merge_request, state: :open, merge_jid: 'foo')
allow(Gitlab::SidekiqStatus).to receive(:running?).with('foo') { true }
expect(merge_request.merge_ongoing?).to be(true)
end
it 'returns false when merge_jid is nil' do
merge_request = build_stubbed(:merge_request, state: :open, merge_jid: nil)
expect(merge_request.merge_ongoing?).to be(false)
end
it 'returns false if MR is merged' do
merge_request = build_stubbed(:merge_request, state: :merged, merge_jid: 'foo')
expect(merge_request.merge_ongoing?).to be(false)
end
it 'returns false if there is no merge job running' do
merge_request = build_stubbed(:merge_request, state: :open, merge_jid: 'foo')
allow(Gitlab::SidekiqStatus).to receive(:running?).with('foo') { false }
expect(merge_request.merge_ongoing?).to be(false)
end
end
describe "#closed_without_fork?" do
let(:project) { create(:project) }
let(:forked_project) { fork_project(project) }
let(:user) { create(:user) }
let(:unlink_project) { Projects::UnlinkForkService.new(forked_project, user) }
2016-08-10 13:36:30 +00:00
context "when the merge request is closed" do
let(:closed_merge_request) do
create(:closed_merge_request,
source_project: forked_project,
target_project: project)
end
2016-08-10 13:36:30 +00:00
it "returns false if the fork exist" do
expect(closed_merge_request.closed_without_fork?).to be_falsey
end
2016-08-10 13:36:30 +00:00
it "returns true if the fork does not exist" do
unlink_project.execute
closed_merge_request.reload
expect(closed_merge_request.closed_without_fork?).to be_truthy
end
end
2016-08-09 13:43:15 +00:00
2016-08-10 13:36:30 +00:00
context "when the merge request is open" do
2016-08-09 13:43:15 +00:00
let(:open_merge_request) do
create(:merge_request,
source_project: forked_project,
2016-08-09 13:43:15 +00:00
target_project: project)
end
it "returns false" do
expect(open_merge_request.closed_without_fork?).to be_falsey
end
end
end
2016-09-13 12:40:00 +00:00
describe '#reopenable?' do
2016-09-08 11:25:16 +00:00
context 'when the merge request is closed' do
it 'returns true' do
subject.close
2016-09-06 14:48:59 +00:00
2016-09-13 12:40:00 +00:00
expect(subject.reopenable?).to be_truthy
2016-09-08 11:25:16 +00:00
end
context 'forked project' do
let(:project) { create(:project, :public) }
2016-09-08 11:25:16 +00:00
let(:user) { create(:user) }
let(:forked_project) { fork_project(project, user) }
let!(:merge_request) do
2016-09-08 11:25:16 +00:00
create(:closed_merge_request,
source_project: forked_project,
2016-09-08 11:25:16 +00:00
target_project: project)
end
it 'returns false if unforked' do
Projects::UnlinkForkService.new(forked_project, user).execute
2016-09-08 11:25:16 +00:00
2016-09-13 12:40:00 +00:00
expect(merge_request.reload.reopenable?).to be_falsey
2016-09-08 11:25:16 +00:00
end
it 'returns false if the source project is deleted' do
Projects::DestroyService.new(forked_project, user).execute
2016-09-08 11:25:16 +00:00
2016-09-13 12:40:00 +00:00
expect(merge_request.reload.reopenable?).to be_falsey
2016-09-08 11:25:16 +00:00
end
2016-09-13 10:16:40 +00:00
it 'returns false if the merge request is merged' do
2018-07-02 10:43:06 +00:00
merge_request.update(state: 'merged')
2016-09-08 11:25:16 +00:00
2016-09-13 12:40:00 +00:00
expect(merge_request.reload.reopenable?).to be_falsey
2016-09-08 11:25:16 +00:00
end
end
2016-09-06 14:48:59 +00:00
end
2016-09-08 12:20:11 +00:00
context 'when the merge request is opened' do
2016-09-08 11:25:16 +00:00
it 'returns false' do
2016-09-13 12:40:00 +00:00
expect(subject.reopenable?).to be_falsey
2016-09-08 11:25:16 +00:00
end
2016-09-06 14:48:59 +00:00
end
end
describe '#mergeable_with_quick_action?' do
2016-11-24 14:05:15 +00:00
def create_pipeline(status)
2017-03-22 19:36:14 +00:00
pipeline = create(:ci_pipeline_with_one_job,
2016-11-24 14:05:15 +00:00
project: project,
ref: merge_request.source_branch,
sha: merge_request.diff_head_sha,
status: status,
head_pipeline_of: merge_request)
2017-03-28 20:04:14 +00:00
pipeline
2016-11-24 14:05:15 +00:00
end
let(:project) { create(:project, :public, :repository, only_allow_merge_if_pipeline_succeeds: true) }
2016-11-24 14:05:15 +00:00
let(:developer) { create(:user) }
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request, source_project: project) }
let(:mr_sha) { merge_request.diff_head_sha }
before do
project.add_developer(developer)
2016-11-24 14:05:15 +00:00
end
context 'when autocomplete_precheck is set to true' do
it 'is mergeable by developer' do
expect(merge_request.mergeable_with_quick_action?(developer, autocomplete_precheck: true)).to be_truthy
2016-11-24 14:05:15 +00:00
end
it 'is not mergeable by normal user' do
expect(merge_request.mergeable_with_quick_action?(user, autocomplete_precheck: true)).to be_falsey
2016-11-24 14:05:15 +00:00
end
end
context 'when autocomplete_precheck is set to false' do
it 'is mergeable by developer' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy
2016-11-24 14:05:15 +00:00
end
it 'is not mergeable by normal user' do
expect(merge_request.mergeable_with_quick_action?(user, last_diff_sha: mr_sha)).to be_falsey
2016-11-24 14:05:15 +00:00
end
context 'closed MR' do
before do
merge_request.update_attribute(:state, :closed)
end
it 'is not mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_falsey
2016-11-24 14:05:15 +00:00
end
end
context 'MR with WIP' do
before do
merge_request.update_attribute(:title, 'WIP: some MR')
end
it 'is not mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_falsey
2016-11-24 14:05:15 +00:00
end
end
context 'sha differs from the MR diff_head_sha' do
it 'is not mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: 'some other sha')).to be_falsey
2016-11-24 14:05:15 +00:00
end
end
2016-12-30 19:49:59 +00:00
context 'sha is not provided' do
it 'is not mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer)).to be_falsey
2016-12-30 19:49:59 +00:00
end
end
2016-11-24 14:05:15 +00:00
context 'with pipeline ok' do
before do
create_pipeline(:success)
end
it 'is mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy
2016-11-24 14:05:15 +00:00
end
end
context 'with failing pipeline' do
before do
create_pipeline(:failed)
end
it 'is not mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_falsey
2016-11-24 14:05:15 +00:00
end
end
context 'with running pipeline' do
before do
2017-03-28 20:04:14 +00:00
create_pipeline(:running)
2016-11-24 14:05:15 +00:00
end
it 'is mergeable' do
expect(merge_request.mergeable_with_quick_action?(developer, last_diff_sha: mr_sha)).to be_truthy
2016-11-24 14:05:15 +00:00
end
end
end
end
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
describe '#base_pipeline' do
let(:pipeline_arguments) do
{
project: project,
ref: merge_request.target_branch,
sha: merge_request.diff_base_sha
}
end
let(:project) { create(:project, :public, :repository) }
Squashed commit of the following: commit 1095f6636db1c9bcd200c9c59e4b14ae70c0884b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:25:45 2018 +0900 Fix spec commit dd3e46ee15712b046ca83600c9f2694fbdc3a5f8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 14:14:59 2018 +0900 Fix static analysis commit 32f46f402b53fc23770224f5c890bd4acfc39e60 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 11:34:05 2018 +0900 Add spec for preventing N+1 querires. Add spec for merge request controller. commit 7e12ef867b3e20bf1d35421a3b82350e9c673962 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 10:22:45 2018 +0900 Add spec for test reports comparer serializer commit 6d69bb297afc90386bb847cf0fd1e75fc377e9d7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:27:41 2018 +0900 Remove unnecessary comments commit aca76ded6abf65d1f54008f9865ec7055f51300c Merge: f6cf7c1c98b 9812e5dd7c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:26:57 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit f6cf7c1c98b29c6a9a2e59d0a438bf77972e0aee Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 09:23:08 2018 +0900 Use iid for making unique key for reactive cache commit 642a3d9215fc004ceaa431648a44d3a7671fb9e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 23:39:14 2018 +0900 Mkae reactive cache key unique per pipeline ids commit 24ca34107837375364560e83b37fce8e4f7edfbd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 21:41:30 2018 +0900 Add spec for entity commit e761d9d3e9a56d878d6e71a636a29f0f13c9c78f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 19:32:41 2018 +0900 Add spec for merge request model commit 3c740854b9ac348993c715f24eeb5e6487d57ad6 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 16:19:01 2018 +0900 Add spec for build and pipeline model commit 027a553badc080195f3b3aceba931407939e1535 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 15:17:00 2018 +0900 Add specs for test reports comparer commit f4a63066e5517605c40b526b3085097e885c6051 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 14:00:46 2018 +0900 Add test_reports_spec commit 18a285a52b064dc894200925af15a2b1f02e7840 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 11:16:57 2018 +0900 Simpolify reactive cache usage. Improve code structure. commit faaa41e5bcf4c6c76881957e96e4b3b278aee460 Merge: 9a6b3b7f0ab d799da4a18e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:19:26 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 9a6b3b7f0ab32a70f63b1fe81d78616e6f88f4cc Merge: 04cd0ed8812 b690c268c2c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 09:18:48 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit d799da4a18ec9f0d91dd48ac1c9abc3283235b99 Merge: dc874468571 04cd0ed8812 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:53 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce into artifact-format-v2-with-parser * 'artifact-format-v2-with-parser' of https://gitlab.com/gitlab-org/gitlab-ce: Remove debuggable fixtures commit dc8744685713a8ab9d3eb7987c7fcf898e8dcd38 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 17:49:35 2018 +0100 Removes frontend code commit 04cd0ed8812f5fdd9cd00540155ec01edc0b42de Merge: 8003540237e 0295e478b22 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:58 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 8003540237e9070a93ccd1b89a65b1f45ba8234d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 1 00:13:39 2018 +0900 Remove debuggable fixtures commit 0295e478b2267c10186c7b9aa9e3bb1bfa8a1b43 Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 16:12:25 2018 +0100 Fixes broken tests commit 4fa50ca7fc1e3ab5d0995dc85245fc8ba013d2ce Author: Filipa Lacerda <filipa@gitlab.com> Date: Tue Jul 31 10:59:44 2018 +0100 Ports EE css into CE code base Creates unit tests Creates code block component commit 2dc45f714f449bd71b03f34585724e46be9bee4f Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:20:22 2018 +0900 Remove unnecessary parameters from build#each_test_report commit 89d7398ae71bff15a397c2b10eb5134e2bc43a7b Merge: 08d6ac5262c 02e35a0d263 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 18:09:49 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 08d6ac5262c14f1d67d74238927bcaf62d8efab5 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 17:57:02 2018 +0900 Add spec for test case and test suite commit 9d6da7c97fea6ce2086225500a04663b10339b6b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 16:35:31 2018 +0900 Add spec for gzip parser and adapter commit 4c29079c4aeda0bde7c3ce6d9f1d5d5da9ffd657 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 11:41:33 2018 +0900 Include status at each level. Refactor back to success/failed commit 3fa747db101f4d421e539b7c591a85db02011d2e Merge: 4f7e9d54d52 69c87c3d1f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:51 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 4f7e9d54d5298bfb1566028f59009cc2b665ae3b Merge: 18ed332734a 7758fdf1ad1 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 31 10:18:18 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 69c87c3d1f0559ea21bb8b5f1005685db59aded5 Author: Filipa Lacerda <filipa@gitlab.com> Date: Mon Jul 30 15:58:11 2018 +0100 Removes create issue handlers Hides grey block when no issues are present commit 18ed332734a2c95a9f93bc7d173c8b76d22867fe Merge: 05944862e9c 2c15e359c38 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:14:44 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 05944862e9ce9983ed258b7795166faffb38522a Merge: c1bef2ee559 3d2dad449da Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 23:13:50 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit 2c15e359c38d208cab16852489d9317657bd805c Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:48 2018 +0100 Patched a weird status issue commit 5a76071b91aa40de9dc1b0e5537fa3f8f081fdcd Merge: 6a2c69f8ab6 c1bef2ee559 Author: samdbeckham <sbeckham@gitlab.com> Date: Mon Jul 30 11:14:06 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit c1bef2ee559c0f3c263daf2d3e92a4485cdd010e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 17:23:58 2018 +0900 Add fixtures to check the behavior with multi patterns commit b2ccce593b578c434febdd2f945a665a6652fd4e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:40:37 2018 +0900 Fix a fixture in spec - merge request widget json commit 29dfd45264427f6bd064aa62401c6be5ac4c4e14 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:35:34 2018 +0900 Update old changes commit c26dae72f28939e1ee2e884c260278035fa0549a Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:26:39 2018 +0900 Fix static analysis commit e9ad9df37d09330c1a6d23ac46d0923cb24fe636 Merge: fda5e9bd986 1f9992625ed Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 30 10:20:16 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 6a2c69f8ab643960e434af867e8b61399b1dafc2 Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:54:02 2018 +0100 Auto fixes with eslint commit c7b9fa252b9726903ef808d1bf02441527f88c7b Author: samdbeckham <sbeckham@gitlab.com> Date: Fri Jul 27 15:53:30 2018 +0100 Updates the textGenerator for reports commit fda5e9bd9864be7fba8f576bd9af4e58a5929e98 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:20:15 2018 +0900 Remove unnecessary schema change commit 06e0967508e1fea5934bd68c490f505d8f7233d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:06:28 2018 +0900 Fix schema version commit e63cc95742eac125691f8d3aac2820bbcc6113ec Merge: 8a734c3d933 8b3c7f57b24 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 27 16:03:31 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 0d613f03203a84f91efaec9b6e0244cfc6603457 Author: Sam Beckham <sbeckham@gitlab.com> Date: Thu Jul 26 16:24:48 2018 +0000 Full list of vulnerabilities commit 8a734c3d9333415707fe73a233278d2dbafabc38 Author: samdbeckham <sbeckham@gitlab.com> Date: Thu Jul 26 17:20:07 2018 +0100 Cherry picks an update to the report component and updates the codebase to use it commit e16a2ddd47066521220c045daf3a55367d008edf Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 18:00:39 2018 +0100 Adds the 'new' badge to the issues list commit ac9bc3a293724c6729a2b58273344dc920fffa8b Merge: f013f0219cf 44904f34593 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 16:44:25 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit f013f0219cf2ac52fc4a7c8937c1cadd750adeae Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes some missed conflicts commit 44904f34593d62d3b68a57e54118b6c31b050a6f Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:47:30 2018 +0100 Fixes a missed conflict commit 735a49154075b4824421c4c1180ef6428b6fe64c Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:44:04 2018 +0100 Fixes some merge conflicts commit ef5c9a5853b3cff1f5a952e5a87593c187834019 Merge: 181f98f695e 8f3b9c0d313 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:31:48 2018 +0100 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 181f98f695eac05ffc6b5d57d665f4bd52d43f21 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 15:27:48 2018 +0100 Adds a proper check for loading errors commit 24b108d4b15c87c1dd530ccd9bf7ed1b1a44faa3 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 14:09:57 2018 +0100 Adds a fake conditional for checking if we should render the modal footer or not commit 5f4b682afae624feebeea101cae2517f673467f4 Author: samdbeckham <sbeckham@gitlab.com> Date: Wed Jul 25 13:43:24 2018 +0100 Adds a patch to get this working again after the rebase commit 0252d861556cf66098e7e589f5889887b7b0309b Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit b8207fae37cd035010e66c158211913f41790bf8 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 297e51fed1ad30be6207f244e97a678c9275aa76 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit b20da289fb6c45466bf47a09ac6c33625806936b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit f1cef58465f5936a74c0cb23167b5d4a51ecc46c Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit c2387c534c11a29cc0db815cb3219dd80bb6ed03 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit 761aec1dc095c30e1eee0bf2a3ea7eceb19a5e06 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit da01a9748c764e2d1ca4cc669417ef14ff11a195 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8a8678f58e86f29a69d052978b3b76fcb9baeacc Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit d84e1b0be459b314f4fb706e381f1c36235135e8 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 1a8490ffe81f1e8a9173a50a3c0a8b017e968697 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit b38389fa0e576d76f90075cb5a606260dd87cf95 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit c6a1a39efefb7b8e938ec679c57ca6810a8f8919 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit f0077c4708c246eedb6f9259c3b3b23c29755b26 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit a76c54543e945b4f1644a4db151e639e2a000e0e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 10475fab64d2fc13e52edf8bef83031e44232f15 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 6332df56993b28ce57713571df36ff03473993e7 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit f507f19e42941b2f01b4dda62b94e5b6ae546135 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 364242eebe35946d2d2ff6face693af8da2a953f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 5149115670f2afc57820cb564794d2452290763b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit cb70174fe7624a3dc128ab085e6ae529563b7f49 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit dceb8b58a13396d9181be0e8be49a0b35509c039 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit d492832d30408d5f475910c8ccdd6f34108e7c61 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit f432fd975a0b2428c89dc0274be307bdf6b68438 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit f83de3fe4ba42a0e64dcdcb950aecdd632f94076 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit 575be347d8d29c8216b7ee5b449ac8adc5cbd349 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit f04fc5766ae45b3b7941c4447fd3d32a5e262245 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 1511f7052aeb8f32b533fe56034f54ead3139f79 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit 78b3ba38298c6e7ca838e34bd0a3897a9ce78568 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit ab583ce712314648900033de48b3a1e6a13f08d0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit d432f1665b8146527721b667d4b6abe61d8c57f6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit 7523168a1e9612e17c55d0b42d2d9c664d0d942d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit 55b9340539ac1ac69490d8c0e58a81c157964799 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit b98c907a9cc5c165cf26b0297914ae57d202f715 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit 49d196a0d4964b23027bd429092c78ab05d28658 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit 292e10b98628abc554c53a8d7b0345edcb5dbd66 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit b59d68c9b9a39aeb4a25f19e27b2495c7e2b2f85 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 67137d6159e194290c2bb2fb2c25e6373453596d Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 2184358cfcc93394ed2bb5d6ace09101439596ea Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 618e023055f229d908c68213f456a7797156f7cf Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 0b5f9ff76f87b5d3b9c2eebd4ab8c69de5d4c201 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 5fa026db0baa32cd063fbff3ec2532144f089236 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit b4dcab7b7f89ed0bf3103a5b0022343620a0dec4 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 4f3c9f152e432c7d7fd18e21988a9c371cac4617 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 1477d1a09bb3ba1fc6d82241f1414708a93a269d Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit 26d0d36671b3e6adb3d224a854f0eefe75cfc86c Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 00487d2d0e29b7713a8e4d66d0b29c3fa98ed901 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit 33c42f2185a1cc959ab4d2823be437cb81d4f144 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit a53aa6539700a5719c87eb11be974384277d5d24 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit d4f837fe925171453c52b076b8a23231f72a9d4b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit c4223e29138440f8debfe486d6a7bf8645930dbf Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 3a50b86d147734ccf406991309d86ebb41a828c8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 0dd37009c4e202422746577cb95651b32def8c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 4db135e362ac05d71112d654334bd57271d23fd8 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit 0f7a011aa7c2c996919653fd64cdc71f98d68bc4 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit cd3d10e572f6036e46b96f760f1f8ab26099d2cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit cab90b2a5aac6f72ef5817ed568b002742039798 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit 50780a664021ec5abe55d79541cc6b47a33c421b Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e6310b515c0a7d6bf02c58342f35dd327afbb3aa Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit 0eb356b93d1834c6a32ee11b4bd488387406b257 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit 35f350d18de8df0bda6a27cf9cf5f88784108a5f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit 2db42fd6115ebc5710f89bd542a0cb724d480f25 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit fa73365d10ff56ceb9c19d2f0d17b8847059026f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit ac76ad67871225abf1830a87f05639296a4bf07d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 32d25b13914cb4e6e7d5293b181c2bbf2a083978 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit b62faddf033bcbf964e161b484b9b6ca8adbddd6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit 314ac2baf2192a466a2873889798d4b90f27adc6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit 37cbfbde7048bf5bc36c87d57bdf34399d7365c0 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 2dc2d704366ca600e7fa064fb7db75a73a3b3149 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit 66edd04c62a6b33dfa12962b8e7ccc7132c49fa1 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit d586f03067678457223c8ea4e6ed925e05a19c92 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 58aef7a7a8944d0bbb0a87b86cad2bc250d759d8 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit f14e1b19af5e2657e5956815453525c2d1489e0f Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 05e4967af37ed8a211099a7a3623069a41c3d078 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit 8a7267c79ed0499a8352338170564d4a5f008cc5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit ca6820a76a00f56f851154ca4792e243b5df3ffd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit 9c78003f6d5d15da2074622007ca117b8b54226e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit 9168513e33fa4b5bb40eb1a3af65535520ae4309 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit d83cf2163a71c6606eafdbc79cc753cbd139ab77 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit e64af496b4b147d221fd99ef6b2343c4fcbfef1d Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit 20c333c9cb2cc66daaa000af5178c3d700a85e95 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit 16b670f42daf3a3fc6ca1443b6a50e4473231c46 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit 808355fae0c9869a26c95a90b0efe17a7b6e26d2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit 8e2048603f94b29af55884edc3113b99af910dfa Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 3331af0ab1761868a9daa1c8ab3dad7f2017f511 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components commit 8f3b9c0d313f9eeef1b6e6b5eccf622156e960bd Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:25:05 2018 +0900 Skip comparison if head and base pipelines are the same as before commit 9cabd787fc392c7a442cd8b2de798da36c8b67bc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 25 16:24:05 2018 +0900 Fix N+1 problem at collect_test_reports commit 21de18bf9fecdfadadb80c5a071ff5d7af6ff524 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 21:00:03 2018 +0900 Implement reactive cache worker commit 09c2fa31897bf8a42183a23bf98d5163c5e95860 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 16:58:56 2018 +0900 Refactoring test_results to test_reports commit 41a439c75983a8bd200e0728b231487ff6e1699c Merge: bc959fffb1a 7105b37a558 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:29 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit bc959fffb1a1e8937078a1399dad2f698534ac84 Merge: 291a9236547 1ebaaaf2094 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:23:01 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 1ebaaaf2094c47c03e16745d2f8af736ec102b76 Merge: bfdf565800b dc7b4b7bb97 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:22:29 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 291a923654714b6c24fd654c41c5b0caa90daff2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 23 14:12:58 2018 +0900 Revert archive_metadata refactoring commit 7105b37a558acf22a23125cddfefc517c040a0fb Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 22:57:01 2018 +0100 Adds action to handle the create issue button Moves component to inside mr widget Fixes eslint errors commit d82efd8fa8329758dd3a956d5d47956ccb3ce643 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:57:10 2018 +0100 Removes mocked data commit 5cfe99006ed539fbc9e0a184b09af4be63e6d91b Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 18:54:06 2018 +0100 Render grouped test report in MR widget commit 8e74f14c26b9df6a4fdc4fb79322b13b06c3c509 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 13:15:35 2018 +0100 Follow up after review: Clear Vuex actions and mutations commit 570e7713c76b247c6da886dc60edce10657558b1 Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 09:37:45 2018 +0100 Moves payload to the correct action commit 04b473b68969a57d7c5fa33fe46c18bd9ee6bddf Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 16:10:25 2018 +0100 Adds payload to the fetchReports success spec commit a3eb4001181d6d0ae8f3a62d0452a06f67500cc6 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 14:48:54 2018 +0100 Updates documentation and test mock endpoint commit 920b74f519091000dc73a3be02c472ea226aa451 Author: Filipa Lacerda <filipa@gitlab.com> Date: Thu Jul 19 12:49:44 2018 +0100 Adds Vuex store for reports section in MR widget commit ebebf4042bbcdcc32d5aa65b0da470ddc52f0f8e Author: Filipa Lacerda <filipa@gitlab.com> Date: Fri Jul 20 12:44:16 2018 +0100 Initial structure for reports app commit 746c260d5e4ae4604a3b072e9c58e6c2ee1e114e Merge: 82a8d55742f bfdf565800b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:15:32 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit bfdf565800b58e838a760aa01d2fadb64e2d768f Merge: 681bd6a878a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:10:47 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit 82a8d55742f73a43c5281af8245f5e5873985344 Merge: b2183151e6a 44dbeccbe10 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:07:30 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit b2183151e6a7344a327883a2658030920e256e47 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 19:06:46 2018 +0900 Check pipeline status at has_test_results? commit 681bd6a878ad2a77c278f5619b51c542d7382aa2 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:19:46 2018 +0900 Specify DOWNTIME=false commit 59c4e31390e0d616d69babf8ac857e98f2dc774e Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:14:44 2018 +0900 Wrap long lines commit 3d85788edbe73fc74c72854508e47fe259d99236 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 18:05:31 2018 +0900 Checking filr_format and file_type paring commit 3c92a22faf6278e7a2d1ee13bd978bc659b72452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:07:21 2018 +0900 Fix build presenter spec commit 36e69897b0524cdee6060c928c03af734afae664 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 16:02:09 2018 +0900 Erase test reports at the proper timing commit 402ae97ecf7f9e3fe541f2d6abef6e47ab740452 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:46:56 2018 +0900 Make GENERAL_ARCHIVE_FILE_TYPE as a single entry commit 75f75b3f5988398fff0660ca5f04aec756ab03bb Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 15:42:16 2018 +0900 Implement config artifact presenter commit 9ecaee914defba5f12a7a06375ea2876b4328d7f Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 14:27:54 2018 +0900 Introduce ARCHIVE_LEGACY_TRACES_MIGRATION_VERSION check commit 34ea9610ab9a249a576ee435f365b9e1fcca7f00 Merge: d88523ca884 b60364c0f37 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 20 13:46:52 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit d88523ca88420354f61bd36f533c62a6ca474423 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 21:00:40 2018 +0900 Revert unnecessary change commit d9beb10ede5e4e8abe388fadbd6412640293917a Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:57:03 2018 +0900 Remove scattering around erase_test_reports! commit c79f361ca01f8dbc0d395edee5fab7f5a0697934 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:53:00 2018 +0900 Rever archive_metadata refactoring (For simplifying) commit 55bc71a404d8cf5fa87e187f6e88da92ab95afa9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:45:19 2018 +0900 Use array_of_strings_or_string in Command commit 8a576b18c8ab8ead2344e2885aaf2fde11af0328 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 20:40:06 2018 +0900 Fix spec commit a2cda62fb922184aaf0e78699e06846c96565e0d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:27:11 2018 +0900 Fix presenter spec commit 95502e605af9bcf1a61dbeb26f9be4d181f8a7ba Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:23:41 2018 +0900 Fix artifact migratable commit a3930853c93862007ba6814511bc32042c7f4986 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 18:15:41 2018 +0900 Increment migration version to use `file_format` when archiving traces commit e31121cb5e617b0f05e375c2150ece0e38e5e0d6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 17:57:15 2018 +0900 Impolement job_artifact.test_reports method commit e54707fdf97392839cb2c4711160bd3bc89da196 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:49:27 2018 +0900 Fix erase method commit 20e95824341af1ebc5877d28dc5eba26f73eddf9 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 16:28:00 2018 +0900 Fix spec commit be2083ff9cceacd6bdd64a9521081278111400a7 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 15:31:42 2018 +0900 Add java ant Junit test report in fixtures commit d47efe84ff6dda79edd00c9b055d752872af1e11 Merge: e0dc7d97efd 7ade498101d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:57 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit 7ade498101d02573b20a2405ebe0bdb8efd8aa3b Merge: e7be6b2b362 98eccfc44c5 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 19 12:37:22 2018 +0900 Merge branch 'master-ce' into artifact-format-v2 commit e0dc7d97efdc0a3ddeb29f8b29f7d18e34607960 Merge: 26578902d09 1859a0f9e0c Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:20 2018 +0900 Merge branch 'artifact-format-v2-with-parser' of gitlab.com:gitlab-org/gitlab-ce into artifact-format-v2-with-parser commit 26578902d097979ca32a6453a33d699209077aa5 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 20:59:01 2018 +0900 Add fixtures which can export all kind of reports (new/resolved/exisiting) commit 1859a0f9e0c0f8f10ba640a8826b9ccade9fd15f Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Wed Jul 18 12:17:49 2018 +0200 Add summary to test results json commit 47dfdc732e850fd1390d25d50b1ef7a99491770a Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 16:43:20 2018 +0900 Fix fixtures for development commit 8b761adfb85d0631d2a78169f8440aca3b40c86d Merge: 84c64a792bf e7be6b2b362 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:44:10 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit e7be6b2b3624ba44d56143084731cb9a6168f974 Merge: 5a8d4930e01 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:36 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 5a8d4930e0127aae311bfa3da70d9ab9637791e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 15:43:28 2018 +0900 Evaluate artifact_format commit 84c64a792bf5d3a42bd8000eaa9fc6f5aeacc604 Merge: e2670a3c642 9bdc9b1ae69 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 18 13:28:42 2018 +0900 Merge branch 'master-ce' into artifact-format-v2-with-parser commit e2670a3c642ba33e79202fc9adb044a78260c515 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 18:00:59 2018 +0200 Expose all data with API on Merge Request commit 5ea46ce5cd6d0f74802216d1c63d274a48d3cd08 Author: Kamil Trzciński <ayufan@ayufan.eu> Date: Tue Jul 17 17:18:19 2018 +0200 Improve code of JUnit reports commit 0553827fff5e1796bbfcdd7a5daf324a7dd16ea0 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 20:13:31 2018 +0900 Refactoring suites. Adding gurad clause at collect_test_results commit 55edde40b15b3499cfc7ecbbe08f15cae9f6661a Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 19:52:01 2018 +0900 Implement comprare failed tests commit 612c44a39099edfb258cc3c1c8e650ab192d9a8b Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 18:50:03 2018 +0900 Objectize each test suit and summary commit 598b34072c2c7b417e47945389b88e5103fc4b17 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 17:55:34 2018 +0900 Pass build.group_name as testsuite name commit d0ad35fcc4b1d9c58d798775e13623026900ed27 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:35:06 2018 +0900 Remove unnecessary files commit 541292c37e5ad24f4d137454743808cfc1f3c216 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Jul 17 16:26:37 2018 +0900 Add parser and testresults commit c61465b962dd2774cf08ef7db81ab358a2c08ba5 Merge: da6e141e7b9 c3ce06aa9bc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:28:12 2018 +0900 Merge branch 'artifact-format-v2' into artifact-format-v2-with-parser commit c3ce06aa9bc6481b37a16d175adf0fd1c37a1bc0 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 22:27:46 2018 +0900 Fix sending junit.xml commit e5ce3668ee65217aba610d5311efd5e82bacddf3 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 19:02:06 2018 +0900 Add spec for Gitlab::Ci::Config::Entry::Artifacts commit ede107caf13fb215045576dcce18e20eec776df1 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:58:28 2018 +0900 Revert refactoring commit 15531ba9feff669b2ac05936e0feaee1856c1571 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:57:31 2018 +0900 Revert refactoring commit 14821f3babcc210bc52e4e825adc8333752fbc88 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:55:41 2018 +0900 Add spec for file format. Add spec for config_artifacts commit 882faeab57ab39d18f72abd9b65d286db92e1011 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:20:28 2018 +0900 Add file_format to factory commit 3cd0513e254db15141cd748f6209179f462974f2 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:12:52 2018 +0900 Rename migration file properly commit f511933b5f618fc47d1512554878913922dfba61 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 17:09:57 2018 +0900 Revert artifacts_archive_file refactoring commit e295e8cbdee065ee3af6dd82f512729554237cad Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 16:03:26 2018 +0900 Dry up the converion in Entry::Reports commit b0ffa42f6410be4718e7a36cb21f7b585421750e Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:50:42 2018 +0900 Set file_format at callers commit f3dc7a2e02901c79a9e572514a1b731c680e43cc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 15:47:51 2018 +0900 Use presenter for presenting artifacts hash to runner commit e5299526138be90d65cf13368134e734b46f7597 Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:59:09 2018 +0900 Support deleting junit artifact. Make wording explicit commit cc81c34acf23323257d190c23030d0a89265bccc Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 14:35:12 2018 +0900 Add changelog commit abde0f2ab5c5c1d99b2f94a049984877bb5a4d77 Merge: 4c87e5b388f fabf6a5634f Author: Shinya Maeda <shinya@gitlab.com> Date: Mon Jul 16 13:22:22 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 4c87e5b388fb098fb6da71e17a47fa204033e4ac Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 17:33:07 2018 +0900 Fix static analysis commit bc96346be6990b75da9a36055814b24b5b805707 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 16:43:02 2018 +0900 Fix Config::Entry::Artifacts commit aac284613b9db43e3021198dc5b43b81806f1bce Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 14:40:20 2018 +0900 Generalized by DEFAULT_FILE_FORMAT commit a79299fdbb0ed74000ca37cff8fef8268cd29b13 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:55:02 2018 +0900 Cleanup API::Entities::JobRequest::Artifacts commit 1650249214768c23f6f46ec62c0c54448017eeb5 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:25:52 2018 +0900 Simplified file_type relations commit 981da91bc4c255ff992870e4e4c4393696f5bece Merge: e79808425eb 924146a8d6b Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 13 13:18:20 2018 +0900 Merge branch 'master' into artifact-format-v2 commit e79808425eb63c322a997e71d606d97b85e42048 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 18:16:52 2018 +0900 Remove unnecessary change commit da6e141e7b9ff28cc1fb25ab42c979b0dee46277 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:41:35 2018 +0900 Add gzip XML parser commit a531bd7487955143489d286a0fb2e5d0984acc52 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 17:40:35 2018 +0900 Fix errors typo commit 57d6f21821c8ad934874c1aac3f627335c64c80d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:32:35 2018 +0900 Use the correct type name commit da4ca63f25a27a1268317952061c81a28516653f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:29:21 2018 +0900 Refactor job_artifacts_metadata to job_artifacts_archive_metadata commit 4098a8f10f92a6efa48080f8925809e251066f9d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:23:55 2018 +0900 Add job_artifacts_junit relation commit 5342f07e100253713dbf50eb303da1977484077f Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:14:03 2018 +0900 Fix raw to raw? commit 15e0abcb22d9db3d8ef955e647f0a5d0a49c26b6 Merge: 31252fe8d75 ba38931d90b Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 12 13:12:38 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 31252fe8d751319c5390f898f66f0af4a8581013 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 19:05:51 2018 +0900 Temporaly use type Hash for reports commit 583165c0349f40e7be16a8039dbffb4139f94921 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:27:21 2018 +0900 Revert unnecessary change commit eb48369b8311b538f46f59a31f4a6d3f8c9e68e1 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:21:46 2018 +0900 Use file_format raw for trace commit fb69ae8349d58499ad21965c0d1cf95e2b79a8e3 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:20:10 2018 +0900 Check the presence of the file_format commit c0840224bc8789d35da032c2a0ee48aa9f2232aa Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:16:19 2018 +0900 Add format_restriction validation commit d64fbd388cb2294447df5185366d8b5016591949 Merge: 7ec81e7c7d1 c2a0a3ab1ae Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Jul 11 15:11:44 2018 +0900 Merge branch 'master' into artifact-format-v2 commit 7ec81e7c7d115f77d712892dfc79db72b9f5bc7a Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:23:54 2018 +0900 Artifacts presenter (Halfway) commit a3ccbe4c3a9b7d3095fe1929dee5fd9c57e168e0 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 20:22:52 2018 +0900 Fix schema.rb commit b630c670c707548799c6852e4465ef94fb4a0572 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:26:03 2018 +0900 Allow reports type under artifacts. Allow junit keyword in it. commit e7e37612487b556320d27f4fe0de32cd4ec20720 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 19:25:10 2018 +0900 Change column name to artifact_format commit f3f25d56a7c627f4bb9d91d19de175273a7a6a81 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 18:02:21 2018 +0900 Rename metadata to archive_metadata, and compress to file_format commit d7e0709319ab8fe35a2598a3d484eb89b1885934 Author: Shinya Maeda <shinya@gitlab.com> Date: Fri Jul 6 17:47:18 2018 +0900 Validate compression. Clean up schema commit beb5990e7e3bfbb308245dc97284aaf9700bd982 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 19:06:54 2018 +0900 Make compression params at the first level commit 1e2e1c0db5412e1aed3bf47562350c20c69dc1a6 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Jul 5 16:31:03 2018 +0900 Reorganize components
2018-08-02 06:05:07 +00:00
let(:merge_request) { create(:merge_request, source_project: project) }
let!(:first_pipeline) { create(:ci_pipeline_without_jobs, pipeline_arguments) }
let!(:last_pipeline) { create(:ci_pipeline_without_jobs, pipeline_arguments) }
it 'returns latest pipeline' do
expect(merge_request.base_pipeline).to eq(last_pipeline)
end
end
describe '#has_commits?' do
before do
2017-06-21 13:48:12 +00:00
allow(subject.merge_request_diff).to receive(:commits_count)
.and_return(2)
end
it 'returns true when merge request diff has commits' do
expect(subject.has_commits?).to be_truthy
end
end
describe '#has_no_commits?' do
before do
2017-06-21 13:48:12 +00:00
allow(subject.merge_request_diff).to receive(:commits_count)
.and_return(0)
end
it 'returns true when merge request diff has 0 commits' do
expect(subject.has_no_commits?).to be_truthy
end
end
describe '#merge_request_diff_for' do
subject { create(:merge_request, importing: true) }
let!(:merge_request_diff1) { subject.merge_request_diffs.create(head_commit_sha: '6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') }
let!(:merge_request_diff2) { subject.merge_request_diffs.create(head_commit_sha: nil) }
let!(:merge_request_diff3) { subject.merge_request_diffs.create(head_commit_sha: '5937ac0a7beb003549fc5fd26fc247adbce4a52e') }
context 'with diff refs' do
it 'returns the diffs' do
expect(subject.merge_request_diff_for(merge_request_diff1.diff_refs)).to eq(merge_request_diff1)
end
end
context 'with a commit SHA' do
it 'returns the diffs' do
expect(subject.merge_request_diff_for(merge_request_diff3.head_commit_sha)).to eq(merge_request_diff3)
end
end
it 'runs a single query on the initial call, and none afterwards' do
expect { subject.merge_request_diff_for(merge_request_diff1.diff_refs) }
.not_to exceed_query_limit(1)
expect { subject.merge_request_diff_for(merge_request_diff2.diff_refs) }
.not_to exceed_query_limit(0)
expect { subject.merge_request_diff_for(merge_request_diff3.head_commit_sha) }
.not_to exceed_query_limit(0)
end
end
describe '#version_params_for' do
subject { create(:merge_request, importing: true) }
let(:project) { subject.project }
let!(:merge_request_diff1) { subject.merge_request_diffs.create(head_commit_sha: '6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9') }
let!(:merge_request_diff2) { subject.merge_request_diffs.create(head_commit_sha: nil) }
let!(:merge_request_diff3) { subject.merge_request_diffs.create(head_commit_sha: '5937ac0a7beb003549fc5fd26fc247adbce4a52e') }
context 'when the diff refs are for an older merge request version' do
let(:diff_refs) { merge_request_diff1.diff_refs }
it 'returns the diff ID for the version to show' do
expect(subject.version_params_for(diff_refs)).to eq(diff_id: merge_request_diff1.id)
end
end
context 'when the diff refs are for a comparison between merge request versions' do
let(:diff_refs) { merge_request_diff3.compare_with(merge_request_diff1.head_commit_sha).diff_refs }
it 'returns the diff ID and start sha of the versions to compare' do
expect(subject.version_params_for(diff_refs)).to eq(diff_id: merge_request_diff3.id, start_sha: merge_request_diff1.head_commit_sha)
end
end
context 'when the diff refs are not for a merge request version' do
let(:diff_refs) { project.commit(sample_commit.id).diff_refs }
it 'returns nil' do
expect(subject.version_params_for(diff_refs)).to be_nil
end
end
end
describe '#fetch_ref!' do
2017-11-06 14:23:41 +00:00
it 'fetches the ref correctly' do
expect { subject.target_project.repository.delete_refs(subject.ref_path) }.not_to raise_error
subject.fetch_ref!
expect(subject.target_project.repository.ref_exists?(subject.ref_path)).to be_truthy
end
end
describe 'removing a merge request' do
it 'refreshes the number of open merge requests of the target project' do
project = subject.target_project
expect { subject.destroy }
.to change { project.open_merge_requests_count }.from(1).to(0)
end
end
it_behaves_like 'throttled touch' do
subject { create(:merge_request, updated_at: 1.hour.ago) }
end
context 'state machine transitions' do
describe '#unlock_mr' do
subject { create(:merge_request, state: 'locked', merge_jid: 123) }
it 'updates merge request head pipeline and sets merge_jid to nil' do
pipeline = create(:ci_empty_pipeline, project: subject.project, ref: subject.source_branch, sha: subject.source_branch_sha)
subject.unlock_mr
subject.reload
expect(subject.head_pipeline).to eq(pipeline)
expect(subject.merge_jid).to be_nil
end
end
describe 'transition to cannot_be_merged' do
let(:notification_service) { double(:notification_service) }
let(:todo_service) { double(:todo_service) }
subject { create(:merge_request, state, merge_status: :unchecked) }
before do
allow(NotificationService).to receive(:new).and_return(notification_service)
allow(TodoService).to receive(:new).and_return(todo_service)
allow(subject.project.repository).to receive(:can_be_merged?).and_return(false)
end
[:opened, :locked].each do |state|
context state do
let(:state) { state }
it 'notifies conflict, but does not notify again if rechecking still results in cannot_be_merged' do
expect(notification_service).to receive(:merge_request_unmergeable).with(subject).once
expect(todo_service).to receive(:merge_request_became_unmergeable).with(subject).once
subject.mark_as_unmergeable
subject.mark_as_unchecked
subject.mark_as_unmergeable
end
it 'notifies conflict, whenever newly unmergeable' do
expect(notification_service).to receive(:merge_request_unmergeable).with(subject).twice
expect(todo_service).to receive(:merge_request_became_unmergeable).with(subject).twice
subject.mark_as_unmergeable
subject.mark_as_unchecked
subject.mark_as_mergeable
subject.mark_as_unchecked
subject.mark_as_unmergeable
end
it 'does not notify whenever merge request is newly unmergeable due to other reasons' do
allow(subject.project.repository).to receive(:can_be_merged?).and_return(true)
expect(notification_service).not_to receive(:merge_request_unmergeable)
expect(todo_service).not_to receive(:merge_request_became_unmergeable)
subject.mark_as_unmergeable
end
end
end
[:closed, :merged].each do |state|
let(:state) { state }
context state do
it 'does not notify' do
expect(notification_service).not_to receive(:merge_request_unmergeable)
expect(todo_service).not_to receive(:merge_request_became_unmergeable)
subject.mark_as_unmergeable
end
end
end
context 'source branch is missing' do
subject { create(:merge_request, :invalid, :opened, merge_status: :unchecked, target_branch: 'master') }
before do
allow(subject.project.repository).to receive(:can_be_merged?).and_call_original
end
it 'does not raise error' do
expect(notification_service).not_to receive(:merge_request_unmergeable)
expect(todo_service).not_to receive(:merge_request_became_unmergeable)
expect { subject.mark_as_unmergeable }.not_to raise_error
expect(subject.cannot_be_merged?).to eq(true)
end
end
end
describe 'check_state?' do
it 'indicates whether MR is still checking for mergeability' do
state_machine = described_class.state_machines[:merge_status]
check_states = [:unchecked, :cannot_be_merged_recheck]
check_states.each do |merge_status|
expect(state_machine.check_state?(merge_status)).to be true
end
(state_machine.states.map(&:name) - check_states).each do |merge_status|
expect(state_machine.check_state?(merge_status)).to be false
end
end
end
end
describe '#should_be_rebased?' do
let(:project) { create(:project, :repository) }
it 'returns false for the same source and target branches' do
merge_request = create(:merge_request, source_project: project, target_project: project)
expect(merge_request.should_be_rebased?).to be_falsey
end
end
describe '#rebase_in_progress?' do
shared_examples 'checking whether a rebase is in progress' do
let(:repo_path) do
Gitlab::GitalyClient::StorageSettings.allow_disk_access do
subject.source_project.repository.path
end
end
let(:rebase_path) { File.join(repo_path, "gitlab-worktree", "rebase-#{subject.id}") }
before do
system(*%W(#{Gitlab.config.git.bin_path} -C #{repo_path} worktree add --detach #{rebase_path} master))
end
it 'returns true when there is a current rebase directory' do
expect(subject.rebase_in_progress?).to be_truthy
end
it 'returns false when there is no rebase directory' do
FileUtils.rm_rf(rebase_path)
expect(subject.rebase_in_progress?).to be_falsey
end
it 'returns false when the rebase directory has expired' do
time = 20.minutes.ago.to_time
File.utime(time, time, rebase_path)
expect(subject.rebase_in_progress?).to be_falsey
end
it 'returns false when the source project has been removed' do
allow(subject).to receive(:source_project).and_return(nil)
expect(subject.rebase_in_progress?).to be_falsey
end
end
context 'when Gitaly rebase_in_progress is enabled' do
it_behaves_like 'checking whether a rebase is in progress'
end
context 'when Gitaly rebase_in_progress is enabled', :disable_gitaly do
it_behaves_like 'checking whether a rebase is in progress'
end
end
describe '#allow_collaboration' do
let(:merge_request) do
build(:merge_request, source_branch: 'fixes', allow_collaboration: true)
end
it 'is false when pushing by a maintainer is not possible' do
expect(merge_request).to receive(:collaborative_push_possible?) { false }
expect(merge_request.allow_collaboration).to be_falsy
end
it 'is true when pushing by a maintainer is possible' do
expect(merge_request).to receive(:collaborative_push_possible?) { true }
expect(merge_request.allow_collaboration).to be_truthy
end
end
describe '#collaborative_push_possible?' do
let(:merge_request) do
build(:merge_request, source_branch: 'fixes')
end
before do
allow(ProtectedBranch).to receive(:protected?) { false }
end
it 'does not allow maintainer to push if the source project is the same as the target' do
merge_request.target_project = merge_request.source_project = create(:project, :public)
expect(merge_request.collaborative_push_possible?).to be_falsy
end
it 'allows maintainer to push when both source and target are public' do
merge_request.target_project = build(:project, :public)
merge_request.source_project = build(:project, :public)
expect(merge_request.collaborative_push_possible?).to be_truthy
end
it 'is not available for protected branches' do
merge_request.target_project = build(:project, :public)
merge_request.source_project = build(:project, :public)
expect(ProtectedBranch).to receive(:protected?)
.with(merge_request.source_project, 'fixes')
.and_return(true)
expect(merge_request.collaborative_push_possible?).to be_falsy
end
end
describe '#can_allow_collaboration?' do
let(:target_project) { create(:project, :public) }
let(:source_project) { fork_project(target_project) }
let(:merge_request) do
create(:merge_request,
source_project: source_project,
source_branch: 'fixes',
target_project: target_project)
end
let(:user) { create(:user) }
before do
allow(merge_request).to receive(:collaborative_push_possible?) { true }
end
it 'is false if the user does not have push access to the source project' do
expect(merge_request.can_allow_collaboration?(user)).to be_falsy
end
it 'is true when the user has push access to the source project' do
source_project.add_developer(user)
expect(merge_request.can_allow_collaboration?(user)).to be_truthy
end
end
describe '#merge_participants' do
it 'contains author' do
expect(subject.merge_participants).to eq([subject.author])
end
describe 'when merge_when_pipeline_succeeds? is true' do
describe 'when merge user is author' do
let(:user) { create(:user) }
subject do
create(:merge_request,
merge_when_pipeline_succeeds: true,
merge_user: user,
author: user)
end
it 'contains author only' do
expect(subject.merge_participants).to eq([subject.author])
end
end
describe 'when merge user and author are different users' do
let(:merge_user) { create(:user) }
subject do
create(:merge_request,
merge_when_pipeline_succeeds: true,
merge_user: merge_user)
end
it 'contains author and merge user' do
expect(subject.merge_participants).to eq([subject.author, merge_user])
end
end
end
end
2011-11-28 07:39:43 +00:00
end