Commit Graph

20 Commits

Author SHA1 Message Date
Marcel Amirault 98d6db4b43 Update regex for docs branches in ci
Changes * to + to be more precise with acceptable branch names
2019-08-02 06:24:07 +00:00
Rémy Coutable 6dad5cc194
Ensure review-stop can run even when the branch has been deleted
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-01 12:45:25 +02:00
Rémy Coutable 8f501a74bd
Remove the wait_for_review_app_to_be_accessible step from review-deploy
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-07-30 19:13:43 +02:00
Desiree Chevalier a1bee1a09d Generate parallel spec reports
Creates reports for parallel specs and collates them into a single
HTML report and displays results on the merge request.
2019-07-17 10:12:56 -04:00
Rémy Coutable 69e1ed0dc8
Retry review-deploy only once
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-07-04 18:14:11 +02:00
Lukas Eipert d5842e7490
Prefer offline install for yarn 2019-07-02 16:29:47 +02:00
Rémy Coutable a90f12f77d
Let Helm handle the cleanup and print logs when deployment fails
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-06-25 11:09:06 +02:00
Rémy Coutable cc5c967029
Retry review-deploy and review-qa-* jobs twice
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-06-25 11:09:05 +02:00
Rémy Coutable 8cf2a57bc9
Allow the review-deploy and review-qa-* jobs to fail for now
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-06-05 18:14:08 +02:00
Mark Lapierre 3922c6da84 Generate knapsack report for review-qa-all
Add knapsack qa report and use it to run tests in parallel

Use the RSpec runner with knapsack

The way the Knapsack runner uses exec to start rspec seems
incompatible with the way we expect it to work. Plus, it requires
specifying KNAPSACK_TEST_DIR.

Instead, we use knapsacks AllocatorBuilder to select the spec
files to run, and then start rspec as normal, via
RSpec::Core::Runner.run

This also means we can incorporate tags.

Let the job run automatically

Include KNAPSACK_TEST_FILE_PATTERN in vars

Check all defined knapsack env vars before requiring knapsack
2019-06-03 10:37:43 +00:00
Rémy Coutable 8bd6f72ee6
Disallow the review-deploy and review-qa-smoke jobs to fail
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-15 15:37:51 +02:00
Stan Hu a50951d73a Upgrade Ruby version to 2.6.3
Ruby 2.6 offers better performance and memory usage:
https://www.rubyguides.com/2018/11/ruby-2-6-new-features/

Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/57323
2019-05-08 06:21:14 -07:00
Rémy Coutable a0d7fc8d50
Move the build-qa-image to the test stage
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-06 13:45:02 +02:00
Rémy Coutable 75006919f7
Improve Review Apps scheduled cleanup
By moving it to the `build` stage and adding `action: stop` to it.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-26 01:15:15 +02:00
Rémy Coutable 9649c2ef47
Organize better Review Apps and QA jobs
Also, play manual jobs once dependency jobs are done instead of polling
for the dependent jobs to be finished.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24 19:25:37 +02:00
Rémy Coutable d0efb430ce
Make the Review App cleanup more efficient
Ensure that the cleanup starts right away.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-19 10:50:43 +02:00
Rémy Coutable 5572b168e6
Retry the review-deploy job twice
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-19 10:50:42 +02:00
Marcel Amirault 7b614f4fc1 Update review.gitlab-ci.yml to fix review-stop 2019-04-18 09:28:59 +00:00
Rémy Coutable 6526e91fbf
Retry twice the review-qa-smoke job
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-17 20:02:58 +02:00
Kamil Trzciński 931d84ac00 Refactor .gitlab-ci.yml 2019-04-15 14:16:58 +02:00