gitlab-org--gitlab-foss/spec
Kamil Trzciński b9c8a3d22a Merge branch 'fix/trace-patch-updated-at' into 'master'
Update the updated_at of a build while patching the trace

## What does this MR do?

Fixes build patching trace. It should update the `updated_at` field of a build to make sure it will not be removed by `stuck_ci_builds_worker`.

## Are there points in the code the reviewer needs to double check?

Construction of a test for the bug.

## Why was this MR needed?

Please read #22087 for a reference.

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Fixes #22087

See merge request !7146
2016-11-16 23:26:13 +00:00
..
bin
config
controllers Merge branch '21992-disable-access-requests-by-default' into 'master' 2016-11-16 14:50:45 +00:00
factories
features Merge branch '21992-disable-access-requests-by-default' into 'master' 2016-11-16 14:50:45 +00:00
finders Merge branch '21992-disable-access-requests-by-default' into 'master' 2016-11-16 14:50:45 +00:00
fixtures
helpers Merge branch '23117-search-for-a-filename-in-a-project' into 'master' 2016-11-16 15:32:18 +00:00
initializers
javascripts explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
lib Search for a filename in a project 2016-11-16 14:25:54 +02:00
mailers
models Merge branch 'fix-failing-user-without-projects-specs' into 'master' 2016-11-16 22:01:05 +00:00
policies
requests Merge branch 'fix/trace-patch-updated-at' into 'master' 2016-11-16 23:26:13 +00:00
routing
serializers
services Merge branch 'adam-build-missing-services-when-necessary' into 'master' 2016-11-16 16:27:54 +00:00
support
tasks/gitlab
uploaders
views
workers
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb
teaspoon_env.rb