summaryrefslogtreecommitdiff
path: root/spec/tasks
Commit message (Collapse)AuthorAgeFilesLines
* fix testsgitaly-386-shell-configKim "BKC" Carlbäcker2017-08-041-0/+2
|
* Don't call load_tasks as this would load the tasks twicefix-gitaly-installRémy Coutable2017-08-021-6/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '28283-legacy-storage-format' into 'master'Sean McGivern2017-08-011-3/+3
|\ | | | | | | | | [CE] Added Legacy Storage format See merge request !13149
| * Rename path_with_namespace -> disk_path when dealing with the filesystemGabriel Mazetto2017-08-011-3/+3
| |
* | CI fixes for gitaly-rubyJacob Vosmaer2017-08-011-4/+14
|/
* Improve version handling on component install tasks34788-testenv-doesn-t-update-the-component-correctly-when-a-branch-is-specifiedAlejandro Rodríguez2017-07-201-13/+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.
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-214-28/+28
|
* Enable gitaly token auth when testingJacob Vosmaer2017-06-201-0/+1
|
* Stop using deprecated `path` field on Gitaly messagesAlejandro Rodríguez2017-06-142-2/+13
| | | | | This revealed an error in our configuration generation in gitlab:gitaly:install rake task. The fix is included
* rake task to reset all rss tokensAlexis Reigel2017-05-241-0/+6
|
* Enable the RSpec/ExpectOutput coprubocop-expect-outputRémy Coutable2017-05-181-11/+11
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't reuse gRPC channelsJacob Vosmaer2017-05-151-1/+0
| | | | | | It seems that bad things happen when two gRPC stubs share one gRPC channel so let's stop doing that. The downside of this is that we create more gRPC connections; one per stub.
* Relax rake backup regex to handle CE and EE RCssh-relax-backup-rake-specStan Hu2017-05-121-1/+1
| | | | See http://rubular.com/r/uTDlT85zW1
* Fix failing backup filename spec for RCssh-fix-failing-rc1-backup-specStan Hu2017-05-111-1/+1
| | | | See http://rubular.com/r/9oI7K8b773 for more details.
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Compile gitlab-shell go executablesJacob Vosmaer2017-05-041-0/+4
|
* Merge branch 'rs-described_class-cop-2' into 'master' Douwe Maan2017-05-021-2/+2
|\ | | | | | | | | Enable `RSpec/DescribedClass` cop and correct violations See merge request !10930
| * Auto-correct `RSpec/DescribedClass` violationsrs-described_class-cop-2Robert Speicher2017-05-011-2/+2
| |
* | Use Gitaly for getting Branch/Tag countsKim "BKC" Carlbäcker2017-04-281-2/+4
|/ | | | | | - Backup-rake-spec fixed. Storage config broken - Use rugged to compare branch/tag-count in specs - upgrade gitaly
* Fix failing specgl-version-backup-fileAchilleas Pipinellis2017-04-261-1/+1
| | | | http://rubular.com/r/op7TI9UX6K
* Expand components version specification format to allow branchesbranch-versionsAlejandro Rodríguez2017-04-133-52/+45
| | | | | | | | | | | | | | Currently we specify versions for Gitlab-Shell, Workhorse and Gitaly using version strings, to which we prepend 'v' and assume are tags. These changes allow branches or tags with other name formats to be specified by prepending '=' to the version string (á la govendor). We also simplify the process to reset to the given version (now a branch or tag): Right now there's a check to supposedly try to avoid fetching from the remote the version if it already exist locally. But the previous logic already clones if the directory doesn't exist or fetches if it does, so this check is pointless. We can safely assume the version exists once we get to the reset stage.
* Add rake task that prints TOML storage configurationfeature/add-rake-task-prints-storage-config-in-tomlAhmad Sherif2017-04-041-0/+32
| | | | Closes gitaly#173
* Merge branch 'rs-empty-project-misc' into 'master' Rémy Coutable2017-03-301-3/+3
|\ | | | | | | | | Use `:empty_project` in worker, view, task, serializer, policy, migration, and mailer specs See merge request !10272
| * Use Project `:repository` trait where necessary in task specsRobert Speicher2017-03-271-3/+3
| |
* | Allow backup tests to run locallyauthor Jacob Vosmaer jacob@gitlab.com 1490710538 +02002017-03-291-3/+7
| |
* | Expand relative paths in storagesJacob Vosmaer2017-03-291-2/+2
|/
* Remove unnecessary before blockJacob Vosmaer2017-03-212-6/+0
|
* Rake task that can install gitaly at a tag versionJacob Vosmaer2017-03-211-0/+81
|
* Add a rake task to reset all email and private tokensJames Lopez2017-03-211-0/+21
|
* Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern2017-03-071-2/+2
|\ | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597
| * Update storage settings to allow extra values per shard28447-hybrid-repository-storagesAlejandro Rodríguez2017-03-031-2/+2
| | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility
* | Merge branch 'add-git-version-to-system-info' into 'master' Rémy Coutable2017-03-071-0/+37
|\ \ | | | | | | | | | | | | | | | | | | Add git version to gitlab:env:info Closes #25376 See merge request !9128
| * | Add git version to gitlab:env:infoSemyon Pupkov2017-02-281-0/+37
| |/ | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/25376
* | Remove remnants of git annexPawel Chojnacki2017-03-031-20/+1
|/
* CI runs lint on shell scripts in lib/supportjej-lint-scripts-and-configJames Edwards-Jones2017-02-071-0/+27
|
* Merge branch 'master' into jej-pages-picked-from-eeJames Edwards-Jones2017-02-031-1/+1
|\
| * Active tense test coveragejej-backport-active-tense-specsValery Sizov2017-02-011-1/+1
| | | | | | | | Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/642 back into CE
* | Add GitLab PagesKamil Trzcinski2017-01-311-5/+9
|/ | | | | | | | | | | | | | | | - The pages are created when build artifacts for `pages` job are uploaded - Pages serve the content under: http://group.pages.domain.com/project - Pages can be used to serve the group page, special project named as host: group.pages.domain.com - User can provide own 403 and 404 error pages by creating 403.html and 404.html in group page project - Pages can be explicitly removed from the project by clicking Remove Pages in Project Settings - The size of pages is limited by Application Setting: max pages size, which limits the maximum size of unpacked archive (default: 100MB) - The public/ is extracted from artifacts and content is served as static pages - Pages asynchronous worker use `dd` to limit the unpacked tar size - Pages needs to be explicitly enabled and domain needs to be specified in gitlab.yml - Pages are part of backups - Pages notify the deployment status using Commit Status API - Pages use a new sidekiq queue: pages - Pages use a separate nginx config which needs to be explicitly added
* Restore backup correctly when "BACKUP" environment variable is passedrestore-backup-when-env-variable-is-passedAdam Niedzielski2017-01-091-1/+1
|
* Add LDAP task to rename a providerDrew Blessing2016-12-161-0/+13
| | | | | | | | Sometimes admins will change the LDAP configuration, not realizing that problems will occur if the user's LDAP identities are not also updated to use the new provider name. This task will give admins a single command to run to update identities and will prevent having to run multiple Rails console queries.
* Don't allow to specify a repo or version when installing Workhorseremove-gitlab-workhorse-version-option-from-install-taskRémy Coutable2016-12-011-26/+0
| | | | | | The task will use the canonical repo and the required version. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '23718/backup-rake-task-human-readable' into 'master' Douwe Maan2016-12-011-0/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23718/backup rake task human readable ## What does this MR do? Add the human readable format to the backup tar file. From `1477317140_gitlab_backup.tar` to `1477317140_2016_10_24_gitlab_backup.tar`. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? #23718 issue ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? 23718 See merge request !7188
| * Add Human Readable Timestamp to backup tar fileDavid Gerő2016-11-301-0/+31
| |
* | Move task helpers to a module22719-provide-a-new-gitlab-workhorse-install-rake-task-similar-to-gitlab-shell-installRémy Coutable2016-11-305-56/+55
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add #run_command! to task helpers to raise a TaskFailedError if status is not 0Rémy Coutable2016-11-302-15/+15
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | New `gitlab:workhorse:install` rake taskRémy Coutable2016-11-302-0/+204
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Introduce better credential and error checking to `rake gitlab:ldap:check`Drew Blessing2016-11-081-0/+51
| | | | | | | It was previously possible for invalid credential errors to go unnoticed in this task. Users would believe everything was configured correctly and then sign in would fail with 'invalid credentials'. This adds a specific bind check, plus catches errors connecting to the server. Also, specs :)
* Add Rake task to create/repair GitLab Shell hooks symlinksDrew Blessing2016-11-011-0/+26
|
* Backups do not fail anymore when using tar on annex and custom_hookstiagonbotelho2016-10-271-1/+73
| | | | only.
* fixes build with cache:clear issuetiagonbotelho2016-10-241-0/+1
|