Z.J. van de Weg
b2df118561
Random selection now also works for MySQL
2016-06-15 12:10:41 +02:00
Z.J. van de Weg
7dc08033b9
Near half of the Issues get Award Emoji when seeding
2016-06-15 11:55:41 +02:00
Z.J. van de Weg
bd3324cca2
Skip system notes from receiving award emoji
2016-06-15 11:55:41 +02:00
Z.J. van de Weg
080cbcabd9
Seed Award Emoji while seeding the database
2016-06-15 11:55:41 +02:00
Kamil Trzcinski
6e64d1ac76
Merge remote-tracking branch 'origin/master' into rename-ci-commit-phase-2
2016-06-07 10:26:27 +02:00
Connor Shea
efb7da68e6
Fix missed colorize methods.
2016-06-06 15:32:36 -06:00
Kamil Trzcinski
08baa9983e
Use pipelines in context of Project
2016-06-03 13:34:03 +02:00
Stan Hu
b9672d4b38
Limit the number of merge requests per project to avoid long seeds
...
This step was taking a long time because seed_fu creates N / 2 merge requests
for each repo, where N is the number of branches for that repo. At the time of
this writing, there are 234 branches on the gitlab-ce repo, leading to 117
merge requests.
2016-05-04 09:22:01 -07:00
Kamil Trzcinski
af7214d0f0
Fix specs
2016-04-11 23:32:55 +02:00
Stan Hu
8536dedbb1
Fix seed_fu failure with inserting milestones into test DB
...
Milestones were not being saved due to "invalid state" validation errors
2016-04-10 06:39:42 -07:00
Robert Speicher
599a6d7873
Allow the initial admin to set a password
...
Closes #1980
2016-03-04 17:37:57 -05:00
Grzegorz Bizon
eb7721e183
Add second build for each commit in build seeds
2016-02-11 10:29:14 +01:00
3kami3 and Rémy Coutable
cdcedd5b26
Add an option to supply root email through an environmental variable.
2016-02-08 18:26:29 +01:00
Grzegorz Bizon
ad5302ba15
Seed db on development with artifacts metadata fixture
2016-01-14 12:48:14 +01:00
Grzegorz Bizon
87df1df3cd
Seed db with CI build artifacts using a zip archive
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
ebd69c5fc1
Remove artifacts metadata column from database
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
a385d39ff1
Improve CI builds seeder
2016-01-14 12:48:12 +01:00
Grzegorz Bizon
7027bf40c6
Add database seed for build artifacts
2016-01-14 12:48:12 +01:00
Grzegorz Bizon
5f67bf74f4
Improve CI builds fixtures
2016-01-14 12:48:12 +01:00
Grzegorz Bizon
ff2d1dd2e8
Add initial fixtures for CI builds
2016-01-14 12:48:12 +01:00
Zeger-Jan van de Weg
b5762104ab
Minor refactoring in seeding
2015-10-16 11:30:26 +02:00
Stan Hu
9ccd8e2617
Verify repository is valid
2015-10-06 11:21:45 -07:00
Stan Hu
01fe901e47
Fixes GDK issue where repos would not be imported properly
...
Seed-Fu runs this entire fixture in a transaction, so the `after_commit`
hook won't run until after the fixture is loaded. That is too late
since the Sidekiq::Testing block has already exited. Force clearing
the `after_commit` queue to ensure the job is run now.
See: gitlab-org/gitlab-development-kit#58
2015-10-05 09:59:02 -07:00
Robert Speicher
69723d2002
Devise 3.5.x deprecates confirm! in favor of confirm
2015-09-19 21:15:13 -04:00
Dmitriy Zaporozhets
881fbe5070
Add more seed projects. Control amount with SIZE env variable
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-17 13:59:40 +02:00
Sytse Sijbrandij
b3ab0e4efb
Revert "Change default admin password from "5iveL!fe" to "password""
...
This reverts commit 8a01a12228 .
2015-07-14 17:59:36 +02:00
Robert Speicher
8a01a12228
Change default admin password from "5iveL!fe" to "password"
2015-06-24 18:42:34 -04:00
Robert Speicher
5f20574db5
Fix a few remaining references to the old Theme names/IDs
2015-06-13 17:58:17 -04:00
Robert Speicher
9789b56a31
Update ffaker gem
...
Adds a version requirement which it didn't have before, at 2.0.0. This
version has breaking API changes in that the namespace is now `FFaker`
instead of `Faker`.
2015-05-20 19:22:00 -04:00
Dmitriy Zaporozhets
27e3b47b7f
Fix user fixtures for development
2015-03-08 17:35:49 -07:00
Dmitriy Zaporozhets
2c893cb380
Fix dev fixture for admin
2015-02-17 00:23:09 -08:00
Ciro Santilli
faab452af9
Remove unneeded password_confirmation from seed.
2014-12-28 14:42:15 +01:00
Dmitriy Zaporozhets
223e509f70
Merge pull request #7894 from cirosantilli/fix-dev-user-seed
...
Fix dev user seed: ID was used twice.
2014-12-20 20:18:15 +02:00
Dmitriy Zaporozhets
f56541de9a
Revert "Create dev fixture projects with fixed visibility"
...
This reverts commit a9fadce361 .
2014-11-10 16:17:04 +02:00
Marin Jankovski
1d337defec
Merge pull request #8168 from cirosantilli/dev-fixtures-visibility
...
Create dev fixture projects with fixed visibility
2014-11-07 15:26:48 +01:00
Don Luchini
019c0f9e0f
Remove unnecessary lines.
2014-11-05 08:57:05 -05:00
Don Luchini
bc403356bb
Do not require immediate password reset if specifying one when seeding database.
2014-11-04 10:02:38 -05:00
Ciro Santilli
a9fadce361
Create dev fixture projects with fixed visibility
2014-10-26 11:34:50 +01:00
Dmitriy Zaporozhets
32d0bf3afd
Fix snippets seeds
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-16 16:50:09 +03:00
Marin Jankovski
bbc52b0000
Use double quotes because we are inserting password now.
2014-10-07 11:48:25 +02:00
Ciro Santilli
083f1e2f13
Fix dev user seed: multiple ID was used twice.
2014-09-30 23:23:18 +02:00
Ciro Santilli
789b427592
Fix dev merge seed: update testme to gitlab-test.
2014-09-30 17:34:46 +02:00
Dmitriy Zaporozhets
efcac2befc
Merge pull request #7873 from cirosantilli/testme-to-gitlabtest
...
Replace testme with gitlab-test.
2014-09-29 19:49:59 +03:00
Dmitriy Zaporozhets
0a1176d62d
Merge pull request #7897 from cirosantilli/predictable-merge-requests-dev-seed
...
Add predictable merge requests on dev seed.
2014-09-29 17:46:08 +03:00
Ciro Santilli
1ba26184eb
Add predictable merge requests on dev seed.
2014-09-29 13:55:31 +02:00
Ciro Santilli
a963e8c293
Prevent email sending on admin dev seed.
2014-09-29 13:38:54 +02:00
Ciro Santilli
ac55373ff3
Replace empty? || nil? with blank?.
2014-09-27 11:15:08 +02:00
Ciro Santilli
b49dd2c573
Replace testme with gitlab-test.
2014-09-27 10:11:20 +02:00
Dmitriy Zaporozhets
e4bc359841
Fix dev fixtures
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-18 20:19:11 +03:00
Marin Jankovski
09e64ae605
Add an option to supply root password through an environmental variable.
2014-09-11 10:06:56 +02:00