35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
.run-dev-fixtures:
|
|
extends:
|
|
- .default-retry
|
|
- .rails-cache
|
|
- .default-before_script
|
|
- .use-pg13
|
|
stage: test
|
|
needs: ["setup-test-env"]
|
|
variables:
|
|
FIXTURE_PATH: "db/fixtures/development"
|
|
SEED_VSA: "true"
|
|
SEED_PRODUCTIVITY_ANALYTICS: "true"
|
|
VSA_ISSUE_COUNT: 1
|
|
SIZE: 0 # number of external projects to fork, requires network connection
|
|
# SEED_NESTED_GROUPS: "false" # requires network connection
|
|
|
|
.run-dev-fixtures-script: &run-dev-fixtures-script
|
|
- section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"; # Do not use 'bundle exec' here
|
|
- section_start "seeding-db" "Seeding DB"; bundle exec rake db:seed_fu; section_end "seeding-db";
|
|
|
|
run-dev-fixtures:
|
|
extends:
|
|
- .run-dev-fixtures
|
|
- .dev-fixtures:rules:ee-and-foss
|
|
script:
|
|
- *run-dev-fixtures-script
|
|
|
|
run-dev-fixtures-ee:
|
|
extends:
|
|
- .run-dev-fixtures
|
|
- .dev-fixtures:rules:ee-only
|
|
- .use-pg13-es7-ee
|
|
script:
|
|
- cp ee/db/fixtures/development/* $FIXTURE_PATH
|
|
- *run-dev-fixtures-script
|