Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/tasks
AgeCommit message (Collapse)Author
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-11Add rake task `db:obsolete_ignored_columns`Peter Leitzen
Show a list of obsolete `ignored_columns`
2019-09-10Avoid calling freeze on already frozen strings in libDinesh Panda
2019-09-06Add new GitlabDanger classAsh McKenzie
This class encapsulates our use of the Danger gem.
2019-09-06Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"Ash McKenzie
This reverts merge request !32196
2019-09-06Add new danger_local Rake taskAsh McKenzie
The benefit of running the danger_local Rake task is that it displays some informational messages for clarity and also exits with 1 if there's any output.
2019-08-30Merge branch 'security-personal-snippets' into 'master'GitLab Release Tools Bot
Add direct upload support for personal snippets See merge request gitlab/gitlabhq!3226
2019-08-23Move visual review toolbar to NPMshampton
Remove the visual review toolbar code in favor of using the NPM package.
2019-08-23Add direct upload support for personal snippetsJan Provaznik
2019-08-17Merge branch 'legacy-attachments-migrate-fix' into 'master'Michael Kozono
Migrate legacy uploads rake tasks See merge request gitlab-org/gitlab-ce!29409
2019-08-16Add rake tasks for migrating leacy uploadsJarka Košanová
- move uploads created by AttachmentUploader - handle also files created for legacy_diff_notes
2019-08-15Squash project templates on updateHordur Freyr Yngvason
As per https://gitlab.com/gitlab-org/gitlab-ce/issues/46043, project templates should be squashed before updating, so that repositories created from these templates don't include the full history of the backing repository.
2019-08-15Make ruby 2.6 the officially supported versionHordur Freyr Yngvason
2019-07-30Fix broken update_project_templates rake taskHordur Freyr Yngvason
This rake task had been broken for a while. This fixes the breakages, adds a test to help avoid future breakages, and adds a few ergonomic improvements to the task itself.
2019-07-29Merge branch 'resolve-scripts-differences' into 'master'Lin Jen-Shin
Backport EE changes made to the scripts/ directory See merge request gitlab-org/gitlab-ce!31015
2019-07-29Backport EE changes made to the scripts/ directoryYorick Peterse
This backport changes made by EE to the files in the scripts/ directory. This comes with a few changes to some scripts to make them work in the single codebase setup.
2019-07-29Further remove code branches by database typeAndreas Brandl
We dropped MySQL support and a lot of mysql specific code has been removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608. This comes in from the other direction and removes any `if postgresql?` branches.
2019-07-25Remove unneeded monkey-patchHeinrich Lee Yu
Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
2019-07-24Merge branch 'cleanup/spec-tasks' into 'master'Douwe Maan
Resolves confusion within spec rake tasks. See merge request gitlab-org/gitlab-ce!31073
2019-07-24Resolves confusion within spec rake tasksJeremy Jackson
2019-07-23Remove dead MySQL codeNick Thomas
None of this code can be reached any more, so it can all be removed
2019-07-22Rake task to cleanup expired ActiveSession lookup keysImre Farkas
In some cases ActiveSession.cleanup was not called after authentication, so for some user ActiveSession lookup keys grew without ever cleaning up. This Rake task manually iterates over the lookup keys and removes ones without existing ActiveSession.
2019-07-19Move frontend fixtures into spec/frontendMike Greiling
Moves every fixture source file from spec/javascripts to spec/frontend
2019-07-19Rename the karma:fixtures taskMike Greiling
Introduces frontend:fixtures rake task to replace karma:fixtures and update documentation and CI scripts to match
2019-07-16Merge branch 'jc-fix-rugged-feature-flag-rake' into 'master'Stan Hu
Add unset_rugged rake task Closes #64441 See merge request gitlab-org/gitlab-ce!30636
2019-07-15Allow parameters for rake gitlab:seed:issuesBrett Walker
to specify backfill_weeks and average_issues_per_week
2019-07-11Merge branch '63667-hashed-storage-migration-count-correctly' into 'master'Douglas Barbosa Alexandre
Display the amount for Hashed Storage migration/rollback correctly Closes #63667 See merge request gitlab-org/gitlab-ce!29996
2019-07-11Add unset_rugged rake taskJohn Cai
Adds an unset_rugged rake task that unsets all rugged feature flags. Also fixes the existing disable_rugged task to have it explicitly disable feature flags instead of just unsetting them.
2019-07-11Improve Graphql DocsFelipe Artur
Adds more friendly docs for GraphQl implementation
2019-07-11Display the amount for Hashed Storage migration/rollback correctlyGabriel Mazetto
Rake script considers the specified range, if present, to calculate the affected amount of projects correctly.
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-02Prefer offline install for yarnLukas Eipert
2019-07-02Remove migrations from setup_postgresqlNick Thomas
2019-07-01Merge branch 'tc-rake-orphan-artifacts' into 'master'Dmitriy Zaporozhets
Add rake task to clean orphan artifact files See merge request gitlab-org/gitlab-ce!29681
2019-06-28Add rake task to clean orphan artifact filesToon Claes
This adds the rake task rake gitlab:cleanup:orphan_job_artifact_files. This rake task cleans all orphan job artifact files it can find on disk. It performs a search on the complete folder of all artifacts on disk. Then it filters out all the job artifact ID for which it could not find a record with matching ID in the database. For these, the file is deleted from disk.
2019-06-25Update comments and docs around min schema versionDJ Mountney
Fixed some spelling Dropped rake task description for a prefix only task Added note on skipping the check to the postgres debugging dev doc
2019-06-25Drop the source upgrade changeDJ Mountney
We no longer need to point people away from using db:migrate
2019-06-25Add an flag for skipping the schema version checkDJ Mountney
If you chose to use the rollback migration feature on your current version for example, you should still have a way to migrate, being that you are still on a supported migration path.
2019-06-25Fix db:migrate for fresh installsDJ Mountney
2019-06-25Move min schema version check to db:migrateDJ Mountney
Rather than have it checked only as part of gitlab:db:configure, we will instead have it as a pre-req for every db:migrate command
2019-06-25Check supported version when migratingDJ Mountney
Set the mininum supported migration version to be the schema version as of 11.11.0, and errors you if that is not detected during gitlab:db:configure
2019-06-25Silence backup warnings when CRON=1 in useStan Hu
If CRON=1 is in use, we shouldn't generate any output or admins may be notified via e-mail about unnecessary warnings. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63703
2019-06-17Backport the EE schema and migrations to CEYorick Peterse
This backports all EE schema changes to CE, including EE migrations, ensuring both use the same schema. == Updated tests A spec related to ghost and support bot users had to be modified to make it pass. The spec in question assumes that the "support_bot" column exists when defining the spec. In the single codebase setup this is not the case, as the column is backported in a later migration. Any attempt to use a different schema version or use of "around" blocks to conditionally disable specs won't help, as reverting the backport migration would also drop the "support_bot" column. Removing the "support_bot" tests entirely appears to be the only solution. We also need to update some foreign key tests now that we have backported the EE columns. Fortunately, these changes are very minor. == Backporting migrations This commit moves EE specific migrations (except those for the Geo tracking database) and related files to CE, and also removes any traces of the ee/db directory. Some migrations had to be modified or removed, as they no longer work with the schema being backported. These migrations were all quite old, so we opted for removing them where modifying them would take too much time and effort. Some old migrations were modified in EE, while also existing in CE. In these cases we took the EE code, and in one case removed them entirely. It's not worth spending time trying to merge these changes somehow as we plan to remove old migrations around the release of 12.0, see https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
2019-06-07Show description of 'gettext:regenerate' taskBrett Walker
2019-05-31Merge branch 'gitaly-version-v1.43.0' into 'master'Bob Van Landuyt
Upgrade Gitaly to v1.43.0 See merge request gitlab-org/gitlab-ce!28867
2019-05-30Remove hook directory requirement from ShellZeger-Jan van de Weg
It used to be the case that GitLab created symlinks for each repository to one copy of the Git hooks, so these ran when required. This changed to set the hooks dynamically on Gitaly when invoking Git. The side effect is that we didn't need all these symlinks anymore, which Gitaly doesn't create anymore either. Now that means that the tests in GitLab-Rails should test for it either. Related: https://gitlab.com/gitlab-org/gitaly/issues/1392#note_175619926
2019-05-29Build visual_review_toolbar with webpackSarah Groff Hennigh-Palermo
It takes a lot of lines to move a script
2019-05-22Revert "Merge branch 'revert-04c3c6dd' into 'master'"Rémy Coutable
This reverts commit 744f1f2e7037f5c70c3168d9e2e89b1c327465d2, reversing changes made to c4d930e5f54e7da07c80cc028dfc0f5c08719146.
2019-05-22Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"Kamil Trzciński
This reverts merge request !27514
2019-05-22Merge branch 'reorganize-tests-jobs-by-level' into 'master'Kamil Trzciński
Reorganize test jobs by level See merge request gitlab-org/gitlab-ce!27514