summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Include type to notes import / export49517-fix-notes-import-exportHeinrich Lee Yu2019-05-171-2/+5
|
* Add Let's Encrypt clientVladimir Shushlin2019-05-163-0/+188
| | | | | | | | | | | | | | Part of adding Let's Encrypt certificates for pages domains Add acme-client gem Client is being initialized by private key stored in secrets.yml Let's Encrypt account is being created lazily. If it's already created, Acme::Client just gets account_kid by calling new_account method Make Let's Encrypt client an instance Wrap order and challenge classes
* Merge branch 'bvl-add-corrilation-id-to-all-exception' into 'master'Douglas Barbosa Alexandre2019-05-141-1/+4
|\ | | | | | | | | | | | | Add correlation id to all sentry errors Closes #61699 See merge request gitlab-org/gitlab-ce!28253
| * Add correlation id to all sentry errorsBob Van Landuyt2019-05-131-1/+4
| | | | | | | | | | | | | | | | Before this, we were only adding the correlation id to the "acceptable exceptions" which we handle in code. But we need to add it to the default raven context so the information would be available for uncaught exceptions.
* | EE backport to CE of favicon_spec.rbsingle-codebase-favicon-specs-cemove-ee-favicon-spec-changes-to-eelmcandrew2019-05-131-1/+1
|/
* Update usage_data_spec to match EEJames Lopez2019-05-091-2/+2
|
* Refactor spec to reload existing_label right after creationPatrick Derichs2019-05-081-0/+40
| | | | | This will avoid timestamp comparison issues later within equality check with attributes
* Merge branch '56850-add-new-unicorn-metrics' into 'master'Ash McKenzie2019-05-073-8/+71
|\ | | | | | | | | | | | | Resolve "Add new Unicorn metrics" Closes #56850 See merge request gitlab-org/gitlab-ce!27474
| * Cleanup spec by removing not needed letRyan Cobb2019-04-301-2/+1
| |
| * Update docs and calculate process start time via proc tableRyan Cobb2019-04-242-9/+15
| | | | | | | | | | | | This updates monitor docs to reflect the new ruby and unicorn metrics as well as making it so we fetch process start time via the proc table instead of via CLOCK_BOOTTIME
| * Move process specific metrics to ruby samplerRyan Cobb2019-04-242-8/+25
| | | | | | | | | | These metrics are not unicorn specific and can be used across ruby processes
| * Adds new metrics for unicorn monitoringRyan Cobb2019-04-182-5/+46
| | | | | | | | | | | | This adds new metrics for monitoring unicorn. These metrics include process_cpu_seconds_total, process_start_time_seconds, process_max_fds, and unicorn_workers.
* | Fix issuables state_id nil when importing projects from GitHubFelipe Artur2019-05-063-0/+6
| | | | | | | | | | | | Issues and merge requests imported from GitHub are having state_id set to null. This fixes the GitHub project importer and schedule migrations to fix state_id.
* | Merge branch '30093-apply-bfg-object-map-to-database' into 'master'Douwe Maan2019-05-063-99/+92
|\ \ | | | | | | | | | | | | | | | | | | Remove cleaned up OIDs from database and cache Closes #30093 See merge request gitlab-org/gitlab-ce!26555
| * | Remove cleaned up OIDs from database and cacheNick Thomas2019-05-063-99/+92
| | |
* | | Merge branch 'jc-disconnect-git-alternates-client' into 'master'Stan Hu2019-05-063-3/+72
|\ \ \ | | | | | | | | | | | | | | | | Add client methods for DisconnectGitAlternates rpc See merge request gitlab-org/gitlab-ce!27938
| * | | Add client methods for DisconnectGitAlternates rpcjc-disconnect-git-alternates-clientJohn Cai2019-05-033-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | DisconnectGitAlternates is a Gitaly RPC that will delete a repository's objects/info/alternates file. This commit adds client support for that RPC.
* | | | Merge branch 'fix-merge-request-pipeline-exist-method' into 'master'Bob Van Landuyt2019-05-061-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Fix duplicate merge request pipelines created by Sidekiq worker retry See merge request gitlab-org/gitlab-ce!26643
| * | | Fix merge request pipeline exist methodfix-merge-request-pipeline-exist-methodShinya Maeda2019-05-061-1/+1
| | | | | | | | | | | | | | | | Refactor
* | | | Merge branch 'jej/session-stored-globaly' into 'master'Dmitriy Zaporozhets2019-05-062-0/+49
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Session stored globally per request See merge request gitlab-org/gitlab-ce!27658
| * | | Session stored globally per requestjej/session-stored-globalyJames Edwards-Jones2019-05-022-0/+49
| | | | | | | | | | | | | | | | | | | | - This can be accessed with Session.current and is restored after. - Data can be stored under a key with NamespacedSessionStore
* | | | Run rubocop -a on CE filessh-upgrade-rubocop-0.68.0-ceStan Hu2019-05-051-5/+5
| | | |
* | | | Add gitlab-managed option to clusters formMayra Cabrera2019-05-031-0/+6
| |/ / |/| | | | | | | | | | | | | | | | | | | | When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
* | | Use git_garbage_collect_worker to run pack_refsJan Provaznik2019-05-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | PackRefs is not an expensive gitaly call - we want to call it more often (than as part of full `gc`) because it helps to keep number of refs files small - too many refs file may be a problem for deployments with slow storage.
* | | Adds a way to start multiple manual jobs in stageMayra Cabrera2019-05-022-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds an endpoint on PipelinesController - Adds a service that iterates over every build in a stage and plays it. - Includes 'play_manual' details on EntitySerializer - Builds a new Stage state: PlayManual. An stage can take this status if it has manual builds or an skipped, scheduled or manual status - Includes FE modifications and specs
* | | Update deployment chat message notificationJason Goodman2019-05-021-0/+3
| | | | | | | | | | | | | | | Include link to user and commit title. Rearrange text
* | | Merge branch ↵Douwe Maan2019-05-021-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '53064-bypassing-pipeline-jobs-by-canceling-the-pipeline-and-manually-running-later-jobs' into 'master' Disable retrying cancelled jobs Closes #53064 See merge request gitlab-org/gitlab-ce!27503
| * | | Update specs that use retryable canceled jobsmfluharty2019-04-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specs that test canceled jobs now - expect them not to be retryable or playable - expect them not to show retry buttons Specs that test retryability now - use failed status instead of canceled status
* | | | Add opentracing integration for graphqlJan Provaznik2019-05-022-33/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extends existing graphql's tracer with opentracing measurements. Because it also adds Tracing::Graphql class (for opentracing), it also renames Graphql::Tracing class to Graphql::GenericTracing to minimize confusion with similar class names.
* | | | Update metrics dashboard API to load yml from repoSarah Yasonik2019-05-015-47/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the EnvironmentController#metrics_dashboard endpoint to support a "dashboard" param, which can be used to specify the filepath of a dashboard configuration from a project repository. Dashboard configurations are expected to be stored in .gitlab/dashboards/. Updates dashboard post-processing steps to exclude custom metrics, which should only display on the system dashboard.
* | | | Merge branch 'jc-client-for-fetch-objects-into-pool' into 'master'Stan Hu2019-04-303-77/+62
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add client methods for FetchIntoObjectPool RPC See merge request gitlab-org/gitlab-ce!27767
| * | | | Add client methods for FetchIntoObjectPool RPCJohn Cai2019-04-303-77/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an object pool. If the pool doesn't exist, it will create an empty pool before attempting the fetch. This change adds client code as well as specs to cover this behavior.
* | | | | Merge branch 'pl-fix-k8s-ns-query-variables' into 'master'Grzegorz Bizon2019-04-301-4/+24
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use correct k8s namespace in Prometheus queries See merge request gitlab-org/gitlab-ce!27812
| * | | | | Use correct k8s namespace in Prometheus queriesPeter Leitzen2019-04-291-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit the wrong namespace could have been used in Prometheus queries for group-level installations.
* | | | | | Docs aren't reviewed using rouletteEvan Read2019-04-301-11/+10
| | | | | |
* | | | | | Teach Helm::Api about #uninstallThong Kuah2019-04-291-0/+22
| |/ / / / |/| | | |
* | | | | Merge branch 'use-keyword-args-for-databuilder-push' into 'master'Douglas Barbosa Alexandre2019-04-291-4/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use keyword args for databuilder push See merge request gitlab-org/gitlab-ce!24088
| * | | | | Use all keyword args for DataBuilder::Push.build()Jonathon Reinhart2019-04-251-4/+7
| | | | | |
* | | | | | Merge branch 'bvl-initialize-design-repo-ce' into 'master'Douwe Maan2019-04-291-0/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Port changes for design management to CE See merge request gitlab-org/gitlab-ce!27555
| * | | | | Port changes for design management to CEBob Van Landuyt2019-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE
* | | | | | Merge branch 'sh-fix-profiler-ruby-5.1' into 'master'28996-automatic-https-certificate-creation-renewal-for-pages-custom-domains-228996-automatic-https-certificate-creation-renewal-for-pages-custom-domainsSean McGivern2019-04-291-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Profiler to work with Rails 5.1 Closes #61051 See merge request gitlab-org/gitlab-ce!27774
| * | | | | | Fix Profiler to work with Ruby 5.1Stan Hu2019-04-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 5.1 now requires keyword arguments to pass along parameters and headers for ActionDispatch::Integration::RequestHelpers. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61051
* | | | | | | Add gitaly session id & catfile-cache feature flagJohn Cai2019-04-291-0/+42
| |/ / / / / |/| | | | |
* | | | | | Merge branch ↵Kamil Trzciński2019-04-281-14/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '60945-masked-variable-still-printed-in-log-output-on-gitlab-com' into 'master' Resolve "Masked Variable still printed in log output on gitlab.com" Closes #60945 See merge request gitlab-org/gitlab-ce!27768
| * | | | | | Remove variable masking feature flagMatija Čupić2019-04-261-14/+0
| |/ / / / /
* | | | | | Merge branch '60383-setup-dashboard-endpoint' into 'master'Grzegorz Bizon2019-04-282-0/+136
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create dashboards endpoint & setup dashboard post-processing Closes #60383 See merge request gitlab-org/gitlab-ce!27405
| * | | | | | Move dashboard param to initialize method60383-setup-dashboard-endpointsyasonik2019-04-251-2/+2
| | | | | | |
| * | | | | | Prefer safe_load and deep_symbolize_keyssyasonik2019-04-251-2/+2
| | | | | | |
| * | | | | | Move MetricsDashboard to Metrics::Dashboardsyasonik2019-04-252-5/+5
| | | | | | |
| * | | | | | Fix broken specsyasonik2019-04-241-4/+2
| | | | | | |