debian-mirror-gitlab/.gitlab/ci/dev-fixtures.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.1 KiB
YAML
Raw Normal View History

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
2023-06-20 00:43:36 +05:30
- .use-pg13
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
2023-07-09 08:55:56 +05:30
- 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";
2021-01-03 14:25:43 +05:30
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
2023-06-20 00:43:36 +05:30
- .use-pg13-es7-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