- 07 6月, 2019 1 次提交
-
-
由 syasonik 提交于
Error classes associated with individual stages of dashboard processing tend to have very long names. As dashboard post-processing includes more steps, we will likely need to handle more error cases. Refactoring to have all errors inherit from a specific base class will help accommodate this and keep the code more readable.
-
- 06 6月, 2019 5 次提交
-
-
由 syasonik 提交于
-
由 syasonik 提交于
Adds a new stage to dashboard processesing step for the EnvironmentsController::metrics_dashboard endpoint. Allows the front end to avoid generating the endpoint unitutive string mutations.
-
由 Mario de la Ossa 提交于
-
由 Jacob Vosmaer 提交于
-
由 Kamil Trzciński 提交于
This commit adds CI job that validates all `*.yml` with `yamllint`. This commit fixes all offenses present in repository.
-
- 05 6月, 2019 9 次提交
-
-
-
由 Patrick Bajao 提交于
Since we're prepending the ActiveRecord::Extension module, we can take advantage of it and avoid using an alias to extend the original #attributes method.
-
由 Patrick Bajao 提交于
It's not needed anymore as we require `#cache_key` instead.
-
由 Wolphin 提交于
-
由 Phil Hughes 提交于
-
由 Patrick Bajao 提交于
This commit also includes some changes in specs to use `Class.new` approach.
-
由 Patrick Bajao 提交于
This allows using `CacheMarkdownField` for models that are not backed by ActiveRecord. When the including class inherits `ActiveRecord::Base` we include `Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the markdown fields to be rendered and the generated HTML stored in a `<field>_html` attribute on the record. We also store the version used for generating the markdown. All other classes that include this model will include the `Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html` attributes to that model and will generate the html in them. The generated HTML will be cached in redis under the key `markdown_cache:<class>:<id>`. The class this included in must therefore respond to `id`.
-
由 drew cimino 提交于
Refactored regex pattern matching to eagerly return tokens Packaged behind a default-enabled feature flag and added operator documentation.
-
由 Ryan Cobb 提交于
-
- 04 6月, 2019 7 次提交
-
-
由 Tim Rizzi 提交于
-
由 Thong Kuah 提交于
Both the `install-<app>` and `uninstall-<app>` pods loads the `values-content-configuration-<app>` configmap into the pod (see `#volume_specification`). This configmap contains the cert necessary to connect to Tiller. The cert though is only valid for 30 minutes. So this fixes the bug where the configmap when uninstalling should be updated as well.
-
由 Jan Provaznik 提交于
In some cases (during worker start) it's possible that Puma.stats returns an empty hash for worker's last status. In that case we just skip sampling of the worker until these stats are available.
-
由 Thong Kuah 提交于
See https://github.com/helm/helm/releases/tag/v2.14.0 for upstream changelog
-
由 Bob Van Landuyt 提交于
This exposes all fields named `id` as GlobalIDs so they can be used across our entire GraphQL implementation. When the objects loaded are `ApplicationRecord`s. We'll use our existing batchloading to find them. Otherwise, we'll fall back to the default implementation of `GlobalID`: Calling the `.find` method on the class.
-
由 Tim Rizzi 提交于
-
由 Ryan Cobb 提交于
-
- 03 6月, 2019 4 次提交
-
-
由 Bob Van Landuyt 提交于
This turns Notable::RESOLVABLE_TYPES into a `Notable.resolvable_types`. That allows us to override it in EE.
-
由 Alessio Caiazza 提交于
We can query namespaces, and nested projects. Projects now exposes statistics
-
由 Zeger-Jan van de Weg 提交于
Delta islands were implemented last released in: https://gitlab.com/gitlab-org/gitaly/merge_requests/1110. It's been enabled on production and works as expected.
-
由 Shinya Maeda 提交于
We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
-
- 01 6月, 2019 5 次提交
-
-
由 Francisco Javier López 提交于
-
由 Oswaldo Ferreira 提交于
This introduces payload to the ServiceResponse with the merge ref HEAD commit data
-
由 Oswaldo Ferreira 提交于
-
由 Oswaldo Ferreira 提交于
This couples the code that transitions the `MergeRequest#merge_status` and refs/merge-requests/:iid/merge ref update. In general, instead of directly telling `MergeToRefService` to update the merge ref, we should rely on `MergeabilityCheckService` to keep both the merge status and merge ref synced. Now, if the merge_status is `can_be_merged` it means the merge-ref is also updated to the latest. We've also updated the logic to be more systematic and less user-based.
-
由 Oswaldo Ferreira 提交于
Adds migrations to reset the merge_status of opened, mergeable MRs. That's required by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28513 so we're able to sync the status update along merge-ref, without leaving MRs with a stale merge-ref.
-
- 31 5月, 2019 9 次提交
-
-
由 Kerri Miller 提交于
This extends POST#:id/repository/commits to allow the optional parameter `:start_project`, which will allow targeting other projects besides the one derived from `:id`. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/50850
-
由 charlie ablett 提交于
- Comply doc with guidelines - Improve tests for readability and completeness - Separate out phases visually with newlines - Add `format_message` test - test readability - code and test structure/styling - static query analyzers - call `as_json` on `provided_variables` - add exception handling
-
由 Bob Van Landuyt 提交于
This sets up all the basics for importing Phabricator tasks into GitLab issues. To import all tasks from a Phabricator instance into GitLab, we'll import all of them into a new project that will have its repository disabled. The import is hooked into a regular ProjectImport setup, but similar to the GitHub parallel importer takes care of all the imports itself. In this iteration, we're importing each page of tasks in a separate sidekiq job. The first thing we do when requesting a new page of tasks is schedule the next page to be imported. But to avoid deadlocks, we only allow a single job per worker type to run at the same time. For now we're only importing basic Issue information, this should be extended to richer information.
-
由 Vladimir Shushlin 提交于
Remove migration generating lets encrypt key Don't generate private_key if database is readonly For reference: This reverts commit 988a7f70489b99383b95e9f271a2caf6bb5b3a44. This reverts commit 21acbe531592d55caf0e5b8716a3b551dafd6233.
-
由 Shinya Maeda 提交于
We've already migrated all the legacy artifacts to the new realm, which is ci_job_artifacts table. It's time to remove the old code base that is no longer used.
-
由 Tim Rizzi 提交于
-
由 Imre Farkas 提交于
-
由 Imre Farkas 提交于
-
由 Tim Rizzi 提交于
-