summaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Enable ee_compat_check for forks, but not EELin Jen-Shin2017-09-151-1/+4
| | | | | We exclude known EE projects, and check the project directory name for EE forks.
* Refactor on namespace and repository checks and added specsGabriel Mazetto2017-09-121-1/+0
|
* Detect orphaned repositories and namespaces in any storageGabriel Mazetto2017-09-121-0/+30
|
* Finish migration to the new events setupevents-migration-cleanupYorick Peterse2017-09-061-0/+11
| | | | | | | | | | | | | This finishes the procedure for migrating events from the old format into the new format. Code no longer uses the old setup and the database tables used during the migration process are swapped, with the old table being dropped. While the database migration can be reversed this will 1) take a lot of time as data has to be coped around 2) won't restore data in the "events.data" column as we have no way of restoring this. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
* Merge branch 'system-checks-incoming-email' into 'master'Sean McGivern2017-09-061-117/+8
|\ | | | | | | | | Move Incoming Email checks to System Checks See merge request !14028
| * Refactored Incoming Email checks to use SystemCheck librarysystem-checks-incoming-emailGabriel Mazetto2017-09-041-117/+8
| |
* | Do not require the simple_po_parser in the gettext rake task when in aDJ Mountney2017-09-051-1/+2
| |
* | Add a system check for the git user's custom SSH configurationNick Thomas2017-09-041-0/+1
| |
* | Only require `simple_po_parser` in rake task that needs itbvl-only-require-po-parser-in-rakeBob Van Landuyt2017-09-041-0/+1
|/ | | | | That way we don't need to install it in production, since it's really not needed there.
* Merge branch 'bvl-validate-po-files' into 'master'Douwe Maan2017-09-011-0/+40
|\ | | | | | | | | Validate PO files in static analysis See merge request !13000
| * Move `PoLinter` into `Gitlab::I18n`Bob Van Landuyt2017-08-311-2/+2
| |
| * Add a linter for PO filesBob Van Landuyt2017-08-311-0/+40
| |
* | `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-1/+1
|/ | | | | | | | | | | | | | | | The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
* Use `git update-ref --stdin -z` to delete refs36807-gc-unwanted-refs-after-importLin Jen-Shin2017-08-301-1/+1
|
* replace `is_gitlab_user?` with `gitlab_user?`Maxim Rydkin2017-08-291-2/+2
|
* Migrate creation of nested groups into a serviceBob Van Landuyt2017-08-231-17/+1
|
* Improve bare repository importBob Van Landuyt2017-08-231-63/+2
| | | | | | | | | - Allow imports into nested groups - Make sure it sets the correct visibility level when creating new groups While doing this, I moved the import into a testable class, that made it easier to improve.
* Prevent using gitlab import task when hashed storage is enabledGabriel Mazetto2017-08-221-0/+6
|
* Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher2017-08-151-1/+1
|
* Add two more project templateszj-add-two-more-project-templatesZ.J. van de Weg2017-08-151-2/+7
| | | | | | | Related to !13108. Mostly this is just running the rake task and changing the task a bit to catch cases like the project already existing or so. The rake task moves archives to the vendor/project_template directory, which are checked in too.
* Use existing BUNDLE_PATH for gitaly in local testsgitaly-test-bundle-pathJacob Vosmaer2017-08-111-2/+6
|
* Merge branch '36003-do-not-include-to-kernel' into 'master'Robert Speicher2017-08-093-13/+3
|\ | | | | | | | | | | | | Don't include anything to Kernel only because of tasks Closes #36003 See merge request !13380
| * We shouldn't include utility methods everywhereLin Jen-Shin2017-08-081-0/+2
| |
| * Just extend main, rather than include to KernelLin Jen-Shin2017-08-082-13/+1
| | | | | | | | | | | | | | Unfortunately rake doesn't have nested context, everything just runs on a main rake object. This is probably due to compatibility issue, but anyway, we could just extend the object.
* | Unset BUNDLE_GEMFILE when installing GitalyJacob Vosmaer2017-08-081-1/+1
|/
* Merge branch '35941-fix-testing-issue-following-gitaly-install-fix' into ↵Rémy Coutable2017-08-081-1/+1
|\ | | | | | | | | | | | | | | | | 'master' Unset the `RUBYOPT` env variable before installing `gitaly-ruby` Closes #35941 and #35967 See merge request !13313
| * Print the setup steps and duration and fix an issue resulting in re-setuping ↵35941-fix-testing-issue-following-gitaly-install-fixRémy Coutable2017-08-041-1/+1
| | | | | | | | | | | | GitLab Shell on each test run Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Unset the RUBYOPT env variable before installing gitaly-rubyRémy Coutable2017-08-041-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Revert "Merge branch 'fix-gitaly-install' into 'master'"Rémy Coutable2017-08-041-1/+1
| | | | | | | | | | This reverts commit 23c502b43404aa70741462da5d57c23196f6088a, reversing changes made to 1018ab0516fd94d1ffbc05a0ad8499947dd9630d.
* | Merge branch 'github' into 'master'Robert Speicher2017-08-071-1/+2
|\ \ | | | | | | | | | | | | | | | | | | Improve GitHub importer Closes #27429 See merge request !12886
| * | Fix small typoe on GitHub import rake taskDouglas Barbosa Alexandre2017-08-071-1/+1
| | |
| * | Use a custom root endpoint if defined on GH ominiauth provider settingsDouglas Barbosa Alexandre2017-08-071-1/+1
| | |
| * | Use project.import_url to fetch repositories from GithubDouglas Barbosa Alexandre2017-08-071-0/+1
| | |
* | | Merge branch 'zj-project-templates' into 'master'Sean McGivern2017-08-071-0/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow projects to be started from a template Closes #32420 See merge request !13108
| * | | Fix last feature test for project templatesZ.J. van de Weg2017-08-071-1/+2
| | | |
| * | | After merge cleanupZ.J. van de Weg2017-08-071-3/+4
| | | |
| * | | Merge branch 'master' into zj-project-templatesFilipa Lacerda2017-08-076-6/+15
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (623 commits) Fix issues with pdf-js dependencies fix missing changelog entries for security release on 2017-01-23 Update top bar issues icon Fix pipeline icon in contextual nav for projects Since mysql is not a priority anymore, test it less Fix order of CI lint ace editor loading Add container registry and spam logs icons Fix different Markdown styles Backport to CE for: Make new dropdown dividers full width Fix spec Fix spec Fix spec Bump GITLAB_SHELL_VERSION and GITALY_VERSION to support unhiding refs Add changelog Install yarn via apt in update guides Use long curl options fix Add a spec for concurrent process Remove monkey-patched Array.prototype.first() and last() methods ...
| * | | Create rake task to create project templatesZ.J. van de Weg2017-08-011-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First iteration, and some stuff is missing. But basically this rake task does a clone of a project we've pointed it to. Than creates a project on the GDK, which should be running in the background. This project is exported, after which we move that archive to the location we need it. We clean up by removing the generated project. The first idea was to export the project on .com too, however than we might run into ImportExport versions mismatch. This could've been circumvented by checkout out an older commit locally. This however is not needed yet, so we opted to not go this route yet, instead we will iterate on what we got.
* | | | Merge branch 'gitaly-386-shell-config' into 'master'Robert Speicher2017-08-071-0/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Gitaly needs to know where to find gitlab-shell See merge request !13306
| * | | Have raketask tell gitaly where to find shellKim "BKC" Carlbäcker2017-08-041-0/+1
| | |/ | |/|
* | | Add custom linter for inline JavaScript to haml_lint (!9742)winniehell2017-08-071-0/+1
|/ /
* | Ensure we run installation Rake tasks in a clean env in TestEnvRémy Coutable2017-08-021-1/+1
| | | | | | | | | | | | | | | | If we call `system('rake', 'taks_name')`, `ENV['RUBYOPT']` is set to `'-rbundler/setup'` but some tasks (e.g. `gitlab:gitaly:install` need a clean env since they install their own Gem bundle. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch '28283-legacy-storage-format' into 'master'Sean McGivern2017-08-013-3/+3
|\ \ | | | | | | | | | | | | [CE] Added Legacy Storage format See merge request !13149
| * | Rename more path_with_namespace -> full_path or disk_pathGabriel Mazetto2017-08-013-3/+3
| | |
* | | CI fixes for gitaly-rubyJacob Vosmaer2017-08-011-3/+9
|/ /
* | Support the fact that Gitaly uses bundlerJacob Vosmaer2017-07-271-1/+1
| |
* | Compile JS lang files before webpack compileassets-task-compile-langsPhil Hughes2017-07-271-0/+1
| | | | | | | | Closes #35615
* | Add lower path index to redirect_routesmk-add-lower-path-index-to-redirect-routesMichael Kozono2017-07-251-0/+2
|/
* Improve version handling on component install tasks34788-testenv-doesn-t-update-the-component-correctly-when-a-branch-is-specifiedAlejandro Rodríguez2017-07-201-7/+2
| | | | | | | Fixes an issue where, when using branch versions, the component wouldn't be updated after the first branch checkout. We also save one step, since checking out the FETCH_HEAD with `-f` already does what `reset --hard` did.
* Merge branch '34831-remove-coffee-rails-gem' into 'master'Jacob Schatz2017-07-171-1/+1
|\ | | | | | | | | | | | | Remove coffee-rails gem Closes #34831 See merge request !12715