2019-12-20 04:24:38 -05:00
|
|
|
.run-dev-fixtures:
|
|
|
|
extends:
|
2020-02-07 13:09:03 -05:00
|
|
|
- .default-retry
|
2020-05-19 05:08:12 -04:00
|
|
|
- .rails-cache
|
2020-02-07 13:09:03 -05:00
|
|
|
- .default-before_script
|
2020-05-13 20:07:47 -04:00
|
|
|
- .use-pg11
|
2019-12-20 04:24:38 -05:00
|
|
|
stage: test
|
2020-05-13 20:07:47 -04:00
|
|
|
needs: ["setup-test-env"]
|
2019-12-20 04:24:38 -05:00
|
|
|
variables:
|
|
|
|
FIXTURE_PATH: "db/fixtures/development"
|
2020-11-27 19:09:43 -05:00
|
|
|
SEED_VSA: "true"
|
2019-12-20 04:24:38 -05:00
|
|
|
SEED_PRODUCTIVITY_ANALYTICS: "true"
|
2020-11-27 19:09:43 -05:00
|
|
|
VSA_ISSUE_COUNT: 1
|
2020-03-19 20:09:29 -04:00
|
|
|
SIZE: 0 # number of external projects to fork, requires network connection
|
2019-12-20 04:24:38 -05:00
|
|
|
# SEED_NESTED_GROUPS: "false" # requires network connection
|
|
|
|
|
2020-10-08 14:08:32 -04:00
|
|
|
.run-dev-fixtures-script: &run-dev-fixtures-script
|
|
|
|
- run_timed_command "scripts/gitaly-test-build"
|
|
|
|
- run_timed_command "scripts/gitaly-test-spawn"
|
|
|
|
- run_timed_command "RAILS_ENV=test bundle exec rake db:seed_fu"
|
|
|
|
|
2020-02-07 13:09:03 -05:00
|
|
|
run-dev-fixtures:
|
|
|
|
extends:
|
|
|
|
- .run-dev-fixtures
|
|
|
|
- .dev-fixtures:rules:ee-and-foss
|
2019-12-20 04:24:38 -05:00
|
|
|
script:
|
2020-10-08 14:08:32 -04:00
|
|
|
- *run-dev-fixtures-script
|
2019-12-20 04:24:38 -05:00
|
|
|
|
|
|
|
run-dev-fixtures-ee:
|
|
|
|
extends:
|
|
|
|
- .run-dev-fixtures
|
2020-02-07 13:09:03 -05:00
|
|
|
- .dev-fixtures:rules:ee-only
|
2020-05-13 20:07:47 -04:00
|
|
|
- .use-pg11-ee
|
2019-12-20 04:24:38 -05:00
|
|
|
script:
|
|
|
|
- cp ee/db/fixtures/development/* $FIXTURE_PATH
|
2020-10-08 14:08:32 -04:00
|
|
|
- *run-dev-fixtures-script
|