2020-03-13 15:44:24 +05:30
|
|
|
.run-dev-fixtures:
|
|
|
|
extends:
|
|
|
|
- .default-retry
|
2020-05-24 23:13:21 +05:30
|
|
|
- .rails-cache
|
2020-03-13 15:44:24 +05:30
|
|
|
- .default-before_script
|
2021-06-08 01:23:25 +05:30
|
|
|
- .use-pg12
|
2020-03-13 15:44:24 +05:30
|
|
|
stage: test
|
2020-05-24 23:13:21 +05:30
|
|
|
needs: ["setup-test-env"]
|
2020-03-13 15:44:24 +05:30
|
|
|
variables:
|
|
|
|
FIXTURE_PATH: "db/fixtures/development"
|
2021-02-22 17:27:13 +05:30
|
|
|
SEED_VSA: "true"
|
2020-03-13 15:44:24 +05:30
|
|
|
SEED_PRODUCTIVITY_ANALYTICS: "true"
|
2021-02-22 17:27:13 +05:30
|
|
|
VSA_ISSUE_COUNT: 1
|
2020-04-22 19:07:51 +05:30
|
|
|
SIZE: 0 # number of external projects to fork, requires network connection
|
2020-03-13 15:44:24 +05:30
|
|
|
# SEED_NESTED_GROUPS: "false" # requires network connection
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
.run-dev-fixtures-script: &run-dev-fixtures-script
|
|
|
|
- run_timed_command "scripts/gitaly-test-spawn"
|
|
|
|
- run_timed_command "RAILS_ENV=test bundle exec rake db:seed_fu"
|
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
run-dev-fixtures:
|
|
|
|
extends:
|
|
|
|
- .run-dev-fixtures
|
|
|
|
- .dev-fixtures:rules:ee-and-foss
|
|
|
|
script:
|
2021-01-03 14:25:43 +05:30
|
|
|
- *run-dev-fixtures-script
|
2020-03-13 15:44:24 +05:30
|
|
|
|
|
|
|
run-dev-fixtures-ee:
|
|
|
|
extends:
|
|
|
|
- .run-dev-fixtures
|
|
|
|
- .dev-fixtures:rules:ee-only
|
2021-06-08 01:23:25 +05:30
|
|
|
- .use-pg12-ee
|
2020-03-13 15:44:24 +05:30
|
|
|
script:
|
|
|
|
- cp ee/db/fixtures/development/* $FIXTURE_PATH
|
2021-01-03 14:25:43 +05:30
|
|
|
- *run-dev-fixtures-script
|