- 04 Feb, 2020 40 commits
-
-
Walmyr Lima e Silva Filho authored
Promote pipeline spec to smoke test Closes gitlab-org/quality/testcases#25 and gitlab-org/quality/testcases#13 See merge request gitlab-org/gitlab!24005
-
Dan Davison authored
Refactor test setup and fabrication Add name to fabricated project Remove :orchestrated and keep :docker Add wait parameter to Pipeline show page Remove superfluous expectations Replace hard-sleep with wait: 30 within be_running Register runner with executor name Runner tags needs an array
-
Rémy Coutable authored
Refactor Geo Node License Flash Closes #11729 See merge request gitlab-org/gitlab!22933
-
Zack Cuddy authored
Node controller spec: Secondary routes tests Settings spec Lint and locale Untouch schema Fix settings test
-
Martin Wortschack authored
Resolve "Create conditional "Enable Review App" button" See merge request gitlab-org/gitlab!23703
-
Sarah Groff Hennigh-Palermo authored
This involves three files because store
-
Robert Speicher authored
Default cycle analytics duration chart and median line feature flags to true See merge request gitlab-org/gitlab!23971
-
Douglas Barbosa Alexandre authored
Date range validation for Cycle Analytics Closes #36744 See merge request gitlab-org/gitlab!24254
-
Andreas Brandl authored
Set all LockVersion columns to default to 0 See merge request gitlab-org/gitlab!24237
-
Dmytro Zaporozhets authored
Allow ImageFormatter#== to factor width and height See merge request gitlab-org/gitlab!24126
-
Dmytro Zaporozhets authored
Remove parsed_license_report feature flag See merge request gitlab-org/gitlab!24210
-
Mark Florian authored
This also removes the redundant head/base path handling, and cleans up the display logic for the license report MR widget. Part of [Remove parsed_license_report flag from front end code][1]. [1]: https://gitlab.com/gitlab-org/gitlab/issues/37271
-
James Lopez authored
Add read-only state for LDAP syncable attributes Closes #34262 See merge request gitlab-org/gitlab!24049
-
Martin Wortschack authored
Fix diff files being visible in the diff file header See merge request gitlab-org/gitlab!24349
-
Nick Thomas authored
Replacing project references with container name in repository classes See merge request gitlab-org/gitlab!23678
-
Natalia Tepluhina authored
Close related GitLab issue on Sentry error resolve See merge request gitlab-org/gitlab!23610
-
Natalia Tepluhina authored
Update GitLab Packages See merge request gitlab-org/gitlab!23706
-
🤖 GitLab Bot 🤖 authored
-
James Lopez authored
Document the contexts we apply to workers See merge request gitlab-org/gitlab!23995
-
Mark Florian authored
Update usages of GlSprintf with dynamic message prop See merge request gitlab-org/gitlab!24303
-
Pavel Shutsin authored
Name, email & location should be read-only when LDAP server is enabled instance-wide
-
Francisco Javier López authored
All git related classes (`Blob`, `Commit`, ...) assume that `project` is the object that has the repository. Nevertheless, now that we're adding repositories to snippets, we need to abstract this. We're moving from `project` to `container`.
-
Bob Van Landuyt authored
Introduce 'license_scanning' CI vendored template" See merge request gitlab-org/gitlab!22773
-
Tetiana Chupryna authored
-
Kushal Pandya authored
Fixes the commit description alignment in the last commit widget See merge request gitlab-org/gitlab!23091
-
Mark Florian authored
Vulnerable projects specs: fix descriptions See merge request gitlab-org/gitlab!24236
-
Natalia Tepluhina authored
New package details title base implementation See merge request gitlab-org/gitlab!24055
-
Nick Kipling authored
Updated to match specs Created new package_title component Removed old title from package_app Moved package tags into new title component Created and updated tests Created snapshot for title component
-
Achilleas Pipinellis authored
Update Maven documentation structure See merge request gitlab-org/gitlab!23858
-
Nick Kipling authored
Created getting started section Moved remote setup Updated uploading Created installation and removing
-
Bob Van Landuyt authored
This adds the documentation on how to add context to cron-workers or jobs scheduled in batch.
-
Bob Van Landuyt authored
So we can go through them one by one to fix them
-
Bob Van Landuyt authored
This disables the cops for current offences, so we can get to them fixed 1 by 1.
-
Bob Van Landuyt authored
This adds 2 cops for jobs scheduled that will likely miss context information: *CronWorkerContext* Cron-Workers themselves run instance wide, so they aren't scoped to users, namespaces, projects or other resources that should be added to the context. However, they often schedule other jobs that _do_ require context. That is why the there needs to be an indication of context somewhere in the worker. This can be done by using one of the following methods: 1. Wrap the code that schedules jobs in the `with_context` helper: def perform deletion_cutoff = Gitlab::CurrentSettings .deletion_adjourned_period.days.ago.to_date projects = Project.with_route.with_namespace .aimed_for_deletion(deletion_cutoff) projects.find_each(batch_size: 100).with_index do |project, index| delay = index * INTERVAL with_context(project: project) do AdjournedProjectDeletionWorker.perform_in(delay, project.id) end end end 2. Use the a batch scheduling method that provides context def schedule_projects_in_batch(projects) ProjectImportScheduleWorker.bulk_perform_async_with_contexts( projects, arguments_proc: -> (project) { project.id }, context_proc: -> (project) { { project: project } } ) end *BulkPerformWithContext* Often, when scheduling jobs in bulk, these jobs should have a separate context rather than the overarching context. If that is the case, `bulk_perform_async` can be replaced by the `bulk_perform_async_with_context` helper, and instead of `bulk_perform_in` use `bulk_perform_in_with_context`. For example: ProjectImportScheduleWorker.bulk_perform_async_with_contexts( projects, arguments_proc: -> (project) { project.id }, context_proc: -> (project) { { project: project } } ) Each object from the array in the first argument is yielded into 2 blocks: The `arguments_proc` which needs to the return the list of arguments the job needs to be scheduled with. The `context_proc` which needs to return a hash with the context information for the job. When providing objects for a context, please make sure to load the relevant relations. For routables (namespace, project), use `.with_route`, for projects also include the namespace using `.with_namespace`.
-
Bob Van Landuyt authored
Refactor issue update service spec Closes #198012 See merge request gitlab-org/gitlab!23663
-
Achilleas Pipinellis authored
Remove weekly update note See merge request gitlab-org/gitlab!24073
-
Natalia Tepluhina authored
Refactor docker container expiration policy form See merge request gitlab-org/gitlab!24276
-
Nicolò Maria Mezzopera authored
- generate select programmatically - adjust tests - separate fields from form
-
Phil Hughes authored
-
Jan Provaznik authored
Switch between cloud providers in cluster creation screen Closes #34802 See merge request gitlab-org/gitlab!23362
-