summaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Convert parser warnings to stdout in haml_lintsh-bump-ruby-2.4.5Lin Jen-Shin2018-10-241-0/+11
| | | | | | This was used in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16648 and this could happen from time to time, so let's just keep it.
* Make getting a user by the username case insensitiveWilliam George2018-10-181-1/+1
|
* Typo in log message of gitlab-rake gitlab:artifacts:migrateMichael Bisbjerg2018-09-271-1/+1
|
* Resolve "Un-vendor CI templates"Dylan Griffith2018-09-261-4/+0
|
* Merge branch 'follow-up-geo-sync-disabled-wikis' into 'master'Douglas Barbosa Alexandre2018-09-251-8/+0
|\ | | | | | | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6906 See merge request gitlab-org/gitlab-ce!21903
| * Geo: sync disabled wikis. Stage 2follow-up-geo-sync-disabled-wikisValery Sizov2018-09-251-8/+0
| | | | | | | | | | | | | | We started syncing all the wiki regardless of the fact it's disabled or not. We couldn't do that in one stage because of needing of smoth update and deprecating things. This is the second stage that finally removes unused columns in the geo_node_status table.
* | Enable write to auth_keys file during restoreCindy Pallares2018-09-251-2/+44
|/ | | | | | Fast lookup of authorized SSH keys in the database was ported to CE in v10.4. This change adds the option to enable the setting via the restore rake task and assumes yes if the force env variable is set.
* Include post migrations when loading the schemaYorick Peterse2018-09-191-0/+2
|\ | | | | See merge request gitlab-org/gitlab-ce!21689
| * Ensure the schema is loaded with post_migrations includedDJ Mountney2018-09-111-0/+2
| | | | | | | | | | | | If doing a schema load, the post_migrations should also be marked as up, even if SKIP_POST_DEPLOYMENT_MIGRATIONS was set, otherwise future migration runs will be broken.
* | Add wrapper rake task to migrate all uploads to OSBalasankar "Balu" C2018-09-181-1/+25
| | | | | | | | | | Add a rake task that will trigger gitlab:uploads:migrate rake task with different possible arguments, one by one.
* | Fix grammar (setup to set-up) in code comments, spec, views, etc.Marcel Amirault2018-09-171-1/+1
| |
* | Merge branch '48778-remove-old-storage-logic-from-import-export' into 'master'Douwe Maan2018-09-071-1/+3
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Remove old storage logic from Import/Export" Closes #51144, #50109, #48778, and #51079 See merge request gitlab-org/gitlab-ce!21409
| * | refactor code based on feedbackJames Lopez2018-09-071-1/+1
| | |
| * | refactor code based on feedbackJames Lopez2018-09-071-1/+1
| | |
| * | Refactor code to remove object storage flag from Import/ExportJames Lopez2018-09-061-1/+3
| |/ | | | | | | | | | | Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
* | Merge branch 'zj-cleanup-port-gitaly' into 'master'Douwe Maan2018-09-071-50/+39
|\ \ | | | | | | | | | | | | | | | | | | Port cleanup tasks to use Gitaly Closes #40529 and gitaly#954 See merge request gitlab-org/gitlab-ce!21588
| * | Port cleanup tasks to use GitalyZeger-Jan van de Weg2018-09-071-50/+39
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rake tasks cleaning up the Git storage were still using direct disk access, which won't work if these aren't attached. To mitigate a migration issue was created. To port gitlab:cleanup:dirs, and gitlab:cleanup:repos, a new RPC was required, ListDirectories. This was implemented in Gitaly, through https://gitlab.com/gitlab-org/gitaly/merge_requests/868. To be able to use the new RPC the Gitaly server was bumped to v0.120. This is an RPC that will not use feature gates, as this doesn't scale on .com so there is no way to test it at scale. Futhermore, we _know_ it doesn't scale, but this might be a useful task for smaller instances. Lastly, the tests are slightly updated to also work when the disk isn't attached. Eventhough this is not planned, it was very little effort and thus I applied the boy scout rule. Closes https://gitlab.com/gitlab-org/gitaly/issues/954 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40529
* | Fix migrationsKamil Trzciński2018-09-041-0/+2
|/
* Stop using FlayRémy Coutable2018-09-032-10/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rails 5: replace removed silence_streamJasper Maes2018-08-281-1/+12
|
* Refactor SiteStatistics to extract refresh logic into a rake taskGabriel Mazetto2018-08-161-0/+23
|
* Add rake command to migrate archived traces from local storage to object storageShinya Maeda2018-08-161-0/+17
|
* Merge branch 'gitaly-install-path' into 'master'Douwe Maan2018-08-141-18/+6
|\ | | | | | | | | Remove storage path dependency of gitaly install task See merge request gitlab-org/gitlab-ce!21101
| * Remove storage path dependency of gitaly install taskAlejandro Rodríguez2018-08-121-18/+6
| |
* | Clean orphaned files in object storageJarka Kadlecová2018-08-071-0/+10
| |
* | Add local project uploads cleanup taskMichael Kozono2018-07-311-4/+35
|/
* Remove gitlab:user:check_repos taskZeger-Jan van de Weg2018-07-311-17/+0
| | | | | | | | | | While reviewing this branch it was noted that this task was broken. Given the limited value this task brings, and given the fact that much of the old behaviour has been moved to be automatically fixed, removing was a good option. Suggestion in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20806#note_91261001
* Remove git rake tasksZeger-Jan van de Weg2018-07-312-82/+11
| | | | | | | | | | These tasks are happening through housekeeping right now, by default ever 10th push. This removes the need for these tasks. Side note, this removes one of my first contributions to GitLab, as back than I introduced these tasks through: 54e6c0045bb13c05cc5478cbdf47d3246bd9fe2b Closes https://gitlab.com/gitlab-org/gitaly/issues/768
* Merge branch '48932-disable-saml-if-omniauth-is-disabled' into 'master'Douwe Maan2018-07-231-2/+2
|\ | | | | | | | | | | | | Resolve "Disable SAML and Bitbucket if OmniAuth is disabled" Closes #48932 See merge request gitlab-org/gitlab-ce!20608
| * Disable SAML if OmniAuth is disabled48932-disable-saml-if-omniauth-is-disabledLin Jen-Shin2018-07-201-2/+2
| | | | | | | | | | We also try to unify the way we setup OmniAuth, and how we check if it's enabled or not.
* | Remove refs cleanup jobZeger-Jan van de Weg2018-07-191-23/+0
|/ | | | | | Introduced by f20eadcbbeb88e98c2608cbaf23f0d09ca002a98, meant to remove refs from Git using the wrong name. That never made it to a non-rc release and can be safely removed now.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-2/+2
|
* Remove timestamps from `locale/gitlab.pot`Bob Van Landuyt2018-07-101-1/+7
| | | | | This will help us avoid conflicts when regenerating the pot file, the timestamps aren't used by Crowdin.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Update `gettext:updated_check` regenerate pot fileBob Van Landuyt2018-07-091-7/+23
| | | | | | | Making the `gettext:updated_check` by completely regenerating the gitlab.pot. This avoids an issue where `gettext:find` would not pick up on changes if the file isn't removed first.
* Add pipeline stages position clean-up migrationGrzegorz Bizon2018-06-291-7/+14
|
* Fixes an issue where migrations instead of schema loading were runDJ Mountney2018-06-271-1/+3
| | | | | If you called rake gitlab:db:drop_tables before running gitlab-ctl reconfigure (or rake gitlab:db:configure)
* Merge branch 'bvl-dont-generate-mo' into 'master'Rubén Dávila2018-06-201-1/+0
|\ | | | | | | | | | | | | Don't generate `.mo` files Closes #47979 See merge request gitlab-org/gitlab-ce!20048
| * Don't generate `.mo` filesBob Van Landuyt2018-06-201-1/+0
| | | | | | | | | | | | | | | | | | Since we are only using `.po` files for translation we can shave off some setup time. Generating the `mo` files also regenerates the PO-files, including fuzzy translations. Those cause a lot of bugs, and we don't need them anymore since the `po` files are generated by an external translation service.
* | Unify flay.rake and gettext.rake from EEunify-lib-tasksLin Jen-Shin2018-06-212-2/+2
|/
* More verbose errors in static-analysisBob Van Landuyt2018-06-202-13/+30
| | | | This makes the output in static analysis a bit more verbose.
* Correctly translate all forms in testsbvl-i18n-validationBob Van Landuyt2018-06-151-4/+4
|
* Validate if changed translations are checked inBob Van Landuyt2018-06-152-0/+27
|
* Bring `rake postgresql_md5_hash` to CELin Jen-Shin2018-06-141-0/+15
|
* Merge branch 'gitaly-disk-access-3' into 'master'Douwe Maan2018-06-122-7/+11
|\ | | | | | | | | Find and mark more Git disk access locations, part 2 See merge request gitlab-org/gitlab-ce!19437
| * Find and mark more Git disk access locations, part 2Jacob Vosmaer2018-06-122-7/+11
| |
* | Merge branch 'sh-github-importer-improve-error' into 'master'James Lopez2018-06-111-1/+4
|\ \ | | | | | | | | | | | | GitHub Rake importer: Fail with a clearer explanation if GitLab username is wrong See merge request gitlab-org/gitlab-ce!19653
| * | GitHub Rake importer: Fail with a clearer explanation if GitLab username is ↵Stan Hu2018-06-111-1/+4
| |/ | | | | | | wrong
* | Expire Wiki content cache after importing a repositoryStan Hu2018-06-111-1/+1
|/ | | | | | | The cache state for Wikis that were imported via GitHub or Bitbucket does not appear to have been flushed after a successful import. Closes #47546
* Resolve "Hashed Storage: Make possible to migrate single project"Gabriel Mazetto2018-06-071-2/+19
|